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 /*-----------------------------------------------
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, even if
497 // they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
582 enum wxHotkeyModifier
590 #define wxEVT_HOTKEY 9999
593 static const wxString
wxPyEmptyString(wxEmptyString
);
594 wxString
wxObject_GetClassName(wxObject
*self
){
595 return self
->GetClassInfo()->GetClassName();
597 void wxObject_Destroy(wxObject
*self
){
602 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
609 SWIGSTATICINLINE(long)
610 SWIG_CheckLongInRange(long value
, const char* type
,
611 long min_value
, long max_value
)
613 if (!PyErr_Occurred()) {
614 if (value
< min_value
) {
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value
, type
, min_value
);
619 PyErr_SetObject(PyExc_OverflowError
, err
);
621 } else if (value
> max_value
) {
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value
, type
, max_value
);
625 PyErr_SetObject(PyExc_OverflowError
, err
);
633 SWIGSTATICINLINE(long)
634 SWIG_AsLong(PyObject
* obj
)
636 if (PyNumber_Check(obj
))
637 return PyInt_AsLong(obj
);
639 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
640 obj
->ob_type
->tp_name
);
641 PyErr_SetObject(PyExc_TypeError
, errmsg
);
648 #if INT_MAX != LONG_MAX
649 SWIGSTATICINLINE(int)
650 SWIG_AsInt(PyObject
*obj
)
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
654 "int", INT_MIN
, INT_MAX
));
657 #define SWIG_AsInt SWIG_AsLong
661 SWIGSTATICINLINE(int)
662 SWIG_CheckInt(PyObject
* obj
)
665 if (PyErr_Occurred()) {
673 PyObject
*wxSize_Get(wxSize
*self
){
674 bool blocked
= wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
677 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
678 wxPyEndBlockThreads(blocked
);
682 SWIGSTATICINLINE(double)
683 SWIG_AsDouble(PyObject
*obj
)
685 if (PyNumber_Check(obj
))
686 return PyFloat_AsDouble(obj
);
688 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
689 obj
->ob_type
->tp_name
);
690 PyErr_SetObject(PyExc_TypeError
, errmsg
);
697 SWIGSTATICINLINE(int)
698 SWIG_CheckDouble(PyObject
* obj
)
701 if (PyErr_Occurred()) {
709 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
713 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
714 bool blocked
= wxPyBeginBlockThreads();
715 PyObject
* tup
= PyTuple_New(2);
716 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
717 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
718 wxPyEndBlockThreads(blocked
);
722 SWIGSTATICINLINE(int)
723 SWIG_CheckLong(PyObject
* obj
)
726 if (PyErr_Occurred()) {
734 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
738 PyObject
*wxPoint_Get(wxPoint
*self
){
739 bool blocked
= wxPyBeginBlockThreads();
740 PyObject
* tup
= PyTuple_New(2);
741 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
742 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
743 wxPyEndBlockThreads(blocked
);
746 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
750 self
->height
= height
;
752 PyObject
*wxRect_Get(wxRect
*self
){
753 bool blocked
= wxPyBeginBlockThreads();
754 PyObject
* tup
= PyTuple_New(4);
755 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
756 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
757 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
758 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
759 wxPyEndBlockThreads(blocked
);
763 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
766 wxRect
dest(0,0,0,0);
769 reg1
.Intersect(reg2
);
770 dest
= reg1
.GetBox();
772 if (dest
!= wxRect(0,0,0,0)) {
773 bool blocked
= wxPyBeginBlockThreads();
774 wxRect
* newRect
= new wxRect(dest
);
775 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
776 wxPyEndBlockThreads(blocked
);
784 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
790 } else if (target
== Py_None
) {
794 if (!PyTuple_Check(target
)) {
796 target
= PyTuple_New(1);
797 PyTuple_SetItem(target
, 0, o2
);
800 PyTuple_SetItem(o3
, 0, o
);
803 target
= PySequence_Concat(o2
, o3
);
810 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
814 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
818 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
819 wxPyEndBlockThreads(blocked
);
823 #include "wx/wxPython/pyistream.h"
825 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
826 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
828 return new wxPyInputStream(wxis
);
833 SWIGSTATICINLINE(PyObject
*)
834 SWIG_FromChar(char c
)
836 return PyString_FromStringAndSize(&c
,1);
840 SWIGSTATICINLINE(PyObject
* )
841 SWIG_FromUnsignedLong(unsigned long value
)
843 return (value
> LONG_MAX
) ?
844 PyLong_FromUnsignedLong(value
)
845 : PyInt_FromLong(swig_numeric_cast(long,value
));
849 /* returns '1' if the input is a raw char*, '0' if is a PyString */
851 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
853 static swig_type_info
* pchar_info
= 0;
855 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
857 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
859 PyString_AsStringAndSize(obj
, cptr
, &psize
);
860 if (PyErr_Occurred()) {
862 PyErr_SetString(PyExc_TypeError
,"a string is expected");
864 if (size
) *size
= psize
;
867 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
874 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
876 char* cptr
; size_t csize
;
877 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
878 if (PyErr_Occurred()) {
881 PyString_FromFormat("a char array of size %d is expected", size
);
882 PyErr_SetObject(PyExc_TypeError
, err
);
885 /* in C (but not in C++) you can do:
889 ie, assing the array using an extra '0' char.
892 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
896 PyString_FromFormat("a char array of maximum size %d is expected",
898 PyErr_SetObject(PyExc_TypeError
, err
);
901 if (csize
) memcpy(carray
, cptr
, csize
);
902 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
908 SWIGSTATICINLINE(char)
909 SWIG_AsChar(PyObject
*obj
)
912 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
913 c
= swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
915 "char", CHAR_MIN
, CHAR_MAX
));
917 SWIG_AsCharArray(obj
, &c
, 1);
918 if (PyErr_Occurred()) {
920 PyErr_SetString(PyExc_TypeError
, "a char is expected");
927 SWIGSTATICINLINE(int)
928 SWIG_CheckChar(PyObject
* obj
)
931 if (PyErr_Occurred()) {
939 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
940 // We use only strings for the streams, not unicode
941 PyObject
* str
= PyObject_Str(obj
);
943 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
946 self
->Write(PyString_AS_STRING(str
),
947 PyString_GET_SIZE(str
));
951 #include "wx/wxPython/pyistream.h"
954 class wxPyFileSystemHandler
: public wxFileSystemHandler
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
962 DEC_PYCALLBACK_STRING__pure(FindNext
);
964 wxString
GetProtocol(const wxString
& location
) {
965 return wxFileSystemHandler::GetProtocol(location
);
968 wxString
GetLeftLocation(const wxString
& location
) {
969 return wxFileSystemHandler::GetLeftLocation(location
);
972 wxString
GetAnchor(const wxString
& location
) {
973 return wxFileSystemHandler::GetAnchor(location
);
976 wxString
GetRightLocation(const wxString
& location
) {
977 return wxFileSystemHandler::GetRightLocation(location
);
980 wxString
GetMimeTypeFromExt(const wxString
& location
) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
988 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
989 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
990 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
991 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
994 SWIGSTATICINLINE(bool)
995 SWIG_AsBool(PyObject
*obj
)
997 return PyObject_IsTrue(obj
) ? true : false;
1001 SWIGSTATICINLINE(int)
1002 SWIG_CheckBool(PyObject
* obj
)
1005 if (PyErr_Occurred()) {
1014 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1015 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1016 return fname
.GetFullPath();
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1023 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1027 const wxBitmap
& bitmap
,
1029 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1034 wxMemoryFSHandler::AddFile(filename
,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data
),
1037 (size_t)PyString_Size(data
));
1041 #include "wx/wxPython/pyistream.h"
1044 SWIGSTATICINLINE(unsigned long)
1045 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1046 unsigned long max_value
)
1048 if (!PyErr_Occurred()) {
1049 if (value
> max_value
) {
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value
, type
, max_value
);
1053 PyErr_SetObject(PyExc_OverflowError
, err
);
1061 SWIGSTATICINLINE(unsigned long)
1062 SWIG_AsUnsignedLong(PyObject
* obj
)
1064 if (PyLong_Check(obj
)) {
1065 return PyLong_AsUnsignedLong(obj
);
1067 long i
= SWIG_AsLong(obj
);
1068 if ( !PyErr_Occurred() && (i
< 0)) {
1069 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1076 SWIGSTATICINLINE(unsigned char)
1077 SWIG_AsUnsignedChar(PyObject
*obj
)
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1081 "unsigned char", UCHAR_MAX
));
1085 SWIGSTATICINLINE(int)
1086 SWIG_CheckUnsignedChar(PyObject
* obj
)
1088 SWIG_AsUnsignedChar(obj
);
1089 if (PyErr_Occurred()) {
1097 wxImage
*new_wxImage__SWIG_0(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage__SWIG_1(wxSize
const &size
,bool clear
){
1104 return new wxImage(size
.x
, size
.y
, clear
);
1106 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1107 return new wxImage(bitmap
.ConvertToImage());
1109 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1110 // Copy the source data so the wxImage can clean it up later
1111 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1116 memcpy(copy
, data
, width
*height
*3);
1117 return new wxImage(width
, height
, copy
, False
);
1119 wxSize
wxImage_GetSize(wxImage
*self
){
1120 wxSize
size(self
->GetWidth(), self
->GetHeight());
1123 PyObject
*wxImage_GetData(wxImage
*self
){
1124 unsigned char* data
= self
->GetData();
1125 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1127 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1130 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1131 unsigned char* dataPtr
;
1133 if (! PyString_Check(data
)) {
1134 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1138 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1139 dataPtr
= (unsigned char*) malloc(len
);
1140 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1141 self
->SetData(dataPtr
);
1142 // wxImage takes ownership of dataPtr...
1144 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1145 unsigned char* data
= self
->GetData();
1146 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1148 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1151 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1152 unsigned char* buffer
;
1155 bool blocked
= wxPyBeginBlockThreads();
1156 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1159 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1160 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1163 self
->SetData(buffer
);
1165 wxPyEndBlockThreads(blocked
);
1167 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1168 unsigned char* data
= self
->GetAlpha();
1172 int len
= self
->GetWidth() * self
->GetHeight();
1174 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1178 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1179 unsigned char* dataPtr
;
1181 if (! PyString_Check(data
)) {
1182 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1186 size_t len
= self
->GetWidth() * self
->GetHeight();
1187 dataPtr
= (unsigned char*) malloc(len
);
1188 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1189 self
->SetAlpha(dataPtr
);
1190 // wxImage takes ownership of dataPtr...
1192 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1193 unsigned char* data
= self
->GetAlpha();
1194 int len
= self
->GetWidth() * self
->GetHeight();
1196 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1199 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1200 unsigned char* buffer
;
1203 bool blocked
= wxPyBeginBlockThreads();
1204 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1207 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1208 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1211 self
->SetAlpha(buffer
);
1213 wxPyEndBlockThreads(blocked
);
1216 SWIGSTATICINLINE(int)
1217 SWIG_CheckUnsignedLong(PyObject
* obj
)
1219 SWIG_AsUnsignedLong(obj
);
1220 if (PyErr_Occurred()) {
1228 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1229 wxBitmap
bitmap(*self
);
1232 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1233 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1234 wxBitmap
bitmap( mono
, 1 );
1237 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1239 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1241 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1242 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1243 if (PyCallable_Check(func
)) {
1244 self
->Connect(id
, lastId
, eventType
,
1245 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1246 new wxPyCallback(func
));
1248 else if (func
== Py_None
) {
1249 self
->Disconnect(id
, lastId
, eventType
,
1250 (wxObjectEventFunction
)
1251 &wxPyCallback::EventThunker
);
1254 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1257 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1258 return self
->Disconnect(id
, lastId
, eventType
,
1259 (wxObjectEventFunction
)
1260 &wxPyCallback::EventThunker
);
1262 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1263 if (_self
&& _self
!= Py_None
) {
1264 self
->SetClientObject(new wxPyOORClientData(_self
));
1267 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1269 self
->SetClientObject(NULL
); // This will delete it too
1273 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1275 return self
->m_uniChar
;
1281 #if UINT_MAX < LONG_MAX
1282 #define SWIG_FromUnsignedInt SWIG_FromLong
1284 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1288 #if UINT_MAX != ULONG_MAX
1289 SWIGSTATICINLINE(unsigned int)
1290 SWIG_AsUnsignedInt(PyObject
*obj
)
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1294 "unsigned int", UINT_MAX
));
1297 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1301 SWIGSTATICINLINE(int)
1302 SWIG_CheckUnsignedInt(PyObject
* obj
)
1304 SWIG_AsUnsignedInt(obj
);
1305 if (PyErr_Occurred()) {
1313 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1314 self
->m_size
= size
;
1316 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1319 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1320 int count
= self
->GetNumberOfFiles();
1321 wxString
* files
= self
->GetFiles();
1322 PyObject
* list
= PyList_New(count
);
1325 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1329 for (int i
=0; i
<count
; i
++) {
1330 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1336 wxPyApp
*new_wxPyApp(){
1337 wxPythonApp
= new wxPyApp();
1341 void wxApp_CleanUp() {
1346 wxPyApp
* wxGetApp() {
1347 return (wxPyApp
*)wxTheApp
;
1352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1353 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1354 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1355 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1356 wxWindowList
& list
= self
->GetChildren();
1357 return wxPy_ConvertList(&list
);
1359 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1361 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1366 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1373 long wxWindow_GetHandle(wxWindow
*self
){
1374 return wxPyGetWinHandle(self
);
1377 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1378 return wxWindow::FindWindowById(id
, parent
);
1381 wxWindow
* wxFindWindowByName( const wxString
& name
,
1382 const wxWindow
*parent
= NULL
) {
1383 return wxWindow::FindWindowByName(name
, parent
);
1386 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1387 const wxWindow
*parent
= NULL
) {
1388 return wxWindow::FindWindowByLabel(label
, parent
);
1393 #include <wx/msw/private.h> // to get wxGetWindowId
1397 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1399 WXHWND hWnd
= (WXHWND
)_hWnd
;
1400 long id
= wxGetWindowId(hWnd
);
1401 wxWindow
* win
= new wxWindow
;
1402 parent
->AddChild(win
);
1403 win
->SetEventHandler(win
);
1406 win
->SubclassWin(hWnd
);
1407 win
->AdoptAttributesFromHWND();
1408 win
->SetupColours();
1411 wxPyRaiseNotImplemented();
1417 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1418 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1419 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1421 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1423 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1424 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1425 wxMenuItemList
& list
= self
->GetMenuItems();
1426 return wxPy_ConvertList(&list
);
1428 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1429 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Append(item
, data
);
1434 return self
->Append(item
);
1436 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 return self
->Insert(item
, pos
, data
);
1441 return self
->Insert(item
, pos
);
1443 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1444 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1446 Py_INCREF(data
->m_obj
);
1453 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1454 wxPyClientData
* data
= new wxPyClientData(clientData
);
1455 self
->SetClientObject(n
, data
);
1463 SWIG_FloatCast(double value
)
1466 if (!PyErr_Occurred()) {
1467 if (value
< FLT_MIN
) {
1469 PyString_FromFormat("value %g is less than float minimum %g",
1471 PyErr_SetObject(PyExc_OverflowError
, err
);
1473 } else if (value
> FLT_MAX
) {
1475 PyString_FromFormat("value %g is greater than float maximum %g",
1477 PyErr_SetObject(PyExc_OverflowError
, err
);
1480 f
= swig_numeric_cast(float, value
);
1487 SWIGSTATICINLINE(float)
1488 SWIG_AsFloat(PyObject
*obj
)
1490 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1494 SWIGSTATICINLINE(int)
1495 SWIG_CheckFloat(PyObject
* obj
)
1498 if (PyErr_Occurred()) {
1506 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1507 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1509 Py_INCREF(data
->m_obj
);
1517 // Figure out the type of the sizer item
1519 struct wxPySizerItemInfo
{
1521 : window(NULL
), sizer(NULL
), gotSize(False
),
1522 size(wxDefaultSize
), gotPos(False
), pos(-1)
1533 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1535 wxPySizerItemInfo info
;
1537 wxSize
* sizePtr
= &size
;
1539 // Find out what the type of the item is
1541 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1546 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1550 // try wxSize or (w,h)
1551 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1552 info
.size
= *sizePtr
;
1553 info
.gotSize
= True
;
1557 if (checkIdx
&& PyInt_Check(item
)) {
1558 info
.pos
= PyInt_AsLong(item
);
1564 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1565 // no expected type, figure out what kind of error message to generate
1566 if ( !checkSize
&& !checkIdx
)
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1568 else if ( checkSize
&& !checkIdx
)
1569 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1570 else if ( !checkSize
&& checkIdx
)
1571 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1573 // can this one happen?
1574 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1580 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1581 self
->SetClientObject(new wxPyOORClientData(_self
));
1583 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1585 wxPyUserData
* data
= NULL
;
1586 bool blocked
= wxPyBeginBlockThreads();
1587 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1588 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1589 data
= new wxPyUserData(userData
);
1590 wxPyEndBlockThreads(blocked
);
1592 // Now call the real Add method if a valid item type was found
1594 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1595 else if ( info
.sizer
)
1596 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1597 else if (info
.gotSize
)
1598 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1599 proportion
, flag
, border
, data
);
1601 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1603 wxPyUserData
* data
= NULL
;
1604 bool blocked
= wxPyBeginBlockThreads();
1605 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1606 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1607 data
= new wxPyUserData(userData
);
1608 wxPyEndBlockThreads(blocked
);
1610 // Now call the real Insert method if a valid item type was found
1612 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1613 else if ( info
.sizer
)
1614 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1615 else if (info
.gotSize
)
1616 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1617 proportion
, flag
, border
, data
);
1619 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1621 wxPyUserData
* data
= NULL
;
1622 bool blocked
= wxPyBeginBlockThreads();
1623 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1624 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1625 data
= new wxPyUserData(userData
);
1626 wxPyEndBlockThreads(blocked
);
1628 // Now call the real Prepend method if a valid item type was found
1630 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1631 else if ( info
.sizer
)
1632 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1633 else if (info
.gotSize
)
1634 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1635 proportion
, flag
, border
, data
);
1637 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1638 bool blocked
= wxPyBeginBlockThreads();
1639 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1640 wxPyEndBlockThreads(blocked
);
1642 return self
->Remove(info
.window
);
1643 else if ( info
.sizer
)
1644 return self
->Remove(info
.sizer
);
1645 else if ( info
.gotPos
)
1646 return self
->Remove(info
.pos
);
1650 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1651 bool blocked
= wxPyBeginBlockThreads();
1652 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1653 wxPyEndBlockThreads(blocked
);
1655 self
->SetItemMinSize(info
.window
, size
);
1656 else if ( info
.sizer
)
1657 self
->SetItemMinSize(info
.sizer
, size
);
1658 else if ( info
.gotPos
)
1659 self
->SetItemMinSize(info
.pos
, size
);
1661 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1662 wxSizerItemList
& list
= self
->GetChildren();
1663 return wxPy_ConvertList(&list
);
1665 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1666 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1668 self
->Show(info
.window
, show
);
1669 else if ( info
.sizer
)
1670 self
->Show(info
.sizer
, show
);
1672 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1673 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1675 self
->Hide(info
.window
);
1676 else if ( info
.sizer
)
1677 self
->Hide(info
.sizer
);
1679 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1680 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1682 return self
->IsShown(info
.window
);
1683 else if ( info
.sizer
)
1684 return self
->IsShown(info
.sizer
);
1690 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1691 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1692 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1697 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1699 if (source
== Py_None
) {
1700 **obj
= wxGBPosition(-1,-1);
1703 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1706 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1708 if (source
== Py_None
) {
1709 **obj
= wxGBSpan(-1,-1);
1712 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1716 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1720 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1721 bool blocked
= wxPyBeginBlockThreads();
1722 PyObject
* tup
= PyTuple_New(2);
1723 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1724 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1725 wxPyEndBlockThreads(blocked
);
1728 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1729 self
->SetRowspan(rowspan
);
1730 self
->SetColspan(colspan
);
1732 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1733 bool blocked
= wxPyBeginBlockThreads();
1734 PyObject
* tup
= PyTuple_New(2);
1735 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1736 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1737 wxPyEndBlockThreads(blocked
);
1740 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1742 wxPyUserData
* data
= NULL
;
1743 bool blocked
= wxPyBeginBlockThreads();
1744 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1745 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1746 data
= new wxPyUserData(userData
);
1747 wxPyEndBlockThreads(blocked
);
1749 // Now call the real Add method if a valid item type was found
1751 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1752 else if ( info
.sizer
)
1753 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1754 else if (info
.gotSize
)
1755 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1756 pos
, span
, flag
, border
, data
);
1764 static int _wrap_EmptyString_set(PyObject
*_val
) {
1765 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1770 static PyObject
*_wrap_EmptyString_get() {
1775 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1777 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1784 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxObject
*arg1
= (wxObject
*) 0 ;
1788 PyObject
* obj0
= 0 ;
1790 (char *) "self", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 result
= wxObject_GetClassName(arg1
);
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1816 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxObject
*arg1
= (wxObject
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1821 (char *) "self", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 wxObject_Destroy(arg1
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1834 Py_INCREF(Py_None
); resultobj
= Py_None
;
1841 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1844 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1846 return Py_BuildValue((char *)"");
1848 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxSize
*arg1
= (wxSize
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1853 PyObject
* obj1
= 0 ;
1855 (char *) "self",(char *) "x", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1861 arg2
= (int) SWIG_AsInt(obj1
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1863 if (arg1
) (arg1
)->x
= arg2
;
1865 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxSize
*arg1
= (wxSize
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "self", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1884 result
= (int) ((arg1
)->x
);
1886 resultobj
= SWIG_FromInt((int)result
);
1893 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxSize
*arg1
= (wxSize
*) 0 ;
1897 PyObject
* obj0
= 0 ;
1898 PyObject
* obj1
= 0 ;
1900 (char *) "self",(char *) "y", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1906 arg2
= (int) SWIG_AsInt(obj1
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1908 if (arg1
) (arg1
)->y
= arg2
;
1910 Py_INCREF(Py_None
); resultobj
= Py_None
;
1917 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
*resultobj
;
1919 wxSize
*arg1
= (wxSize
*) 0 ;
1921 PyObject
* obj0
= 0 ;
1923 (char *) "self", NULL
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1929 result
= (int) ((arg1
)->y
);
1931 resultobj
= SWIG_FromInt((int)result
);
1938 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 int arg1
= (int) 0 ;
1941 int arg2
= (int) 0 ;
1943 PyObject
* obj0
= 0 ;
1944 PyObject
* obj1
= 0 ;
1946 (char *) "w",(char *) "h", NULL
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1951 arg1
= (int) SWIG_AsInt(obj0
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1955 arg2
= (int) SWIG_AsInt(obj1
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1972 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxSize
*arg1
= (wxSize
*) 0 ;
1975 PyObject
* obj0
= 0 ;
1977 (char *) "self", NULL
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 Py_INCREF(Py_None
); resultobj
= Py_None
;
1997 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
1999 wxSize
*arg1
= (wxSize
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2004 PyObject
* obj1
= 0 ;
2006 (char *) "self",(char *) "sz", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2032 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxSize
*arg1
= (wxSize
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "sz", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2049 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2067 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxSize
*arg1
= (wxSize
*) 0 ;
2073 PyObject
* obj0
= 0 ;
2074 PyObject
* obj1
= 0 ;
2076 (char *) "self",(char *) "sz", NULL
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2084 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) SWIG_fail
;
2095 resultptr
= new wxSize((wxSize
&) result
);
2096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2104 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxSize
*arg1
= (wxSize
*) 0 ;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj1
= 0 ;
2113 (char *) "self",(char *) "sz", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2132 resultptr
= new wxSize((wxSize
&) result
);
2133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2141 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxSize
*arg1
= (wxSize
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2149 (char *) "self",(char *) "sz", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 (arg1
)->IncTo((wxSize
const &)*arg2
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2166 Py_INCREF(Py_None
); resultobj
= Py_None
;
2173 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 wxSize
*arg1
= (wxSize
*) 0 ;
2178 PyObject
* obj0
= 0 ;
2179 PyObject
* obj1
= 0 ;
2181 (char *) "self",(char *) "sz", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 (arg1
)->DecTo((wxSize
const &)*arg2
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 wxSize
*arg1
= (wxSize
*) 0 ;
2210 PyObject
* obj0
= 0 ;
2211 PyObject
* obj1
= 0 ;
2212 PyObject
* obj2
= 0 ;
2214 (char *) "self",(char *) "w",(char *) "h", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2220 arg2
= (int) SWIG_AsInt(obj1
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2222 arg3
= (int) SWIG_AsInt(obj2
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 (arg1
)->Set(arg2
,arg3
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 Py_INCREF(Py_None
); resultobj
= Py_None
;
2238 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2240 wxSize
*arg1
= (wxSize
*) 0 ;
2242 PyObject
* obj0
= 0 ;
2243 PyObject
* obj1
= 0 ;
2245 (char *) "self",(char *) "w", NULL
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2251 arg2
= (int) SWIG_AsInt(obj1
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 (arg1
)->SetWidth(arg2
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) SWIG_fail
;
2260 Py_INCREF(Py_None
); resultobj
= Py_None
;
2267 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
*resultobj
;
2269 wxSize
*arg1
= (wxSize
*) 0 ;
2271 PyObject
* obj0
= 0 ;
2272 PyObject
* obj1
= 0 ;
2274 (char *) "self",(char *) "h", NULL
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2280 arg2
= (int) SWIG_AsInt(obj1
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 (arg1
)->SetHeight(arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 Py_INCREF(Py_None
); resultobj
= Py_None
;
2296 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 wxSize
*arg1
= (wxSize
*) 0 ;
2300 PyObject
* obj0
= 0 ;
2302 (char *) "self", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2315 resultobj
= SWIG_FromInt((int)result
);
2322 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
*resultobj
;
2324 wxSize
*arg1
= (wxSize
*) 0 ;
2326 PyObject
* obj0
= 0 ;
2328 (char *) "self", NULL
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 resultobj
= SWIG_FromInt((int)result
);
2348 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxSize
*arg1
= (wxSize
*) 0 ;
2352 PyObject
* obj0
= 0 ;
2354 (char *) "self", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2376 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2378 wxSize
*arg1
= (wxSize
*) 0 ;
2381 PyObject
* obj0
= 0 ;
2382 PyObject
* obj1
= 0 ;
2384 (char *) "self",(char *) "size", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 Py_INCREF(Py_None
); resultobj
= Py_None
;
2408 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxSize
*arg1
= (wxSize
*) 0 ;
2412 PyObject
* obj0
= 0 ;
2414 (char *) "self", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 result
= (PyObject
*)wxSize_Get(arg1
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2434 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2437 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2439 return Py_BuildValue((char *)"");
2441 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2443 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2446 PyObject
* obj1
= 0 ;
2448 (char *) "self",(char *) "x", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 arg2
= (double) SWIG_AsDouble(obj1
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2456 if (arg1
) (arg1
)->x
= arg2
;
2458 Py_INCREF(Py_None
); resultobj
= Py_None
;
2465 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
*resultobj
;
2467 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2469 PyObject
* obj0
= 0 ;
2471 (char *) "self", NULL
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2477 result
= (double) ((arg1
)->x
);
2479 resultobj
= SWIG_FromDouble((double)result
);
2486 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2491 PyObject
* obj1
= 0 ;
2493 (char *) "self",(char *) "y", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2499 arg2
= (double) SWIG_AsDouble(obj1
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2501 if (arg1
) (arg1
)->y
= arg2
;
2503 Py_INCREF(Py_None
); resultobj
= Py_None
;
2510 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2512 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2516 (char *) "self", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2522 result
= (double) ((arg1
)->y
);
2524 resultobj
= SWIG_FromDouble((double)result
);
2531 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 double arg1
= (double) 0.0 ;
2534 double arg2
= (double) 0.0 ;
2535 wxRealPoint
*result
;
2536 PyObject
* obj0
= 0 ;
2537 PyObject
* obj1
= 0 ;
2539 (char *) "x",(char *) "y", NULL
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2544 arg1
= (double) SWIG_AsDouble(obj0
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2548 arg2
= (double) SWIG_AsDouble(obj1
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2565 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2568 PyObject
* obj0
= 0 ;
2570 (char *) "self", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2590 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2593 wxRealPoint
*arg2
= 0 ;
2596 PyObject
* obj0
= 0 ;
2597 PyObject
* obj1
= 0 ;
2599 (char *) "self",(char *) "pt", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2625 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2628 wxRealPoint
*arg2
= 0 ;
2631 PyObject
* obj0
= 0 ;
2632 PyObject
* obj1
= 0 ;
2634 (char *) "self",(char *) "pt", NULL
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2660 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2663 wxRealPoint
*arg2
= 0 ;
2666 PyObject
* obj0
= 0 ;
2667 PyObject
* obj1
= 0 ;
2669 (char *) "self",(char *) "pt", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2677 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2687 wxRealPoint
* resultptr
;
2688 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2697 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2700 wxRealPoint
*arg2
= 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 (char *) "self",(char *) "pt", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2714 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2724 wxRealPoint
* resultptr
;
2725 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2734 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2741 PyObject
* obj2
= 0 ;
2743 (char *) "self",(char *) "x",(char *) "y", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2749 arg2
= (double) SWIG_AsDouble(obj1
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2751 arg3
= (double) SWIG_AsDouble(obj2
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxRealPoint_Set(arg1
,arg2
,arg3
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2771 PyObject
* obj0
= 0 ;
2773 (char *) "self", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2793 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2796 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2798 return Py_BuildValue((char *)"");
2800 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxPoint
*arg1
= (wxPoint
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2807 (char *) "self",(char *) "x", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 arg2
= (int) SWIG_AsInt(obj1
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2815 if (arg1
) (arg1
)->x
= arg2
;
2817 Py_INCREF(Py_None
); resultobj
= Py_None
;
2824 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxPoint
*arg1
= (wxPoint
*) 0 ;
2828 PyObject
* obj0
= 0 ;
2830 (char *) "self", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 result
= (int) ((arg1
)->x
);
2838 resultobj
= SWIG_FromInt((int)result
);
2845 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
;
2847 wxPoint
*arg1
= (wxPoint
*) 0 ;
2849 PyObject
* obj0
= 0 ;
2850 PyObject
* obj1
= 0 ;
2852 (char *) "self",(char *) "y", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2858 arg2
= (int) SWIG_AsInt(obj1
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2860 if (arg1
) (arg1
)->y
= arg2
;
2862 Py_INCREF(Py_None
); resultobj
= Py_None
;
2869 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxPoint
*arg1
= (wxPoint
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "self", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2881 result
= (int) ((arg1
)->y
);
2883 resultobj
= SWIG_FromInt((int)result
);
2890 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 int arg1
= (int) 0 ;
2893 int arg2
= (int) 0 ;
2895 PyObject
* obj0
= 0 ;
2896 PyObject
* obj1
= 0 ;
2898 (char *) "x",(char *) "y", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2903 arg1
= (int) SWIG_AsInt(obj0
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2907 arg2
= (int) SWIG_AsInt(obj1
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2924 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxPoint
*arg1
= (wxPoint
*) 0 ;
2927 PyObject
* obj0
= 0 ;
2929 (char *) "self", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 Py_INCREF(Py_None
); resultobj
= Py_None
;
2949 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxPoint
*arg1
= (wxPoint
*) 0 ;
2955 PyObject
* obj0
= 0 ;
2956 PyObject
* obj1
= 0 ;
2958 (char *) "self",(char *) "pt", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2984 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxPoint
*arg1
= (wxPoint
*) 0 ;
2990 PyObject
* obj0
= 0 ;
2991 PyObject
* obj1
= 0 ;
2993 (char *) "self",(char *) "pt", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3019 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxPoint
*arg1
= (wxPoint
*) 0 ;
3025 PyObject
* obj0
= 0 ;
3026 PyObject
* obj1
= 0 ;
3028 (char *) "self",(char *) "pt", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3046 wxPoint
* resultptr
;
3047 resultptr
= new wxPoint((wxPoint
&) result
);
3048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3056 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxPoint
*arg1
= (wxPoint
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "pt", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3083 wxPoint
* resultptr
;
3084 resultptr
= new wxPoint((wxPoint
&) result
);
3085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3093 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxPoint
*arg1
= (wxPoint
*) 0 ;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3102 (char *) "self",(char *) "pt", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3116 result
= (wxPoint
*) &_result_ref
;
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3129 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxPoint
*arg1
= (wxPoint
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "pt", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3152 result
= (wxPoint
*) &_result_ref
;
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3165 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxPoint
*arg1
= (wxPoint
*) 0 ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3172 PyObject
* obj2
= 0 ;
3174 (char *) "self",(char *) "x",(char *) "y", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3180 arg2
= (long) SWIG_AsLong(obj1
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3182 arg3
= (long) SWIG_AsLong(obj2
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxPoint_Set(arg1
,arg2
,arg3
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3191 Py_INCREF(Py_None
); resultobj
= Py_None
;
3198 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxPoint
*arg1
= (wxPoint
*) 0 ;
3202 PyObject
* obj0
= 0 ;
3204 (char *) "self", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= (PyObject
*)wxPoint_Get(arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3224 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3227 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3229 return Py_BuildValue((char *)"");
3231 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 int arg1
= (int) 0 ;
3234 int arg2
= (int) 0 ;
3235 int arg3
= (int) 0 ;
3236 int arg4
= (int) 0 ;
3238 PyObject
* obj0
= 0 ;
3239 PyObject
* obj1
= 0 ;
3240 PyObject
* obj2
= 0 ;
3241 PyObject
* obj3
= 0 ;
3243 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3248 arg1
= (int) SWIG_AsInt(obj0
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3252 arg2
= (int) SWIG_AsInt(obj1
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3256 arg3
= (int) SWIG_AsInt(obj2
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3260 arg4
= (int) SWIG_AsInt(obj3
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3277 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3284 PyObject
* obj0
= 0 ;
3285 PyObject
* obj1
= 0 ;
3287 (char *) "topLeft",(char *) "bottomRight", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3293 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3313 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3320 PyObject
* obj0
= 0 ;
3321 PyObject
* obj1
= 0 ;
3323 (char *) "pos",(char *) "size", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3329 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3333 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3349 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxRect
*arg1
= (wxRect
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3354 (char *) "self", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxRect
*arg1
= (wxRect
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3380 (char *) "self", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (int)((wxRect
const *)arg1
)->GetX();
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= SWIG_FromInt((int)result
);
3400 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxRect
*arg1
= (wxRect
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3405 PyObject
* obj1
= 0 ;
3407 (char *) "self",(char *) "x", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3413 arg2
= (int) SWIG_AsInt(obj1
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 Py_INCREF(Py_None
); resultobj
= Py_None
;
3429 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxRect
*arg1
= (wxRect
*) 0 ;
3433 PyObject
* obj0
= 0 ;
3435 (char *) "self", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (int)(arg1
)->GetY();
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= SWIG_FromInt((int)result
);
3455 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxRect
*arg1
= (wxRect
*) 0 ;
3459 PyObject
* obj0
= 0 ;
3460 PyObject
* obj1
= 0 ;
3462 (char *) "self",(char *) "y", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 arg2
= (int) SWIG_AsInt(obj1
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3484 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxRect
*arg1
= (wxRect
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 (char *) "self", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 resultobj
= SWIG_FromInt((int)result
);
3510 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxRect
*arg1
= (wxRect
*) 0 ;
3514 PyObject
* obj0
= 0 ;
3515 PyObject
* obj1
= 0 ;
3517 (char *) "self",(char *) "w", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3523 arg2
= (int) SWIG_AsInt(obj1
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 (arg1
)->SetWidth(arg2
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 Py_INCREF(Py_None
); resultobj
= Py_None
;
3539 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxRect
*arg1
= (wxRect
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3545 (char *) "self", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= SWIG_FromInt((int)result
);
3565 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxRect
*arg1
= (wxRect
*) 0 ;
3569 PyObject
* obj0
= 0 ;
3570 PyObject
* obj1
= 0 ;
3572 (char *) "self",(char *) "h", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3578 arg2
= (int) SWIG_AsInt(obj1
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 (arg1
)->SetHeight(arg2
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 Py_INCREF(Py_None
); resultobj
= Py_None
;
3594 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxRect
*arg1
= (wxRect
*) 0 ;
3598 PyObject
* obj0
= 0 ;
3600 (char *) "self", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= ((wxRect
const *)arg1
)->GetPosition();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 wxPoint
* resultptr
;
3615 resultptr
= new wxPoint((wxPoint
&) result
);
3616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3624 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxRect
*arg1
= (wxRect
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3632 (char *) "self",(char *) "p", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxRect
*arg1
= (wxRect
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3662 (char *) "self", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= ((wxRect
const *)arg1
)->GetSize();
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3677 resultptr
= new wxSize((wxSize
&) result
);
3678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3686 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxRect
*arg1
= (wxRect
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3692 PyObject
* obj1
= 0 ;
3694 (char *) "self",(char *) "s", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3702 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 (arg1
)->SetSize((wxSize
const &)*arg2
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 Py_INCREF(Py_None
); resultobj
= Py_None
;
3718 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxRect
*arg1
= (wxRect
*) 0 ;
3722 PyObject
* obj0
= 0 ;
3724 (char *) "self", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3738 wxPoint
* resultptr
;
3739 resultptr
= new wxPoint((wxPoint
&) result
);
3740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3748 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3750 wxRect
*arg1
= (wxRect
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj1
= 0 ;
3756 (char *) "self",(char *) "p", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 Py_INCREF(Py_None
); resultobj
= Py_None
;
3780 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxRect
*arg1
= (wxRect
*) 0 ;
3784 PyObject
* obj0
= 0 ;
3786 (char *) "self", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3800 wxPoint
* resultptr
;
3801 resultptr
= new wxPoint((wxPoint
&) result
);
3802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3810 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxRect
*arg1
= (wxRect
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3816 PyObject
* obj1
= 0 ;
3818 (char *) "self",(char *) "p", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3842 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxRect
*arg1
= (wxRect
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3848 (char *) "self", NULL
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= SWIG_FromInt((int)result
);
3868 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3870 wxRect
*arg1
= (wxRect
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3874 (char *) "self", NULL
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 result
= (int)((wxRect
const *)arg1
)->GetTop();
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_FromInt((int)result
);
3894 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxRect
*arg1
= (wxRect
*) 0 ;
3898 PyObject
* obj0
= 0 ;
3900 (char *) "self", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_FromInt((int)result
);
3920 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxRect
*arg1
= (wxRect
*) 0 ;
3924 PyObject
* obj0
= 0 ;
3926 (char *) "self", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (int)((wxRect
const *)arg1
)->GetRight();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_FromInt((int)result
);
3946 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxRect
*arg1
= (wxRect
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3951 PyObject
* obj1
= 0 ;
3953 (char *) "self",(char *) "left", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3959 arg2
= (int) SWIG_AsInt(obj1
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 (arg1
)->SetLeft(arg2
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 Py_INCREF(Py_None
); resultobj
= Py_None
;
3975 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxRect
*arg1
= (wxRect
*) 0 ;
3979 PyObject
* obj0
= 0 ;
3980 PyObject
* obj1
= 0 ;
3982 (char *) "self",(char *) "right", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3988 arg2
= (int) SWIG_AsInt(obj1
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 (arg1
)->SetRight(arg2
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 Py_INCREF(Py_None
); resultobj
= Py_None
;
4004 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxRect
*arg1
= (wxRect
*) 0 ;
4008 PyObject
* obj0
= 0 ;
4009 PyObject
* obj1
= 0 ;
4011 (char *) "self",(char *) "top", NULL
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4017 arg2
= (int) SWIG_AsInt(obj1
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 (arg1
)->SetTop(arg2
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 Py_INCREF(Py_None
); resultobj
= Py_None
;
4033 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxRect
*arg1
= (wxRect
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4040 (char *) "self",(char *) "bottom", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4046 arg2
= (int) SWIG_AsInt(obj1
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 (arg1
)->SetBottom(arg2
);
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 Py_INCREF(Py_None
); resultobj
= Py_None
;
4062 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxRect
*arg1
= (wxRect
*) 0 ;
4068 PyObject
* obj0
= 0 ;
4069 PyObject
* obj1
= 0 ;
4070 PyObject
* obj2
= 0 ;
4072 (char *) "self",(char *) "dx",(char *) "dy", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4078 arg2
= (int) SWIG_AsInt(obj1
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4080 arg3
= (int) SWIG_AsInt(obj2
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4086 result
= (wxRect
*) &_result_ref
;
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4099 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxRect
*arg1
= (wxRect
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4107 PyObject
* obj2
= 0 ;
4109 (char *) "self",(char *) "dx",(char *) "dy", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4115 arg2
= (int) SWIG_AsInt(obj1
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4117 arg3
= (int) SWIG_AsInt(obj2
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4123 result
= (wxRect
*) &_result_ref
;
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4136 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxRect
*arg1
= (wxRect
*) 0 ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4143 PyObject
* obj2
= 0 ;
4145 (char *) "self",(char *) "dx",(char *) "dy", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4151 arg2
= (int) SWIG_AsInt(obj1
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4153 arg3
= (int) SWIG_AsInt(obj2
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 (arg1
)->Offset(arg2
,arg3
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 Py_INCREF(Py_None
); resultobj
= Py_None
;
4169 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxRect
*arg1
= (wxRect
*) 0 ;
4174 PyObject
* obj0
= 0 ;
4175 PyObject
* obj1
= 0 ;
4177 (char *) "self",(char *) "pt", NULL
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 (arg1
)->Offset((wxPoint
const &)*arg2
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 Py_INCREF(Py_None
); resultobj
= Py_None
;
4201 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxRect
*arg1
= (wxRect
*) 0 ;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4210 (char *) "self",(char *) "rect", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4218 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4224 result
= (wxRect
*) &_result_ref
;
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4237 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxRect
*arg1
= (wxRect
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4246 (char *) "self",(char *) "rect", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4254 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4265 resultptr
= new wxRect((wxRect
&) result
);
4266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4274 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxRect
*arg1
= (wxRect
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4283 (char *) "self",(char *) "rect", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4291 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4297 result
= (wxRect
*) &_result_ref
;
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4310 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxRect
*arg1
= (wxRect
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4319 (char *) "self",(char *) "rect", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4327 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4345 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxRect
*arg1
= (wxRect
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4354 (char *) "self",(char *) "rect", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4380 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxRect
*arg1
= (wxRect
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4388 PyObject
* obj2
= 0 ;
4390 (char *) "self",(char *) "x",(char *) "y", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4396 arg2
= (int) SWIG_AsInt(obj1
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4398 arg3
= (int) SWIG_AsInt(obj2
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4416 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxRect
*arg1
= (wxRect
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4425 (char *) "self",(char *) "pt", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4451 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxRect
*arg1
= (wxRect
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4460 (char *) "self",(char *) "rect", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4468 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4486 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4488 wxRect
*arg1
= (wxRect
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "x", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4499 arg2
= (int) SWIG_AsInt(obj1
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4501 if (arg1
) (arg1
)->x
= arg2
;
4503 Py_INCREF(Py_None
); resultobj
= Py_None
;
4510 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxRect
*arg1
= (wxRect
*) 0 ;
4514 PyObject
* obj0
= 0 ;
4516 (char *) "self", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4522 result
= (int) ((arg1
)->x
);
4524 resultobj
= SWIG_FromInt((int)result
);
4531 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxRect
*arg1
= (wxRect
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "y", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 arg2
= (int) SWIG_AsInt(obj1
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4546 if (arg1
) (arg1
)->y
= arg2
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxRect
*arg1
= (wxRect
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "self", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 result
= (int) ((arg1
)->y
);
4569 resultobj
= SWIG_FromInt((int)result
);
4576 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxRect
*arg1
= (wxRect
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4581 PyObject
* obj1
= 0 ;
4583 (char *) "self",(char *) "width", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4589 arg2
= (int) SWIG_AsInt(obj1
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4591 if (arg1
) (arg1
)->width
= arg2
;
4593 Py_INCREF(Py_None
); resultobj
= Py_None
;
4600 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxRect
*arg1
= (wxRect
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4612 result
= (int) ((arg1
)->width
);
4614 resultobj
= SWIG_FromInt((int)result
);
4621 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxRect
*arg1
= (wxRect
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4626 PyObject
* obj1
= 0 ;
4628 (char *) "self",(char *) "height", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4634 arg2
= (int) SWIG_AsInt(obj1
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4636 if (arg1
) (arg1
)->height
= arg2
;
4638 Py_INCREF(Py_None
); resultobj
= Py_None
;
4645 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxRect
*arg1
= (wxRect
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4651 (char *) "self", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4657 result
= (int) ((arg1
)->height
);
4659 resultobj
= SWIG_FromInt((int)result
);
4666 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxRect
*arg1
= (wxRect
*) 0 ;
4669 int arg2
= (int) 0 ;
4670 int arg3
= (int) 0 ;
4671 int arg4
= (int) 0 ;
4672 int arg5
= (int) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4677 PyObject
* obj4
= 0 ;
4679 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 arg2
= (int) SWIG_AsInt(obj1
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4690 arg3
= (int) SWIG_AsInt(obj2
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 arg4
= (int) SWIG_AsInt(obj3
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4698 arg5
= (int) SWIG_AsInt(obj4
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 Py_INCREF(Py_None
); resultobj
= Py_None
;
4715 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxRect
*arg1
= (wxRect
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4721 (char *) "self", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (PyObject
*)wxRect_Get(arg1
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4741 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4744 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4746 return Py_BuildValue((char *)"");
4748 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxRect
*arg1
= (wxRect
*) 0 ;
4751 wxRect
*arg2
= (wxRect
*) 0 ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4756 (char *) "r1",(char *) "r2", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4778 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 double arg1
= (double) 0.0 ;
4781 double arg2
= (double) 0.0 ;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4786 (char *) "x",(char *) "y", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4791 arg1
= (double) SWIG_AsDouble(obj0
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4795 arg2
= (double) SWIG_AsDouble(obj1
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4812 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxPoint2D
*arg1
= 0 ;
4817 PyObject
* obj0
= 0 ;
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4825 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4841 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4846 PyObject
* obj0
= 0 ;
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4854 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4870 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4873 int *arg2
= (int *) 0 ;
4874 int *arg3
= (int *) 0 ;
4877 PyObject
* obj0
= 0 ;
4879 (char *) "self", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 Py_INCREF(Py_None
); resultobj
= Py_None
;
4896 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4897 resultobj
= t_output_helper(resultobj
,o
);
4900 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4901 resultobj
= t_output_helper(resultobj
,o
);
4909 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4912 int *arg2
= (int *) 0 ;
4913 int *arg3
= (int *) 0 ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4936 resultobj
= t_output_helper(resultobj
,o
);
4939 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4940 resultobj
= t_output_helper(resultobj
,o
);
4948 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4954 (char *) "self", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= SWIG_FromDouble((double)result
);
4974 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4980 (char *) "self", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= SWIG_FromDouble((double)result
);
5000 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "length", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 arg2
= (double) SWIG_AsDouble(obj1
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->SetVectorLength(arg2
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5034 PyObject
* obj1
= 0 ;
5036 (char *) "self",(char *) "degrees", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 arg2
= (double) SWIG_AsDouble(obj1
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 (arg1
)->SetVectorAngle(arg2
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 Py_INCREF(Py_None
); resultobj
= Py_None
;
5058 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5061 wxPoint2D
*arg2
= 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5067 (char *) "self",(char *) "pt", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5075 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_FromDouble((double)result
);
5091 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5093 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5094 wxPoint2D
*arg2
= 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "pt", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= SWIG_FromDouble((double)result
);
5124 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5127 wxPoint2D
*arg2
= 0 ;
5130 PyObject
* obj0
= 0 ;
5131 PyObject
* obj1
= 0 ;
5133 (char *) "self",(char *) "vec", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5141 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_FromDouble((double)result
);
5157 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5160 wxPoint2D
*arg2
= 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5166 (char *) "self",(char *) "vec", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_FromDouble((double)result
);
5190 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (arg1
)->operator -();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 wxPoint2D
* resultptr
;
5211 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5220 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5223 wxPoint2D
*arg2
= 0 ;
5226 PyObject
* obj0
= 0 ;
5227 PyObject
* obj1
= 0 ;
5229 (char *) "self",(char *) "pt", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5243 result
= (wxPoint2D
*) &_result_ref
;
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5256 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5259 wxPoint2D
*arg2
= 0 ;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5265 (char *) "self",(char *) "pt", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5273 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5279 result
= (wxPoint2D
*) &_result_ref
;
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5292 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5295 wxPoint2D
*arg2
= 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "pt", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5315 result
= (wxPoint2D
*) &_result_ref
;
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5328 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5331 wxPoint2D
*arg2
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5337 (char *) "self",(char *) "pt", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5345 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5351 result
= (wxPoint2D
*) &_result_ref
;
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5364 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5367 wxPoint2D
*arg2
= 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "pt", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5381 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5399 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5402 wxPoint2D
*arg2
= 0 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5408 (char *) "self",(char *) "pt", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5434 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "m_x", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 arg2
= (double) SWIG_AsDouble(obj1
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5449 if (arg1
) (arg1
)->m_x
= arg2
;
5451 Py_INCREF(Py_None
); resultobj
= Py_None
;
5458 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5462 PyObject
* obj0
= 0 ;
5464 (char *) "self", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 result
= (double) ((arg1
)->m_x
);
5472 resultobj
= SWIG_FromDouble((double)result
);
5479 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
;
5481 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5486 (char *) "self",(char *) "m_y", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 arg2
= (double) SWIG_AsDouble(obj1
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5494 if (arg1
) (arg1
)->m_y
= arg2
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 result
= (double) ((arg1
)->m_y
);
5517 resultobj
= SWIG_FromDouble((double)result
);
5524 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5527 double arg2
= (double) 0 ;
5528 double arg3
= (double) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 PyObject
* obj2
= 0 ;
5533 (char *) "self",(char *) "x",(char *) "y", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5540 arg2
= (double) SWIG_AsDouble(obj1
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 arg3
= (double) SWIG_AsDouble(obj2
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 wxPoint2D_Set(arg1
,arg2
,arg3
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 Py_INCREF(Py_None
); resultobj
= Py_None
;
5561 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5567 (char *) "self", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5587 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5590 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5592 return Py_BuildValue((char *)"");
5594 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5595 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5600 static PyObject
*_wrap_DefaultPosition_get() {
5603 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5608 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5609 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5614 static PyObject
*_wrap_DefaultSize_get() {
5617 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5622 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 PyObject
*arg1
= (PyObject
*) 0 ;
5625 wxPyInputStream
*result
;
5626 PyObject
* obj0
= 0 ;
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5647 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5652 (char *) "self", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5677 (char *) "self", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 Py_INCREF(Py_None
); resultobj
= Py_None
;
5697 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5703 (char *) "self", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (bool)(arg1
)->eof();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5725 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5728 int arg2
= (int) -1 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5733 (char *) "self",(char *) "size", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 arg2
= (int) SWIG_AsInt(obj1
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (PyObject
*)(arg1
)->read(arg2
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5757 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
;
5759 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5760 int arg2
= (int) -1 ;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5765 (char *) "self",(char *) "size", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 arg2
= (int) SWIG_AsInt(obj1
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (PyObject
*)(arg1
)->readline(arg2
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5789 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5792 int arg2
= (int) -1 ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5797 (char *) "self",(char *) "sizehint", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5804 arg2
= (int) SWIG_AsInt(obj1
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5821 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5825 int arg3
= (int) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5828 PyObject
* obj2
= 0 ;
5830 (char *) "self",(char *) "offset",(char *) "whence", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 arg2
= (int) SWIG_AsInt(obj1
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 arg3
= (int) SWIG_AsInt(obj2
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 (arg1
)->seek(arg2
,arg3
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 result
= (int)(arg1
)->tell();
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_FromInt((int)result
);
5882 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (char)(arg1
)->Peek();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_FromChar((char)result
);
5908 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "self", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (char)(arg1
)->GetC();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_FromChar((char)result
);
5934 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5940 (char *) "self", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (size_t)(arg1
)->LastRead();
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5960 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)(arg1
)->CanRead();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5988 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5994 (char *) "self", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (bool)(arg1
)->Eof();
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6016 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6024 (char *) "self",(char *) "c", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 arg2
= (char) SWIG_AsChar(obj1
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (bool)(arg1
)->Ungetch(arg2
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6048 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6052 int arg3
= (int) wxFromStart
;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6056 PyObject
* obj2
= 0 ;
6058 (char *) "self",(char *) "pos",(char *) "mode", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 arg2
= (long) SWIG_AsLong(obj1
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_FromLong((long)result
);
6084 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6088 PyObject
* obj0
= 0 ;
6090 (char *) "self", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (long)(arg1
)->TellI();
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_FromLong((long)result
);
6110 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6113 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6115 return Py_BuildValue((char *)"");
6117 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6120 PyObject
*arg2
= (PyObject
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "obj", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 wxOutputStream_write(arg1
,arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6148 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6150 return Py_BuildValue((char *)"");
6152 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6155 wxString
*arg2
= 0 ;
6156 wxString
*arg3
= 0 ;
6157 wxString
*arg4
= 0 ;
6160 wxPyInputStream
*temp1
;
6162 bool temp2
= False
;
6163 bool temp3
= False
;
6164 bool temp4
= False
;
6166 PyObject
* obj0
= 0 ;
6167 PyObject
* obj1
= 0 ;
6168 PyObject
* obj2
= 0 ;
6169 PyObject
* obj3
= 0 ;
6170 PyObject
* obj4
= 0 ;
6172 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6177 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6178 arg1
= temp1
->m_wxis
;
6181 PyErr_Clear(); // clear the failure of the wxPyConvert above
6182 arg1
= wxPyCBInputStream_create(obj0
, False
);
6184 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6191 arg2
= wxString_in_helper(obj1
);
6192 if (arg2
== NULL
) SWIG_fail
;
6196 arg3
= wxString_in_helper(obj2
);
6197 if (arg3
== NULL
) SWIG_fail
;
6201 arg4
= wxString_in_helper(obj3
);
6202 if (arg4
== NULL
) SWIG_fail
;
6205 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6206 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= wxPyMake_wxObject(result
);
6256 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6284 wxInputStream
*result
;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (wxInputStream
*)(arg1
)->GetStream();
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6301 wxPyInputStream
* _ptr
= NULL
;
6304 _ptr
= new wxPyInputStream(result
);
6306 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6314 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6330 result
= (wxString
*) &_result_ref
;
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6349 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 (char *) "self", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 wxString
const &_result_ref
= (arg1
)->GetLocation();
6365 result
= (wxString
*) &_result_ref
;
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6375 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6384 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6390 (char *) "self", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6400 result
= (wxString
*) &_result_ref
;
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6410 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6419 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6423 PyObject
* obj0
= 0 ;
6425 (char *) "self", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= (arg1
)->GetModificationTime();
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 wxDateTime
* resultptr
;
6440 resultptr
= new wxDateTime((wxDateTime
&) result
);
6441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6449 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6454 return Py_BuildValue((char *)"");
6456 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6459 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6461 return Py_BuildValue((char *)"");
6463 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPyFileSystemHandler
*result
;
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6485 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6488 PyObject
*arg2
= (PyObject
*) 0 ;
6489 PyObject
*arg3
= (PyObject
*) 0 ;
6490 PyObject
* obj0
= 0 ;
6491 PyObject
* obj1
= 0 ;
6492 PyObject
* obj2
= 0 ;
6494 (char *) "self",(char *) "self",(char *) "_class", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 Py_INCREF(Py_None
); resultobj
= Py_None
;
6516 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
;
6518 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6519 wxString
*arg2
= 0 ;
6521 bool temp2
= False
;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6525 (char *) "self",(char *) "location", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 arg2
= wxString_in_helper(obj1
);
6533 if (arg2
== NULL
) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6560 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6563 wxFileSystem
*arg2
= 0 ;
6564 wxString
*arg3
= 0 ;
6566 bool temp3
= False
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 PyObject
* obj2
= 0 ;
6571 (char *) "self",(char *) "fs",(char *) "location", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6581 PyErr_SetString(PyExc_TypeError
,"null reference");
6585 arg3
= wxString_in_helper(obj2
);
6586 if (arg3
== NULL
) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= wxPyMake_wxObject(result
);
6613 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6616 wxString
*arg2
= 0 ;
6617 int arg3
= (int) 0 ;
6619 bool temp2
= False
;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6622 PyObject
* obj2
= 0 ;
6624 (char *) "self",(char *) "spec",(char *) "flags", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6631 arg2
= wxString_in_helper(obj1
);
6632 if (arg2
== NULL
) SWIG_fail
;
6636 arg3
= (int) SWIG_AsInt(obj2
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6667 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (arg1
)->FindNext();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6699 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6702 wxString
*arg2
= 0 ;
6704 bool temp2
= False
;
6705 PyObject
* obj0
= 0 ;
6706 PyObject
* obj1
= 0 ;
6708 (char *) "self",(char *) "location", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6715 arg2
= wxString_in_helper(obj1
);
6716 if (arg2
== NULL
) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6747 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6750 wxString
*arg2
= 0 ;
6752 bool temp2
= False
;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6756 (char *) "self",(char *) "location", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6763 arg2
= wxString_in_helper(obj1
);
6764 if (arg2
== NULL
) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6795 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6798 wxString
*arg2
= 0 ;
6800 bool temp2
= False
;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "location", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 arg2
= wxString_in_helper(obj1
);
6812 if (arg2
== NULL
) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6843 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6846 wxString
*arg2
= 0 ;
6848 bool temp2
= False
;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6852 (char *) "self",(char *) "location", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6859 arg2
= wxString_in_helper(obj1
);
6860 if (arg2
== NULL
) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6891 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
;
6893 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6894 wxString
*arg2
= 0 ;
6896 bool temp2
= False
;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6900 (char *) "self",(char *) "location", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 arg2
= wxString_in_helper(obj1
);
6908 if (arg2
== NULL
) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6939 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6942 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6944 return Py_BuildValue((char *)"");
6946 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxFileSystem
*result
;
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (wxFileSystem
*)new wxFileSystem();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= wxPyMake_wxObject(result
);
6970 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6998 wxString
*arg2
= 0 ;
6999 bool arg3
= (bool) False
;
7000 bool temp2
= False
;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 PyObject
* obj2
= 0 ;
7005 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 arg2
= wxString_in_helper(obj1
);
7013 if (arg2
== NULL
) SWIG_fail
;
7017 arg3
= (bool) SWIG_AsBool(obj2
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (arg1
)->GetPath();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7074 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7077 wxString
*arg2
= 0 ;
7079 bool temp2
= False
;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7083 (char *) "self",(char *) "location", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7090 arg2
= wxString_in_helper(obj1
);
7091 if (arg2
== NULL
) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= wxPyMake_wxObject(result
);
7118 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7121 wxString
*arg2
= 0 ;
7122 int arg3
= (int) 0 ;
7124 bool temp2
= False
;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7127 PyObject
* obj2
= 0 ;
7129 (char *) "self",(char *) "spec",(char *) "flags", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7136 arg2
= wxString_in_helper(obj1
);
7137 if (arg2
== NULL
) SWIG_fail
;
7141 arg3
= (int) SWIG_AsInt(obj2
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7172 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (arg1
)->FindNext();
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7204 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "handler", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 wxFileSystem::AddHandler(arg1
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxFileSystem::CleanUpHandlers();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxString
*arg1
= 0 ;
7254 bool temp1
= False
;
7255 PyObject
* obj0
= 0 ;
7257 (char *) "filename", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7262 arg1
= wxString_in_helper(obj0
);
7263 if (arg1
== NULL
) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7294 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7297 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7299 return Py_BuildValue((char *)"");
7301 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxString
*arg1
= 0 ;
7305 bool temp1
= False
;
7306 PyObject
* obj0
= 0 ;
7308 (char *) "url", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7313 arg1
= wxString_in_helper(obj0
);
7314 if (arg1
== NULL
) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7345 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxInternetFSHandler
*result
;
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7367 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7370 wxString
*arg2
= 0 ;
7372 bool temp2
= False
;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7376 (char *) "self",(char *) "location", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 arg2
= wxString_in_helper(obj1
);
7384 if (arg2
== NULL
) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7411 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7414 wxFileSystem
*arg2
= 0 ;
7415 wxString
*arg3
= 0 ;
7417 bool temp3
= False
;
7418 PyObject
* obj0
= 0 ;
7419 PyObject
* obj1
= 0 ;
7420 PyObject
* obj2
= 0 ;
7422 (char *) "self",(char *) "fs",(char *) "location", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7432 PyErr_SetString(PyExc_TypeError
,"null reference");
7436 arg3
= wxString_in_helper(obj2
);
7437 if (arg3
== NULL
) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= wxPyMake_wxObject(result
);
7464 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7467 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7469 return Py_BuildValue((char *)"");
7471 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxZipFSHandler
*result
;
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7493 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7496 wxString
*arg2
= 0 ;
7498 bool temp2
= False
;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "location", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 arg2
= wxString_in_helper(obj1
);
7510 if (arg2
== NULL
) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7537 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7540 wxFileSystem
*arg2
= 0 ;
7541 wxString
*arg3
= 0 ;
7543 bool temp3
= False
;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 PyObject
* obj2
= 0 ;
7548 (char *) "self",(char *) "fs",(char *) "location", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7558 PyErr_SetString(PyExc_TypeError
,"null reference");
7562 arg3
= wxString_in_helper(obj2
);
7563 if (arg3
== NULL
) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= wxPyMake_wxObject(result
);
7590 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7593 wxString
*arg2
= 0 ;
7594 int arg3
= (int) 0 ;
7596 bool temp2
= False
;
7597 PyObject
* obj0
= 0 ;
7598 PyObject
* obj1
= 0 ;
7599 PyObject
* obj2
= 0 ;
7601 (char *) "self",(char *) "spec",(char *) "flags", NULL
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7608 arg2
= wxString_in_helper(obj1
);
7609 if (arg2
== NULL
) SWIG_fail
;
7613 arg3
= (int) SWIG_AsInt(obj2
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7644 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (arg1
)->FindNext();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7676 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7679 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7681 return Py_BuildValue((char *)"");
7683 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxString
*arg1
= 0 ;
7688 bool temp1
= False
;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7691 PyObject
* obj2
= 0 ;
7693 (char *) "filename",(char *) "image",(char *) "type", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7698 arg1
= wxString_in_helper(obj0
);
7699 if (arg1
== NULL
) SWIG_fail
;
7702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7706 PyErr_SetString(PyExc_TypeError
,"null reference");
7709 arg3
= (long) SWIG_AsLong(obj2
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7733 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxString
*arg1
= 0 ;
7736 wxBitmap
*arg2
= 0 ;
7738 bool temp1
= False
;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7741 PyObject
* obj2
= 0 ;
7743 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7748 arg1
= wxString_in_helper(obj0
);
7749 if (arg1
== NULL
) SWIG_fail
;
7752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7756 PyErr_SetString(PyExc_TypeError
,"null reference");
7759 arg3
= (long) SWIG_AsLong(obj2
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7783 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxString
*arg1
= 0 ;
7786 PyObject
*arg2
= (PyObject
*) 0 ;
7787 bool temp1
= False
;
7788 PyObject
* obj0
= 0 ;
7789 PyObject
* obj1
= 0 ;
7791 (char *) "filename",(char *) "data", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7796 arg1
= wxString_in_helper(obj0
);
7797 if (arg1
== NULL
) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7823 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxMemoryFSHandler
*result
;
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7845 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxString
*arg1
= 0 ;
7848 bool temp1
= False
;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "filename", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7856 arg1
= wxString_in_helper(obj0
);
7857 if (arg1
== NULL
) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 Py_INCREF(Py_None
); resultobj
= Py_None
;
7882 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7885 wxString
*arg2
= 0 ;
7887 bool temp2
= False
;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7891 (char *) "self",(char *) "location", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 arg2
= wxString_in_helper(obj1
);
7899 if (arg2
== NULL
) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7926 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7929 wxFileSystem
*arg2
= 0 ;
7930 wxString
*arg3
= 0 ;
7932 bool temp3
= False
;
7933 PyObject
* obj0
= 0 ;
7934 PyObject
* obj1
= 0 ;
7935 PyObject
* obj2
= 0 ;
7937 (char *) "self",(char *) "fs",(char *) "location", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7947 PyErr_SetString(PyExc_TypeError
,"null reference");
7951 arg3
= wxString_in_helper(obj2
);
7952 if (arg3
== NULL
) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= wxPyMake_wxObject(result
);
7979 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7982 wxString
*arg2
= 0 ;
7983 int arg3
= (int) 0 ;
7985 bool temp2
= False
;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7988 PyObject
* obj2
= 0 ;
7990 (char *) "self",(char *) "spec",(char *) "flags", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 arg2
= wxString_in_helper(obj1
);
7998 if (arg2
== NULL
) SWIG_fail
;
8002 arg3
= (int) SWIG_AsInt(obj2
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8033 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (arg1
)->FindNext();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8065 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8068 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8070 return Py_BuildValue((char *)"");
8072 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (arg1
)->GetName();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8104 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8110 (char *) "self", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (arg1
)->GetExtension();
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8136 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "self", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (long)(arg1
)->GetType();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_FromLong((long)result
);
8162 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8168 (char *) "self", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (arg1
)->GetMimeType();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8194 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8197 wxString
*arg2
= 0 ;
8199 bool temp2
= False
;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "self",(char *) "name", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 arg2
= wxString_in_helper(obj1
);
8211 if (arg2
== NULL
) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8238 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8241 wxString
*arg2
= 0 ;
8242 bool temp2
= False
;
8243 PyObject
* obj0
= 0 ;
8244 PyObject
* obj1
= 0 ;
8246 (char *) "self",(char *) "name", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 arg2
= wxString_in_helper(obj1
);
8254 if (arg2
== NULL
) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 (arg1
)->SetName((wxString
const &)*arg2
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8282 wxString
*arg2
= 0 ;
8283 bool temp2
= False
;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8287 (char *) "self",(char *) "extension", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 arg2
= wxString_in_helper(obj1
);
8295 if (arg2
== NULL
) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 (arg1
)->SetExtension((wxString
const &)*arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 Py_INCREF(Py_None
); resultobj
= Py_None
;
8320 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 (char *) "self",(char *) "type", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8333 arg2
= (long) SWIG_AsLong(obj1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->SetType(arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8352 wxString
*arg2
= 0 ;
8353 bool temp2
= False
;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8357 (char *) "self",(char *) "mimetype", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 arg2
= wxString_in_helper(obj1
);
8365 if (arg2
== NULL
) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8393 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8395 return Py_BuildValue((char *)"");
8397 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxImageHistogram
*result
;
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (wxImageHistogram
*)new wxImageHistogram();
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8419 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 unsigned char arg1
;
8422 unsigned char arg2
;
8423 unsigned char arg3
;
8424 unsigned long result
;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 PyObject
* obj2
= 0 ;
8429 (char *) "r",(char *) "g",(char *) "b", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8433 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8435 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8437 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8453 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8456 unsigned char *arg2
= (unsigned char *) 0 ;
8457 unsigned char *arg3
= (unsigned char *) 0 ;
8458 unsigned char *arg4
= (unsigned char *) 0 ;
8459 unsigned char arg5
= (unsigned char) 1 ;
8460 unsigned char arg6
= (unsigned char) 0 ;
8461 unsigned char arg7
= (unsigned char) 0 ;
8463 unsigned char temp2
;
8464 unsigned char temp3
;
8465 unsigned char temp4
;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 PyObject
* obj2
= 0 ;
8469 PyObject
* obj3
= 0 ;
8471 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8481 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8485 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8489 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8503 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8504 resultobj
= t_output_helper(resultobj
,o
);
8507 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8508 resultobj
= t_output_helper(resultobj
,o
);
8511 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8512 resultobj
= t_output_helper(resultobj
,o
);
8520 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8523 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8525 return Py_BuildValue((char *)"");
8527 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxString
*arg1
= 0 ;
8530 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8531 int arg3
= (int) -1 ;
8533 bool temp1
= False
;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8536 PyObject
* obj2
= 0 ;
8538 (char *) "name",(char *) "type",(char *) "index", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8543 arg1
= wxString_in_helper(obj0
);
8544 if (arg1
== NULL
) SWIG_fail
;
8548 arg2
= (long) SWIG_AsLong(obj1
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8552 arg3
= (int) SWIG_AsInt(obj2
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8577 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxImage
*arg1
= (wxImage
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8582 (char *) "self", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 Py_INCREF(Py_None
); resultobj
= Py_None
;
8602 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxString
*arg1
= 0 ;
8605 wxString
*arg2
= 0 ;
8606 int arg3
= (int) -1 ;
8608 bool temp1
= False
;
8609 bool temp2
= False
;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8614 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8619 arg1
= wxString_in_helper(obj0
);
8620 if (arg1
== NULL
) SWIG_fail
;
8624 arg2
= wxString_in_helper(obj1
);
8625 if (arg2
== NULL
) SWIG_fail
;
8629 arg3
= (int) SWIG_AsInt(obj2
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8662 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxInputStream
*arg1
= 0 ;
8665 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8666 int arg3
= (int) -1 ;
8668 wxPyInputStream
*temp1
;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 PyObject
* obj2
= 0 ;
8674 (char *) "stream",(char *) "type",(char *) "index", NULL
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8679 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8680 arg1
= temp1
->m_wxis
;
8683 PyErr_Clear(); // clear the failure of the wxPyConvert above
8684 arg1
= wxPyCBInputStream_create(obj0
, False
);
8686 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8693 arg2
= (long) SWIG_AsLong(obj1
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 arg3
= (int) SWIG_AsInt(obj2
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8722 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxInputStream
*arg1
= 0 ;
8725 wxString
*arg2
= 0 ;
8726 int arg3
= (int) -1 ;
8728 wxPyInputStream
*temp1
;
8730 bool temp2
= False
;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 PyObject
* obj2
= 0 ;
8735 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8740 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8741 arg1
= temp1
->m_wxis
;
8744 PyErr_Clear(); // clear the failure of the wxPyConvert above
8745 arg1
= wxPyCBInputStream_create(obj0
, False
);
8747 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8754 arg2
= wxString_in_helper(obj1
);
8755 if (arg2
== NULL
) SWIG_fail
;
8759 arg3
= (int) SWIG_AsInt(obj2
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8792 static PyObject
*_wrap_new_EmptyImage__SWIG_0(PyObject
*self
, PyObject
*args
) {
8793 PyObject
*resultobj
;
8794 int arg1
= (int) 0 ;
8795 int arg2
= (int) 0 ;
8796 bool arg3
= (bool) True
;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8800 PyObject
* obj2
= 0 ;
8802 if(!PyArg_ParseTuple(args
,(char *)"|OOO:new_EmptyImage",&obj0
,&obj1
,&obj2
)) goto fail
;
8804 arg1
= (int) SWIG_AsInt(obj0
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8808 arg2
= (int) SWIG_AsInt(obj1
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8812 arg3
= (bool) SWIG_AsBool(obj2
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (wxImage
*)new_wxImage__SWIG_0(arg1
,arg2
,arg3
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8829 static PyObject
*_wrap_new_EmptyImage__SWIG_1(PyObject
*self
, PyObject
*args
) {
8830 PyObject
*resultobj
;
8832 bool arg2
= (bool) True
;
8835 PyObject
* obj0
= 0 ;
8836 PyObject
* obj1
= 0 ;
8838 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_EmptyImage",&obj0
,&obj1
)) goto fail
;
8841 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8844 arg2
= (bool) SWIG_AsBool(obj1
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 result
= (wxImage
*)new_wxImage__SWIG_1((wxSize
const &)*arg1
,arg2
);
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8861 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
) {
8866 argc
= PyObject_Length(args
);
8867 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8868 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8870 if ((argc
>= 0) && (argc
<= 3)) {
8873 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8875 _v
= SWIG_CheckInt(argv
[0]);
8878 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8880 _v
= SWIG_CheckInt(argv
[1]);
8883 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8885 _v
= SWIG_CheckBool(argv
[2]);
8887 return _wrap_new_EmptyImage__SWIG_0(self
,args
);
8892 if ((argc
>= 1) && (argc
<= 2)) {
8895 _v
= wxPySimple_typecheck(argv
[0], wxT("wxSize"), 2);
8899 return _wrap_new_EmptyImage__SWIG_1(self
,args
);
8901 _v
= SWIG_CheckBool(argv
[1]);
8903 return _wrap_new_EmptyImage__SWIG_1(self
,args
);
8908 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_EmptyImage'");
8913 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxBitmap
*arg1
= 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "bitmap", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8927 PyErr_SetString(PyExc_TypeError
,"null reference");
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8944 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8948 unsigned char *arg3
= (unsigned char *) 0 ;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 PyObject
* obj2
= 0 ;
8954 (char *) "width",(char *) "height",(char *) "data", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8958 arg1
= (int) SWIG_AsInt(obj0
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8960 arg2
= (int) SWIG_AsInt(obj1
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8962 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8978 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxImage
*arg1
= (wxImage
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8985 PyObject
* obj2
= 0 ;
8987 (char *) "self",(char *) "width",(char *) "height", NULL
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8993 arg2
= (int) SWIG_AsInt(obj1
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8995 arg3
= (int) SWIG_AsInt(obj2
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->Create(arg2
,arg3
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9011 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxImage
*arg1
= (wxImage
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxImage
*arg1
= (wxImage
*) 0 ;
9041 SwigValueWrapper
< wxImage
> result
;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9044 PyObject
* obj2
= 0 ;
9046 (char *) "self",(char *) "width",(char *) "height", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9052 arg2
= (int) SWIG_AsInt(obj1
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9054 arg3
= (int) SWIG_AsInt(obj2
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (arg1
)->Scale(arg2
,arg3
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 wxImage
* resultptr
;
9065 resultptr
= new wxImage((wxImage
&) result
);
9066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9074 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxImage
*arg1
= (wxImage
*) 0 ;
9079 SwigValueWrapper
< wxImage
> result
;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9082 PyObject
* obj2
= 0 ;
9084 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 arg2
= (int) SWIG_AsInt(obj1
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9092 arg3
= (int) SWIG_AsInt(obj2
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9102 wxImage
* resultptr
;
9103 resultptr
= new wxImage((wxImage
&) result
);
9104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9112 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxImage
*arg1
= (wxImage
*) 0 ;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9120 PyObject
* obj2
= 0 ;
9122 (char *) "self",(char *) "width",(char *) "height", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9128 arg2
= (int) SWIG_AsInt(obj1
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9130 arg3
= (int) SWIG_AsInt(obj2
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9136 result
= (wxImage
*) &_result_ref
;
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9149 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxImage
*arg1
= (wxImage
*) 0 ;
9154 unsigned char arg4
;
9155 unsigned char arg5
;
9156 unsigned char arg6
;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 PyObject
* obj2
= 0 ;
9160 PyObject
* obj3
= 0 ;
9161 PyObject
* obj4
= 0 ;
9162 PyObject
* obj5
= 0 ;
9164 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9170 arg2
= (int) SWIG_AsInt(obj1
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9172 arg3
= (int) SWIG_AsInt(obj2
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9174 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9176 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9178 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 Py_INCREF(Py_None
); resultobj
= Py_None
;
9194 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxImage
*arg1
= (wxImage
*) 0 ;
9199 unsigned char result
;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9202 PyObject
* obj2
= 0 ;
9204 (char *) "self",(char *) "x",(char *) "y", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9210 arg2
= (int) SWIG_AsInt(obj1
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9212 arg3
= (int) SWIG_AsInt(obj2
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9228 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxImage
*arg1
= (wxImage
*) 0 ;
9233 unsigned char result
;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9236 PyObject
* obj2
= 0 ;
9238 (char *) "self",(char *) "x",(char *) "y", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9244 arg2
= (int) SWIG_AsInt(obj1
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9246 arg3
= (int) SWIG_AsInt(obj2
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9262 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxImage
*arg1
= (wxImage
*) 0 ;
9267 unsigned char result
;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9270 PyObject
* obj2
= 0 ;
9272 (char *) "self",(char *) "x",(char *) "y", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9278 arg2
= (int) SWIG_AsInt(obj1
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9280 arg3
= (int) SWIG_AsInt(obj2
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9296 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxImage
*arg1
= (wxImage
*) 0 ;
9301 unsigned char arg4
;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9304 PyObject
* obj2
= 0 ;
9305 PyObject
* obj3
= 0 ;
9307 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9313 arg2
= (int) SWIG_AsInt(obj1
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9315 arg3
= (int) SWIG_AsInt(obj2
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9317 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxImage
*arg1
= (wxImage
*) 0 ;
9338 unsigned char result
;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 PyObject
* obj2
= 0 ;
9343 (char *) "self",(char *) "x",(char *) "y", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 arg2
= (int) SWIG_AsInt(obj1
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9351 arg3
= (int) SWIG_AsInt(obj2
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9367 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9369 wxImage
*arg1
= (wxImage
*) 0 ;
9371 PyObject
* obj0
= 0 ;
9373 (char *) "self", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (bool)(arg1
)->HasAlpha();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9395 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 wxImage
*arg1
= (wxImage
*) 0 ;
9398 byte
*arg2
= (byte
*) 0 ;
9399 byte
*arg3
= (byte
*) 0 ;
9400 byte
*arg4
= (byte
*) 0 ;
9401 byte arg5
= (byte
) 0 ;
9402 byte arg6
= (byte
) 0 ;
9403 byte arg7
= (byte
) 0 ;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9410 PyObject
* obj2
= 0 ;
9411 PyObject
* obj3
= 0 ;
9413 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9427 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9445 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9446 resultobj
= t_output_helper(resultobj
,o
);
9449 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9450 resultobj
= t_output_helper(resultobj
,o
);
9453 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9454 resultobj
= t_output_helper(resultobj
,o
);
9462 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxImage
*arg1
= (wxImage
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9472 PyObject
* obj2
= 0 ;
9473 PyObject
* obj3
= 0 ;
9474 PyObject
* obj4
= 0 ;
9476 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9486 PyErr_SetString(PyExc_TypeError
,"null reference");
9489 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9491 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9493 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9511 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxString
*arg1
= 0 ;
9515 bool temp1
= False
;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "name", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9523 arg1
= wxString_in_helper(obj0
);
9524 if (arg1
== NULL
) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9551 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxString
*arg1
= 0 ;
9554 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9556 bool temp1
= False
;
9557 PyObject
* obj0
= 0 ;
9558 PyObject
* obj1
= 0 ;
9560 (char *) "name",(char *) "type", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9565 arg1
= wxString_in_helper(obj0
);
9566 if (arg1
== NULL
) SWIG_fail
;
9570 arg2
= (long) SWIG_AsLong(obj1
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= SWIG_FromInt((int)result
);
9595 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxImage
*arg1
= (wxImage
*) 0 ;
9598 wxString
*arg2
= 0 ;
9599 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9600 int arg4
= (int) -1 ;
9602 bool temp2
= False
;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 PyObject
* obj2
= 0 ;
9606 PyObject
* obj3
= 0 ;
9608 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 arg2
= wxString_in_helper(obj1
);
9616 if (arg2
== NULL
) SWIG_fail
;
9620 arg3
= (long) SWIG_AsLong(obj2
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9624 arg4
= (int) SWIG_AsInt(obj3
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9651 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 wxImage
*arg1
= (wxImage
*) 0 ;
9654 wxString
*arg2
= 0 ;
9655 wxString
*arg3
= 0 ;
9656 int arg4
= (int) -1 ;
9658 bool temp2
= False
;
9659 bool temp3
= False
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 PyObject
* obj2
= 0 ;
9663 PyObject
* obj3
= 0 ;
9665 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9672 arg2
= wxString_in_helper(obj1
);
9673 if (arg2
== NULL
) SWIG_fail
;
9677 arg3
= wxString_in_helper(obj2
);
9678 if (arg3
== NULL
) SWIG_fail
;
9682 arg4
= (int) SWIG_AsInt(obj3
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9717 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxImage
*arg1
= (wxImage
*) 0 ;
9720 wxString
*arg2
= 0 ;
9723 bool temp2
= False
;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 PyObject
* obj2
= 0 ;
9728 (char *) "self",(char *) "name",(char *) "type", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9735 arg2
= wxString_in_helper(obj1
);
9736 if (arg2
== NULL
) SWIG_fail
;
9739 arg3
= (int) SWIG_AsInt(obj2
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9765 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxImage
*arg1
= (wxImage
*) 0 ;
9768 wxString
*arg2
= 0 ;
9769 wxString
*arg3
= 0 ;
9771 bool temp2
= False
;
9772 bool temp3
= False
;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9775 PyObject
* obj2
= 0 ;
9777 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 arg2
= wxString_in_helper(obj1
);
9785 if (arg2
== NULL
) SWIG_fail
;
9789 arg3
= wxString_in_helper(obj2
);
9790 if (arg3
== NULL
) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9825 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxInputStream
*arg1
= 0 ;
9829 wxPyInputStream
*temp1
;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "stream", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9838 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9839 arg1
= temp1
->m_wxis
;
9842 PyErr_Clear(); // clear the failure of the wxPyConvert above
9843 arg1
= wxPyCBInputStream_create(obj0
, False
);
9845 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (bool)wxImage::CanRead(*arg1
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9875 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxImage
*arg1
= (wxImage
*) 0 ;
9878 wxInputStream
*arg2
= 0 ;
9879 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9880 int arg4
= (int) -1 ;
9882 wxPyInputStream
*temp2
;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 PyObject
* obj2
= 0 ;
9887 PyObject
* obj3
= 0 ;
9889 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9896 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9897 arg2
= temp2
->m_wxis
;
9900 PyErr_Clear(); // clear the failure of the wxPyConvert above
9901 arg2
= wxPyCBInputStream_create(obj1
, False
);
9903 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9910 arg3
= (long) SWIG_AsLong(obj2
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9914 arg4
= (int) SWIG_AsInt(obj3
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9941 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxImage
*arg1
= (wxImage
*) 0 ;
9944 wxInputStream
*arg2
= 0 ;
9945 wxString
*arg3
= 0 ;
9946 int arg4
= (int) -1 ;
9948 wxPyInputStream
*temp2
;
9950 bool temp3
= False
;
9951 PyObject
* obj0
= 0 ;
9952 PyObject
* obj1
= 0 ;
9953 PyObject
* obj2
= 0 ;
9954 PyObject
* obj3
= 0 ;
9956 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9964 arg2
= temp2
->m_wxis
;
9967 PyErr_Clear(); // clear the failure of the wxPyConvert above
9968 arg2
= wxPyCBInputStream_create(obj1
, False
);
9970 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9977 arg3
= wxString_in_helper(obj2
);
9978 if (arg3
== NULL
) SWIG_fail
;
9982 arg4
= (int) SWIG_AsInt(obj3
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10017 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxImage
*arg1
= (wxImage
*) 0 ;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= (bool)(arg1
)->Ok();
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10045 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxImage
*arg1
= (wxImage
*) 0 ;
10049 PyObject
* obj0
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "self", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (int)(arg1
)->GetWidth();
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= SWIG_FromInt((int)result
);
10071 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10073 wxImage
*arg1
= (wxImage
*) 0 ;
10075 PyObject
* obj0
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (int)(arg1
)->GetHeight();
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_FromInt((int)result
);
10097 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxImage
*arg1
= (wxImage
*) 0 ;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= wxImage_GetSize(arg1
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10117 wxSize
* resultptr
;
10118 resultptr
= new wxSize((wxSize
&) result
);
10119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10127 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxImage
*arg1
= (wxImage
*) 0 ;
10131 SwigValueWrapper
< wxImage
> result
;
10133 PyObject
* obj0
= 0 ;
10134 PyObject
* obj1
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self",(char *) "rect", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10144 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10154 wxImage
* resultptr
;
10155 resultptr
= new wxImage((wxImage
&) result
);
10156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10164 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10166 wxImage
*arg1
= (wxImage
*) 0 ;
10167 SwigValueWrapper
< wxImage
> result
;
10168 PyObject
* obj0
= 0 ;
10169 char *kwnames
[] = {
10170 (char *) "self", NULL
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (arg1
)->Copy();
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10184 wxImage
* resultptr
;
10185 resultptr
= new wxImage((wxImage
&) result
);
10186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10194 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxImage
*arg1
= (wxImage
*) 0 ;
10197 wxImage
*arg2
= 0 ;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 PyObject
* obj2
= 0 ;
10203 PyObject
* obj3
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10214 if (arg2
== NULL
) {
10215 PyErr_SetString(PyExc_TypeError
,"null reference");
10218 arg3
= (int) SWIG_AsInt(obj2
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10220 arg4
= (int) SWIG_AsInt(obj3
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 Py_INCREF(Py_None
); resultobj
= Py_None
;
10236 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxImage
*arg1
= (wxImage
*) 0 ;
10240 PyObject
* obj0
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (PyObject
*)wxImage_GetData(arg1
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= result
;
10262 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxImage
*arg1
= (wxImage
*) 0 ;
10265 PyObject
*arg2
= (PyObject
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self",(char *) "data", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 wxImage_SetData(arg1
,arg2
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 Py_INCREF(Py_None
); resultobj
= Py_None
;
10290 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxImage
*arg1
= (wxImage
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= result
;
10316 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxImage
*arg1
= (wxImage
*) 0 ;
10319 PyObject
*arg2
= (PyObject
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 char *kwnames
[] = {
10323 (char *) "self",(char *) "data", NULL
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 wxImage_SetDataBuffer(arg1
,arg2
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 Py_INCREF(Py_None
); resultobj
= Py_None
;
10344 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxImage
*arg1
= (wxImage
*) 0 ;
10348 PyObject
* obj0
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= result
;
10370 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxImage
*arg1
= (wxImage
*) 0 ;
10373 PyObject
*arg2
= (PyObject
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "data", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 wxImage_SetAlphaData(arg1
,arg2
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 Py_INCREF(Py_None
); resultobj
= Py_None
;
10398 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxImage
*arg1
= (wxImage
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= result
;
10424 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxImage
*arg1
= (wxImage
*) 0 ;
10427 PyObject
*arg2
= (PyObject
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self",(char *) "data", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 wxImage_SetAlphaBuffer(arg1
,arg2
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 Py_INCREF(Py_None
); resultobj
= Py_None
;
10452 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
;
10454 wxImage
*arg1
= (wxImage
*) 0 ;
10455 unsigned char arg2
;
10456 unsigned char arg3
;
10457 unsigned char arg4
;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 PyObject
* obj2
= 0 ;
10461 PyObject
* obj3
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10471 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10473 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 Py_INCREF(Py_None
); resultobj
= Py_None
;
10489 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxImage
*arg1
= (wxImage
*) 0 ;
10492 unsigned char result
;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (unsigned char)(arg1
)->GetMaskRed();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10515 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxImage
*arg1
= (wxImage
*) 0 ;
10518 unsigned char result
;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (unsigned char)(arg1
)->GetMaskGreen();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10541 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxImage
*arg1
= (wxImage
*) 0 ;
10544 unsigned char result
;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (unsigned char)(arg1
)->GetMaskBlue();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10567 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxImage
*arg1
= (wxImage
*) 0 ;
10570 bool arg2
= (bool) True
;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "mask", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10581 arg2
= (bool) SWIG_AsBool(obj1
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 (arg1
)->SetMask(arg2
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 Py_INCREF(Py_None
); resultobj
= Py_None
;
10598 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxImage
*arg1
= (wxImage
*) 0 ;
10602 PyObject
* obj0
= 0 ;
10603 char *kwnames
[] = {
10604 (char *) "self", NULL
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 result
= (bool)(arg1
)->HasMask();
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10626 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxImage
*arg1
= (wxImage
*) 0 ;
10630 wxPoint
*arg3
= 0 ;
10631 bool arg4
= (bool) True
;
10632 wxPoint
*arg5
= (wxPoint
*) NULL
;
10633 SwigValueWrapper
< wxImage
> result
;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 PyObject
* obj2
= 0 ;
10638 PyObject
* obj3
= 0 ;
10639 PyObject
* obj4
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 arg2
= (double) SWIG_AsDouble(obj1
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10654 arg4
= (bool) SWIG_AsBool(obj3
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10658 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10669 wxImage
* resultptr
;
10670 resultptr
= new wxImage((wxImage
&) result
);
10671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10679 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxImage
*arg1
= (wxImage
*) 0 ;
10682 bool arg2
= (bool) True
;
10683 SwigValueWrapper
< wxImage
> result
;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "self",(char *) "clockwise", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 arg2
= (bool) SWIG_AsBool(obj1
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= (arg1
)->Rotate90(arg2
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10705 wxImage
* resultptr
;
10706 resultptr
= new wxImage((wxImage
&) result
);
10707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10715 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxImage
*arg1
= (wxImage
*) 0 ;
10718 bool arg2
= (bool) True
;
10719 SwigValueWrapper
< wxImage
> result
;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self",(char *) "horizontally", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 arg2
= (bool) SWIG_AsBool(obj1
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (arg1
)->Mirror(arg2
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 wxImage
* resultptr
;
10742 resultptr
= new wxImage((wxImage
&) result
);
10743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10751 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxImage
*arg1
= (wxImage
*) 0 ;
10754 unsigned char arg2
;
10755 unsigned char arg3
;
10756 unsigned char arg4
;
10757 unsigned char arg5
;
10758 unsigned char arg6
;
10759 unsigned char arg7
;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 PyObject
* obj2
= 0 ;
10763 PyObject
* obj3
= 0 ;
10764 PyObject
* obj4
= 0 ;
10765 PyObject
* obj5
= 0 ;
10766 PyObject
* obj6
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10776 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10782 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10784 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 Py_INCREF(Py_None
); resultobj
= Py_None
;
10800 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxImage
*arg1
= (wxImage
*) 0 ;
10803 unsigned char arg2
;
10804 unsigned char arg3
;
10805 unsigned char arg4
;
10806 SwigValueWrapper
< wxImage
> result
;
10807 PyObject
* obj0
= 0 ;
10808 PyObject
* obj1
= 0 ;
10809 PyObject
* obj2
= 0 ;
10810 PyObject
* obj3
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10818 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10820 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10822 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 wxImage
* resultptr
;
10833 resultptr
= new wxImage((wxImage
&) result
);
10834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10842 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxImage
*arg1
= (wxImage
*) 0 ;
10845 wxString
*arg2
= 0 ;
10846 wxString
*arg3
= 0 ;
10847 bool temp2
= False
;
10848 bool temp3
= False
;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 PyObject
* obj2
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self",(char *) "name",(char *) "value", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 arg2
= wxString_in_helper(obj1
);
10861 if (arg2
== NULL
) SWIG_fail
;
10865 arg3
= wxString_in_helper(obj2
);
10866 if (arg3
== NULL
) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10899 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxImage
*arg1
= (wxImage
*) 0 ;
10902 wxString
*arg2
= 0 ;
10904 bool temp2
= False
;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 PyObject
* obj2
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self",(char *) "name",(char *) "value", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10916 arg2
= wxString_in_helper(obj1
);
10917 if (arg2
== NULL
) SWIG_fail
;
10920 arg3
= (int) SWIG_AsInt(obj2
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 Py_INCREF(Py_None
); resultobj
= Py_None
;
10944 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxImage
*arg1
= (wxImage
*) 0 ;
10947 wxString
*arg2
= 0 ;
10949 bool temp2
= False
;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "name", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10960 arg2
= wxString_in_helper(obj1
);
10961 if (arg2
== NULL
) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10992 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxImage
*arg1
= (wxImage
*) 0 ;
10995 wxString
*arg2
= 0 ;
10997 bool temp2
= False
;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self",(char *) "name", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11008 arg2
= wxString_in_helper(obj1
);
11009 if (arg2
== NULL
) SWIG_fail
;
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= SWIG_FromInt((int)result
);
11034 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
;
11036 wxImage
*arg1
= (wxImage
*) 0 ;
11037 wxString
*arg2
= 0 ;
11039 bool temp2
= False
;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self",(char *) "name", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 arg2
= wxString_in_helper(obj1
);
11051 if (arg2
== NULL
) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxImage
*arg1
= (wxImage
*) 0 ;
11081 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11082 unsigned long result
;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self",(char *) "stopafter", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11093 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11110 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxImage
*arg1
= (wxImage
*) 0 ;
11113 wxImageHistogram
*arg2
= 0 ;
11114 unsigned long result
;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "h", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11127 if (arg2
== NULL
) {
11128 PyErr_SetString(PyExc_TypeError
,"null reference");
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11145 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "handler", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 wxImage::AddHandler(arg1
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 Py_INCREF(Py_None
); resultobj
= Py_None
;
11170 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "handler", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 wxImage::InsertHandler(arg1
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11195 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxString
*arg1
= 0 ;
11199 bool temp1
= False
;
11200 PyObject
* obj0
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "name", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11207 arg1
= wxString_in_helper(obj0
);
11208 if (arg1
== NULL
) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11235 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11236 PyObject
*resultobj
;
11238 char *kwnames
[] = {
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= wxImage::GetImageExtWildcard();
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11263 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxImage
*arg1
= (wxImage
*) 0 ;
11267 PyObject
* obj0
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "self", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 result
= wxImage_ConvertToBitmap(arg1
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 wxBitmap
* resultptr
;
11284 resultptr
= new wxBitmap((wxBitmap
&) result
);
11285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11293 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxImage
*arg1
= (wxImage
*) 0 ;
11296 unsigned char arg2
;
11297 unsigned char arg3
;
11298 unsigned char arg4
;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 PyObject
* obj2
= 0 ;
11303 PyObject
* obj3
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11311 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11313 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11315 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 wxBitmap
* resultptr
;
11326 resultptr
= new wxBitmap((wxBitmap
&) result
);
11327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11335 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11338 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11340 return Py_BuildValue((char *)"");
11342 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
;
11344 char *kwnames
[] = {
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 wxInitAllImageHandlers();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static int _wrap_NullImage_set(PyObject
*_val
) {
11364 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11369 static PyObject
*_wrap_NullImage_get() {
11372 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11377 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11378 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11383 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11388 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11390 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11397 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11398 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11403 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11408 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11410 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11417 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11418 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11423 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11428 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11430 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11437 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11438 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11443 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11448 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11450 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11457 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11458 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11463 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11468 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11470 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11477 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxBMPHandler
*result
;
11480 char *kwnames
[] = {
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (wxBMPHandler
*)new wxBMPHandler();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11499 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11502 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11504 return Py_BuildValue((char *)"");
11506 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxICOHandler
*result
;
11509 char *kwnames
[] = {
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (wxICOHandler
*)new wxICOHandler();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11528 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11531 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11533 return Py_BuildValue((char *)"");
11535 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxCURHandler
*result
;
11538 char *kwnames
[] = {
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (wxCURHandler
*)new wxCURHandler();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11557 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11562 return Py_BuildValue((char *)"");
11564 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxANIHandler
*result
;
11567 char *kwnames
[] = {
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (wxANIHandler
*)new wxANIHandler();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11586 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11589 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11591 return Py_BuildValue((char *)"");
11593 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxPNGHandler
*result
;
11596 char *kwnames
[] = {
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (wxPNGHandler
*)new wxPNGHandler();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11615 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11618 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11620 return Py_BuildValue((char *)"");
11622 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxGIFHandler
*result
;
11625 char *kwnames
[] = {
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (wxGIFHandler
*)new wxGIFHandler();
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11644 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11647 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11649 return Py_BuildValue((char *)"");
11651 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxPCXHandler
*result
;
11654 char *kwnames
[] = {
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (wxPCXHandler
*)new wxPCXHandler();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11673 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11676 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11678 return Py_BuildValue((char *)"");
11680 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxJPEGHandler
*result
;
11683 char *kwnames
[] = {
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11702 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11705 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11707 return Py_BuildValue((char *)"");
11709 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
;
11711 wxPNMHandler
*result
;
11712 char *kwnames
[] = {
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (wxPNMHandler
*)new wxPNMHandler();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11731 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11734 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11736 return Py_BuildValue((char *)"");
11738 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11740 wxXPMHandler
*result
;
11741 char *kwnames
[] = {
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (wxXPMHandler
*)new wxXPMHandler();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11760 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11763 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11765 return Py_BuildValue((char *)"");
11767 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxTIFFHandler
*result
;
11770 char *kwnames
[] = {
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11789 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11792 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11794 return Py_BuildValue((char *)"");
11796 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxEvtHandler
*result
;
11799 char *kwnames
[] = {
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (wxEvtHandler
*)new wxEvtHandler();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= wxPyMake_wxObject(result
);
11820 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
;
11822 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11823 wxEvtHandler
*result
;
11824 PyObject
* obj0
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= wxPyMake_wxObject(result
);
11848 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11851 wxEvtHandler
*result
;
11852 PyObject
* obj0
= 0 ;
11853 char *kwnames
[] = {
11854 (char *) "self", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= wxPyMake_wxObject(result
);
11876 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11879 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "handler", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetNextHandler(arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 Py_INCREF(Py_None
); resultobj
= Py_None
;
11905 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11908 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self",(char *) "handler", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 (arg1
)->SetPreviousHandler(arg2
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 Py_INCREF(Py_None
); resultobj
= Py_None
;
11934 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11938 PyObject
* obj0
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11962 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self",(char *) "enabled", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11975 arg2
= (bool) SWIG_AsBool(obj1
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 (arg1
)->SetEvtHandlerEnabled(arg2
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 Py_INCREF(Py_None
); resultobj
= Py_None
;
11991 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11994 wxEvent
*arg2
= 0 ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "event", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12008 if (arg2
== NULL
) {
12009 PyErr_SetString(PyExc_TypeError
,"null reference");
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12028 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12031 wxEvent
*arg2
= 0 ;
12032 PyObject
* obj0
= 0 ;
12033 PyObject
* obj1
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self",(char *) "event", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12044 if (arg2
== NULL
) {
12045 PyErr_SetString(PyExc_TypeError
,"null reference");
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 (arg1
)->AddPendingEvent(*arg2
);
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 Py_INCREF(Py_None
); resultobj
= Py_None
;
12062 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12065 PyObject
* obj0
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "self", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 (arg1
)->ProcessPendingEvents();
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 Py_INCREF(Py_None
); resultobj
= Py_None
;
12087 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12093 PyObject
*arg5
= (PyObject
*) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 PyObject
* obj2
= 0 ;
12097 PyObject
* obj3
= 0 ;
12098 PyObject
* obj4
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 arg2
= (int) SWIG_AsInt(obj1
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12108 arg3
= (int) SWIG_AsInt(obj2
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12110 arg4
= (int) SWIG_AsInt(obj3
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 Py_INCREF(Py_None
); resultobj
= Py_None
;
12127 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12131 int arg3
= (int) -1 ;
12132 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12134 PyObject
* obj0
= 0 ;
12135 PyObject
* obj1
= 0 ;
12136 PyObject
* obj2
= 0 ;
12137 PyObject
* obj3
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12145 arg2
= (int) SWIG_AsInt(obj1
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 arg3
= (int) SWIG_AsInt(obj2
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12171 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12174 PyObject
*arg2
= (PyObject
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 PyObject
* obj1
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self",(char *) "_self", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 wxEvtHandler__setOORInfo(arg1
,arg2
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 Py_INCREF(Py_None
); resultobj
= Py_None
;
12199 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12202 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12204 return Py_BuildValue((char *)"");
12206 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxEventType result
;
12209 char *kwnames
[] = {
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (wxEventType
)wxNewEventType();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_FromInt((int)result
);
12228 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxEvent
*arg1
= (wxEvent
*) 0 ;
12231 PyObject
* obj0
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 Py_INCREF(Py_None
); resultobj
= Py_None
;
12253 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxEvent
*arg1
= (wxEvent
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self",(char *) "typ", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12266 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 (arg1
)->SetEventType(arg2
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 Py_INCREF(Py_None
); resultobj
= Py_None
;
12282 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxEvent
*arg1
= (wxEvent
*) 0 ;
12285 wxEventType result
;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_FromInt((int)result
);
12308 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxEvent
*arg1
= (wxEvent
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= wxPyMake_wxObject(result
);
12336 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxEvent
*arg1
= (wxEvent
*) 0 ;
12339 wxObject
*arg2
= (wxObject
*) 0 ;
12340 PyObject
* obj0
= 0 ;
12341 PyObject
* obj1
= 0 ;
12342 char *kwnames
[] = {
12343 (char *) "self",(char *) "obj", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->SetEventObject(arg2
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 Py_INCREF(Py_None
); resultobj
= Py_None
;
12365 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxEvent
*arg1
= (wxEvent
*) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_FromLong((long)result
);
12391 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxEvent
*arg1
= (wxEvent
*) 0 ;
12394 long arg2
= (long) 0 ;
12395 PyObject
* obj0
= 0 ;
12396 PyObject
* obj1
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self",(char *) "ts", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12405 arg2
= (long) SWIG_AsLong(obj1
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 (arg1
)->SetTimestamp(arg2
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 Py_INCREF(Py_None
); resultobj
= Py_None
;
12422 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxEvent
*arg1
= (wxEvent
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (int)((wxEvent
const *)arg1
)->GetId();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_FromInt((int)result
);
12448 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxEvent
*arg1
= (wxEvent
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self",(char *) "Id", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 arg2
= (int) SWIG_AsInt(obj1
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->SetId(arg2
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 Py_INCREF(Py_None
); resultobj
= Py_None
;
12477 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxEvent
*arg1
= (wxEvent
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12505 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxEvent
*arg1
= (wxEvent
*) 0 ;
12508 bool arg2
= (bool) True
;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self",(char *) "skip", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12519 arg2
= (bool) SWIG_AsBool(obj1
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->Skip(arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 Py_INCREF(Py_None
); resultobj
= Py_None
;
12536 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxEvent
*arg1
= (wxEvent
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12564 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxEvent
*arg1
= (wxEvent
*) 0 ;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12592 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxEvent
*arg1
= (wxEvent
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (int)(arg1
)->StopPropagation();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= SWIG_FromInt((int)result
);
12618 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxEvent
*arg1
= (wxEvent
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self",(char *) "propagationLevel", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12631 arg2
= (int) SWIG_AsInt(obj1
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->ResumePropagation(arg2
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 Py_INCREF(Py_None
); resultobj
= Py_None
;
12647 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxEvent
*arg1
= (wxEvent
*) 0 ;
12651 PyObject
* obj0
= 0 ;
12652 char *kwnames
[] = {
12653 (char *) "self", NULL
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (wxEvent
*)(arg1
)->Clone();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12673 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12676 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12678 return Py_BuildValue((char *)"");
12680 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxEvent
*arg1
= 0 ;
12683 wxPropagationDisabler
*result
;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "event", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12693 if (arg1
== NULL
) {
12694 PyErr_SetString(PyExc_TypeError
,"null reference");
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12711 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
;
12713 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 char *kwnames
[] = {
12716 (char *) "self", NULL
12719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 Py_INCREF(Py_None
); resultobj
= Py_None
;
12736 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12739 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12741 return Py_BuildValue((char *)"");
12743 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxEvent
*arg1
= 0 ;
12746 wxPropagateOnce
*result
;
12747 PyObject
* obj0
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "event", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12756 if (arg1
== NULL
) {
12757 PyErr_SetString(PyExc_TypeError
,"null reference");
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12774 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
*resultobj
;
12776 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 Py_INCREF(Py_None
); resultobj
= Py_None
;
12799 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12802 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12804 return Py_BuildValue((char *)"");
12806 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12809 int arg2
= (int) 0 ;
12810 wxCommandEvent
*result
;
12811 PyObject
* obj0
= 0 ;
12812 PyObject
* obj1
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "commandType",(char *) "winid", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12819 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12823 arg2
= (int) SWIG_AsInt(obj1
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12840 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_FromInt((int)result
);
12866 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12869 wxString
*arg2
= 0 ;
12870 bool temp2
= False
;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "s", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 arg2
= wxString_in_helper(obj1
);
12882 if (arg2
== NULL
) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 (arg1
)->SetString((wxString
const &)*arg2
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 Py_INCREF(Py_None
); resultobj
= Py_None
;
12907 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12939 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12967 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12995 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "extraLong", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 arg2
= (long) SWIG_AsLong(obj1
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 (arg1
)->SetExtraLong(arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 Py_INCREF(Py_None
); resultobj
= Py_None
;
13024 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_FromLong((long)result
);
13050 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "i", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13063 arg2
= (int) SWIG_AsInt(obj1
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 (arg1
)->SetInt(arg2
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 Py_INCREF(Py_None
); resultobj
= Py_None
;
13079 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_FromLong((long)result
);
13105 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13131 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13134 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13136 return Py_BuildValue((char *)"");
13138 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13141 int arg2
= (int) 0 ;
13142 wxNotifyEvent
*result
;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "commandType",(char *) "winid", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13151 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 arg2
= (int) SWIG_AsInt(obj1
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13172 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 Py_INCREF(Py_None
); resultobj
= Py_None
;
13197 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
;
13199 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 Py_INCREF(Py_None
); resultobj
= Py_None
;
13222 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (bool)(arg1
)->IsAllowed();
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13250 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13253 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13255 return Py_BuildValue((char *)"");
13257 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13260 int arg2
= (int) 0 ;
13261 int arg3
= (int) 0 ;
13262 int arg4
= (int) 0 ;
13263 wxScrollEvent
*result
;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 PyObject
* obj2
= 0 ;
13267 PyObject
* obj3
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13274 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13278 arg2
= (int) SWIG_AsInt(obj1
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13282 arg3
= (int) SWIG_AsInt(obj2
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 arg4
= (int) SWIG_AsInt(obj3
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13303 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_FromInt((int)result
);
13329 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= SWIG_FromInt((int)result
);
13355 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "orient", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 arg2
= (int) SWIG_AsInt(obj1
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 (arg1
)->SetOrientation(arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 Py_INCREF(Py_None
); resultobj
= Py_None
;
13384 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "pos", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 arg2
= (int) SWIG_AsInt(obj1
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 (arg1
)->SetPosition(arg2
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 Py_INCREF(Py_None
); resultobj
= Py_None
;
13413 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13416 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13418 return Py_BuildValue((char *)"");
13420 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13423 int arg2
= (int) 0 ;
13424 int arg3
= (int) 0 ;
13425 wxScrollWinEvent
*result
;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 PyObject
* obj2
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13435 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13439 arg2
= (int) SWIG_AsInt(obj1
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13443 arg3
= (int) SWIG_AsInt(obj2
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13460 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_FromInt((int)result
);
13486 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_FromInt((int)result
);
13512 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "orient", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13525 arg2
= (int) SWIG_AsInt(obj1
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 (arg1
)->SetOrientation(arg2
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 Py_INCREF(Py_None
); resultobj
= Py_None
;
13541 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "pos", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 arg2
= (int) SWIG_AsInt(obj1
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 (arg1
)->SetPosition(arg2
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 Py_INCREF(Py_None
); resultobj
= Py_None
;
13570 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13573 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13575 return Py_BuildValue((char *)"");
13577 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13580 wxMouseEvent
*result
;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "mouseType", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13588 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= wxPyMake_wxObject(result
);
13607 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13611 PyObject
* obj0
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13635 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
;
13637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13638 int arg2
= (int) wxMOUSE_BTN_ANY
;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self",(char *) "but", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13650 arg2
= (int) SWIG_AsInt(obj1
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13669 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13672 int arg2
= (int) wxMOUSE_BTN_ANY
;
13674 PyObject
* obj0
= 0 ;
13675 PyObject
* obj1
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self",(char *) "but", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 arg2
= (int) SWIG_AsInt(obj1
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13703 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13706 int arg2
= (int) wxMOUSE_BTN_ANY
;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self",(char *) "but", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13718 arg2
= (int) SWIG_AsInt(obj1
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13737 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13742 PyObject
* obj0
= 0 ;
13743 PyObject
* obj1
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self",(char *) "but", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13751 arg2
= (int) SWIG_AsInt(obj1
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13769 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self",(char *) "but", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13783 arg2
= (int) SWIG_AsInt(obj1
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13801 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13805 PyObject
* obj0
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= SWIG_FromInt((int)result
);
13827 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13828 PyObject
*resultobj
;
13829 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 char *kwnames
[] = {
13833 (char *) "self", NULL
13836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13855 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13883 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13911 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 char *kwnames
[] = {
13917 (char *) "self", NULL
13920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13939 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13967 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 char *kwnames
[] = {
13973 (char *) "self", NULL
13976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13995 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14023 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14051 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self", NULL
14060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14079 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self", NULL
14088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14107 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14135 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14163 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14191 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (bool)(arg1
)->LeftIsDown();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14219 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)(arg1
)->MiddleIsDown();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14247 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (bool)(arg1
)->RightIsDown();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14275 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14331 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14359 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14387 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (arg1
)->GetPosition();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 wxPoint
* resultptr
;
14408 resultptr
= new wxPoint((wxPoint
&) result
);
14409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14417 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14420 long *arg2
= (long *) 0 ;
14421 long *arg3
= (long *) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 (arg1
)->GetPosition(arg2
,arg3
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 Py_INCREF(Py_None
); resultobj
= Py_None
;
14443 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14444 resultobj
= t_output_helper(resultobj
,o
);
14447 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14448 resultobj
= t_output_helper(resultobj
,o
);
14456 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self",(char *) "dc", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14473 if (arg2
== NULL
) {
14474 PyErr_SetString(PyExc_TypeError
,"null reference");
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 wxPoint
* resultptr
;
14486 resultptr
= new wxPoint((wxPoint
&) result
);
14487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14495 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14499 PyObject
* obj0
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= SWIG_FromInt((int)result
);
14521 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= SWIG_FromInt((int)result
);
14547 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_FromInt((int)result
);
14573 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_FromInt((int)result
);
14599 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= SWIG_FromInt((int)result
);
14625 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14653 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 PyObject
* obj1
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self",(char *) "m_x", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14666 arg2
= (int) SWIG_AsInt(obj1
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14668 if (arg1
) (arg1
)->m_x
= arg2
;
14670 Py_INCREF(Py_None
); resultobj
= Py_None
;
14677 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14689 result
= (int) ((arg1
)->m_x
);
14691 resultobj
= SWIG_FromInt((int)result
);
14698 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "m_y", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 arg2
= (int) SWIG_AsInt(obj1
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14713 if (arg1
) (arg1
)->m_y
= arg2
;
14715 Py_INCREF(Py_None
); resultobj
= Py_None
;
14722 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 result
= (int) ((arg1
)->m_y
);
14736 resultobj
= SWIG_FromInt((int)result
);
14743 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self",(char *) "m_leftDown", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 arg2
= (bool) SWIG_AsBool(obj1
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14758 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14760 Py_INCREF(Py_None
); resultobj
= Py_None
;
14767 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 result
= (bool) ((arg1
)->m_leftDown
);
14782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14790 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 PyObject
* obj1
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self",(char *) "m_middleDown", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 arg2
= (bool) SWIG_AsBool(obj1
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14805 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14807 Py_INCREF(Py_None
); resultobj
= Py_None
;
14814 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 result
= (bool) ((arg1
)->m_middleDown
);
14829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14837 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self",(char *) "m_rightDown", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 arg2
= (bool) SWIG_AsBool(obj1
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14852 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14854 Py_INCREF(Py_None
); resultobj
= Py_None
;
14861 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 result
= (bool) ((arg1
)->m_rightDown
);
14876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14884 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self",(char *) "m_controlDown", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 arg2
= (bool) SWIG_AsBool(obj1
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14899 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14901 Py_INCREF(Py_None
); resultobj
= Py_None
;
14908 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 result
= (bool) ((arg1
)->m_controlDown
);
14923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14931 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self",(char *) "m_shiftDown", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 arg2
= (bool) SWIG_AsBool(obj1
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14946 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14948 Py_INCREF(Py_None
); resultobj
= Py_None
;
14955 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 result
= (bool) ((arg1
)->m_shiftDown
);
14970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14978 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self",(char *) "m_altDown", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 arg2
= (bool) SWIG_AsBool(obj1
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14993 if (arg1
) (arg1
)->m_altDown
= arg2
;
14995 Py_INCREF(Py_None
); resultobj
= Py_None
;
15002 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 result
= (bool) ((arg1
)->m_altDown
);
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15025 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "m_metaDown", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 arg2
= (bool) SWIG_AsBool(obj1
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15040 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15042 Py_INCREF(Py_None
); resultobj
= Py_None
;
15049 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15061 result
= (bool) ((arg1
)->m_metaDown
);
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15072 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self",(char *) "m_wheelRotation", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15085 arg2
= (int) SWIG_AsInt(obj1
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15087 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15089 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 result
= (int) ((arg1
)->m_wheelRotation
);
15110 resultobj
= SWIG_FromInt((int)result
);
15117 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self",(char *) "m_wheelDelta", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 arg2
= (int) SWIG_AsInt(obj1
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15132 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 result
= (int) ((arg1
)->m_wheelDelta
);
15155 resultobj
= SWIG_FromInt((int)result
);
15162 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "m_linesPerAction", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 arg2
= (int) SWIG_AsInt(obj1
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15177 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15186 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 result
= (int) ((arg1
)->m_linesPerAction
);
15200 resultobj
= SWIG_FromInt((int)result
);
15207 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15212 return Py_BuildValue((char *)"");
15214 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 int arg1
= (int) 0 ;
15217 int arg2
= (int) 0 ;
15218 wxSetCursorEvent
*result
;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "x",(char *) "y", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15227 arg1
= (int) SWIG_AsInt(obj0
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 arg2
= (int) SWIG_AsInt(obj1
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15248 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_FromInt((int)result
);
15274 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_FromInt((int)result
);
15300 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15303 wxCursor
*arg2
= 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "cursor", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15316 if (arg2
== NULL
) {
15317 PyErr_SetString(PyExc_TypeError
,"null reference");
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 Py_INCREF(Py_None
); resultobj
= Py_None
;
15334 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15350 result
= (wxCursor
*) &_result_ref
;
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15357 wxCursor
* resultptr
= new wxCursor(*result
);
15358 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15366 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15394 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15399 return Py_BuildValue((char *)"");
15401 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15404 wxKeyEvent
*result
;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "keyType", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15412 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15429 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15457 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15485 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15513 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15541 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
;
15543 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15545 PyObject
* obj0
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15569 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= SWIG_FromInt((int)result
);
15595 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= SWIG_FromInt((int)result
);
15621 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
;
15623 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15624 unsigned int result
;
15625 PyObject
* obj0
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15647 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15650 unsigned int result
;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15673 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (arg1
)->GetPosition();
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15693 wxPoint
* resultptr
;
15694 resultptr
= new wxPoint((wxPoint
&) result
);
15695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15703 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15706 long *arg2
= (long *) 0 ;
15707 long *arg3
= (long *) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 (arg1
)->GetPosition(arg2
,arg3
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 Py_INCREF(Py_None
); resultobj
= Py_None
;
15729 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15730 resultobj
= t_output_helper(resultobj
,o
);
15733 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15734 resultobj
= t_output_helper(resultobj
,o
);
15742 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_FromInt((int)result
);
15768 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= SWIG_FromInt((int)result
);
15794 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "m_x", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15807 arg2
= (int) SWIG_AsInt(obj1
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15809 if (arg1
) (arg1
)->m_x
= arg2
;
15811 Py_INCREF(Py_None
); resultobj
= Py_None
;
15818 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 result
= (int) ((arg1
)->m_x
);
15832 resultobj
= SWIG_FromInt((int)result
);
15839 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15843 PyObject
* obj0
= 0 ;
15844 PyObject
* obj1
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self",(char *) "m_y", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15852 arg2
= (int) SWIG_AsInt(obj1
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15854 if (arg1
) (arg1
)->m_y
= arg2
;
15856 Py_INCREF(Py_None
); resultobj
= Py_None
;
15863 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15875 result
= (int) ((arg1
)->m_y
);
15877 resultobj
= SWIG_FromInt((int)result
);
15884 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
;
15886 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self",(char *) "m_keyCode", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15897 arg2
= (long) SWIG_AsLong(obj1
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15899 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15901 Py_INCREF(Py_None
); resultobj
= Py_None
;
15908 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15920 result
= (long) ((arg1
)->m_keyCode
);
15922 resultobj
= SWIG_FromLong((long)result
);
15929 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 PyObject
* obj1
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "self",(char *) "m_controlDown", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 arg2
= (bool) SWIG_AsBool(obj1
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15944 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15946 Py_INCREF(Py_None
); resultobj
= Py_None
;
15953 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15957 PyObject
* obj0
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 result
= (bool) ((arg1
)->m_controlDown
);
15968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15976 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 PyObject
* obj1
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self",(char *) "m_shiftDown", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15989 arg2
= (bool) SWIG_AsBool(obj1
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15991 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15993 Py_INCREF(Py_None
); resultobj
= Py_None
;
16000 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16004 PyObject
* obj0
= 0 ;
16005 char *kwnames
[] = {
16006 (char *) "self", NULL
16009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 result
= (bool) ((arg1
)->m_shiftDown
);
16015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16023 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16027 PyObject
* obj0
= 0 ;
16028 PyObject
* obj1
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self",(char *) "m_altDown", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16036 arg2
= (bool) SWIG_AsBool(obj1
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16038 if (arg1
) (arg1
)->m_altDown
= arg2
;
16040 Py_INCREF(Py_None
); resultobj
= Py_None
;
16047 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16051 PyObject
* obj0
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16059 result
= (bool) ((arg1
)->m_altDown
);
16062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16070 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16074 PyObject
* obj0
= 0 ;
16075 PyObject
* obj1
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self",(char *) "m_metaDown", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16083 arg2
= (bool) SWIG_AsBool(obj1
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16085 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16087 Py_INCREF(Py_None
); resultobj
= Py_None
;
16094 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 result
= (bool) ((arg1
)->m_metaDown
);
16109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16117 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self",(char *) "m_scanCode", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 arg2
= (bool) SWIG_AsBool(obj1
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16132 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16134 Py_INCREF(Py_None
); resultobj
= Py_None
;
16141 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16153 result
= (bool) ((arg1
)->m_scanCode
);
16156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16164 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16167 unsigned int arg2
;
16168 PyObject
* obj0
= 0 ;
16169 PyObject
* obj1
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self",(char *) "m_rawCode", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16177 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16179 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16181 Py_INCREF(Py_None
); resultobj
= Py_None
;
16188 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16191 unsigned int result
;
16192 PyObject
* obj0
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 result
= (unsigned int) ((arg1
)->m_rawCode
);
16202 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16209 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16212 unsigned int arg2
;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self",(char *) "m_rawFlags", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16224 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16226 Py_INCREF(Py_None
); resultobj
= Py_None
;
16233 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16236 unsigned int result
;
16237 PyObject
* obj0
= 0 ;
16238 char *kwnames
[] = {
16239 (char *) "self", NULL
16242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16245 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16247 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16254 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16257 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16259 return Py_BuildValue((char *)"");
16261 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16264 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16265 int arg2
= (int) 0 ;
16266 wxSizeEvent
*result
;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "sz",(char *) "winid", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16278 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16282 arg2
= (int) SWIG_AsInt(obj1
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16299 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16303 PyObject
* obj0
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 wxSize
* resultptr
;
16320 resultptr
= new wxSize((wxSize
&) result
);
16321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16329 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 wxRect
* resultptr
;
16350 resultptr
= new wxRect((wxRect
&) result
);
16351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16359 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 char *kwnames
[] = {
16367 (char *) "self",(char *) "rect", NULL
16370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16373 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16374 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 (arg1
)->SetRect(arg2
);
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "size", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16405 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 wxSizeEvent_SetSize(arg1
,arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 Py_INCREF(Py_None
); resultobj
= Py_None
;
16421 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16424 wxSize
*arg2
= (wxSize
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "m_size", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16436 if (arg1
) (arg1
)->m_size
= *arg2
;
16438 Py_INCREF(Py_None
); resultobj
= Py_None
;
16445 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16449 PyObject
* obj0
= 0 ;
16450 char *kwnames
[] = {
16451 (char *) "self", NULL
16454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16457 result
= (wxSize
*)& ((arg1
)->m_size
);
16459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16466 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16469 wxRect
*arg2
= (wxRect
*) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 PyObject
* obj1
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self",(char *) "m_rect", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 if (arg1
) (arg1
)->m_rect
= *arg2
;
16483 Py_INCREF(Py_None
); resultobj
= Py_None
;
16490 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16502 result
= (wxRect
*)& ((arg1
)->m_rect
);
16504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16511 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16514 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16516 return Py_BuildValue((char *)"");
16518 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16521 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16522 int arg2
= (int) 0 ;
16523 wxMoveEvent
*result
;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "pos",(char *) "winid", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16535 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16539 arg2
= (int) SWIG_AsInt(obj1
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16556 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 wxPoint
* resultptr
;
16577 resultptr
= new wxPoint((wxPoint
&) result
);
16578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16586 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16606 wxRect
* resultptr
;
16607 resultptr
= new wxRect((wxRect
&) result
);
16608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16616 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "rect", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16630 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16631 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 (arg1
)->SetRect(arg2
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 Py_INCREF(Py_None
); resultobj
= Py_None
;
16647 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self",(char *) "pos", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16661 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16662 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 wxMoveEvent_SetPosition(arg1
,arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16678 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16681 wxPoint
*arg2
= (wxPoint
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "m_pos", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 if (arg1
) (arg1
)->m_pos
= *arg2
;
16695 Py_INCREF(Py_None
); resultobj
= Py_None
;
16702 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16706 PyObject
* obj0
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "self", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16714 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16723 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16726 wxRect
*arg2
= (wxRect
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self",(char *) "m_rect", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16738 if (arg1
) (arg1
)->m_rect
= *arg2
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16751 PyObject
* obj0
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16759 result
= (wxRect
*)& ((arg1
)->m_rect
);
16761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16768 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16771 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16773 return Py_BuildValue((char *)"");
16775 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 int arg1
= (int) 0 ;
16778 wxPaintEvent
*result
;
16779 PyObject
* obj0
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "Id", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16786 arg1
= (int) SWIG_AsInt(obj0
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16803 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16806 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16808 return Py_BuildValue((char *)"");
16810 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 int arg1
= (int) 0 ;
16813 wxNcPaintEvent
*result
;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "winid", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16821 arg1
= (int) SWIG_AsInt(obj0
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16838 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16841 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16843 return Py_BuildValue((char *)"");
16845 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 int arg1
= (int) 0 ;
16848 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16849 wxEraseEvent
*result
;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "Id",(char *) "dc", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16858 arg1
= (int) SWIG_AsInt(obj0
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16879 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= wxPyMake_wxObject(result
);
16907 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16910 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16912 return Py_BuildValue((char *)"");
16914 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16917 int arg2
= (int) 0 ;
16918 wxFocusEvent
*result
;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "type",(char *) "winid", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16931 arg2
= (int) SWIG_AsInt(obj1
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16948 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16952 PyObject
* obj0
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= wxPyMake_wxObject(result
);
16976 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16979 wxWindow
*arg2
= (wxWindow
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "win", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 (arg1
)->SetWindow(arg2
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 Py_INCREF(Py_None
); resultobj
= Py_None
;
17005 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17008 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17010 return Py_BuildValue((char *)"");
17012 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxWindow
*arg1
= (wxWindow
*) NULL
;
17015 wxChildFocusEvent
*result
;
17016 PyObject
* obj0
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "win", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17040 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= wxPyMake_wxObject(result
);
17068 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17071 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17073 return Py_BuildValue((char *)"");
17075 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17078 bool arg2
= (bool) True
;
17079 int arg3
= (int) 0 ;
17080 wxActivateEvent
*result
;
17081 PyObject
* obj0
= 0 ;
17082 PyObject
* obj1
= 0 ;
17083 PyObject
* obj2
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "type",(char *) "active",(char *) "Id", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17090 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 arg2
= (bool) SWIG_AsBool(obj1
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 arg3
= (int) SWIG_AsInt(obj2
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17115 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
;
17117 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17119 PyObject
* obj0
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17143 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17146 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17148 return Py_BuildValue((char *)"");
17150 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 int arg1
= (int) 0 ;
17153 wxInitDialogEvent
*result
;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "Id", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17161 arg1
= (int) SWIG_AsInt(obj0
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17178 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17181 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17183 return Py_BuildValue((char *)"");
17185 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17188 int arg2
= (int) 0 ;
17189 wxMenu
*arg3
= (wxMenu
*) NULL
;
17190 wxMenuEvent
*result
;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 PyObject
* obj2
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "type",(char *) "winid",(char *) "menu", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17200 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17204 arg2
= (int) SWIG_AsInt(obj1
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17225 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= SWIG_FromInt((int)result
);
17251 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17279 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= wxPyMake_wxObject(result
);
17307 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17310 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17312 return Py_BuildValue((char *)"");
17314 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17317 int arg2
= (int) 0 ;
17318 wxCloseEvent
*result
;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "type",(char *) "winid", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17327 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 arg2
= (int) SWIG_AsInt(obj1
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17348 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "logOff", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17361 arg2
= (bool) SWIG_AsBool(obj1
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 (arg1
)->SetLoggingOff(arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 Py_INCREF(Py_None
); resultobj
= Py_None
;
17377 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17405 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17408 bool arg2
= (bool) True
;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "veto", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17419 arg2
= (bool) SWIG_AsBool(obj1
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 (arg1
)->Veto(arg2
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 Py_INCREF(Py_None
); resultobj
= Py_None
;
17436 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self",(char *) "canVeto", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17449 arg2
= (bool) SWIG_AsBool(obj1
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 (arg1
)->SetCanVeto(arg2
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 Py_INCREF(Py_None
); resultobj
= Py_None
;
17465 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17493 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17521 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17524 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17526 return Py_BuildValue((char *)"");
17528 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 int arg1
= (int) 0 ;
17531 bool arg2
= (bool) False
;
17532 wxShowEvent
*result
;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "winid",(char *) "show", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17541 arg1
= (int) SWIG_AsInt(obj0
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17545 arg2
= (bool) SWIG_AsBool(obj1
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17562 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self",(char *) "show", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17575 arg2
= (bool) SWIG_AsBool(obj1
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->SetShow(arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 Py_INCREF(Py_None
); resultobj
= Py_None
;
17591 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17595 PyObject
* obj0
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17619 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17622 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17624 return Py_BuildValue((char *)"");
17626 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 int arg1
= (int) 0 ;
17629 bool arg2
= (bool) True
;
17630 wxIconizeEvent
*result
;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "id",(char *) "iconized", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17639 arg1
= (int) SWIG_AsInt(obj0
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17643 arg2
= (bool) SWIG_AsBool(obj1
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17660 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (bool)(arg1
)->Iconized();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17688 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17691 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17693 return Py_BuildValue((char *)"");
17695 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 int arg1
= (int) 0 ;
17698 wxMaximizeEvent
*result
;
17699 PyObject
* obj0
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "id", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17706 arg1
= (int) SWIG_AsInt(obj0
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17723 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17726 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17728 return Py_BuildValue((char *)"");
17730 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17734 PyObject
* obj0
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (arg1
)->GetPosition();
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17750 wxPoint
* resultptr
;
17751 resultptr
= new wxPoint((wxPoint
&) result
);
17752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17760 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (int)(arg1
)->GetNumberOfFiles();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= SWIG_FromInt((int)result
);
17786 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= result
;
17812 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17815 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17817 return Py_BuildValue((char *)"");
17819 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 int arg1
= (int) 0 ;
17822 wxUpdateUIEvent
*result
;
17823 PyObject
* obj0
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "commandId", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17830 arg1
= (int) SWIG_AsInt(obj0
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17847 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17875 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17903 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17935 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17963 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17991 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18019 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "check", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 arg2
= (bool) SWIG_AsBool(obj1
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 (arg1
)->Check(arg2
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 Py_INCREF(Py_None
); resultobj
= Py_None
;
18048 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
;
18050 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "enable", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 arg2
= (bool) SWIG_AsBool(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 (arg1
)->Enable(arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 Py_INCREF(Py_None
); resultobj
= Py_None
;
18077 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18080 wxString
*arg2
= 0 ;
18081 bool temp2
= False
;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "self",(char *) "text", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18092 arg2
= wxString_in_helper(obj1
);
18093 if (arg2
== NULL
) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->SetText((wxString
const &)*arg2
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18118 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "updateInterval", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18127 arg1
= (long) SWIG_AsLong(obj0
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 Py_INCREF(Py_None
); resultobj
= Py_None
;
18143 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18146 char *kwnames
[] = {
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= SWIG_FromLong((long)result
);
18165 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxWindow
*arg1
= (wxWindow
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "win", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18193 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 char *kwnames
[] = {
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 wxUpdateUIEvent::ResetUpdateTime();
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 Py_INCREF(Py_None
); resultobj
= Py_None
;
18214 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18217 PyObject
* obj0
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "mode", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18223 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 Py_INCREF(Py_None
); resultobj
= Py_None
;
18239 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
;
18242 char *kwnames
[] = {
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (int)wxUpdateUIEvent::GetMode();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_FromInt((int)result
);
18261 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18264 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18266 return Py_BuildValue((char *)"");
18268 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxSysColourChangedEvent
*result
;
18271 char *kwnames
[] = {
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18290 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18293 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18295 return Py_BuildValue((char *)"");
18297 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 int arg1
= (int) 0 ;
18300 wxWindow
*arg2
= (wxWindow
*) NULL
;
18301 wxMouseCaptureChangedEvent
*result
;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "winid",(char *) "gainedCapture", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18310 arg1
= (int) SWIG_AsInt(obj0
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18331 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= wxPyMake_wxObject(result
);
18359 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18362 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18364 return Py_BuildValue((char *)"");
18366 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxDisplayChangedEvent
*result
;
18369 char *kwnames
[] = {
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18388 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18391 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18393 return Py_BuildValue((char *)"");
18395 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 int arg1
= (int) 0 ;
18398 wxPaletteChangedEvent
*result
;
18399 PyObject
* obj0
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "id", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18406 arg1
= (int) SWIG_AsInt(obj0
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18423 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18426 wxWindow
*arg2
= (wxWindow
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "win", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->SetChangedWindow(arg2
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 Py_INCREF(Py_None
); resultobj
= Py_None
;
18452 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= wxPyMake_wxObject(result
);
18480 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18483 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18485 return Py_BuildValue((char *)"");
18487 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 int arg1
= (int) 0 ;
18490 wxQueryNewPaletteEvent
*result
;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "winid", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18498 arg1
= (int) SWIG_AsInt(obj0
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18515 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 PyObject
* obj1
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self",(char *) "realized", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18528 arg2
= (bool) SWIG_AsBool(obj1
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 (arg1
)->SetPaletteRealized(arg2
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 Py_INCREF(Py_None
); resultobj
= Py_None
;
18544 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18572 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18577 return Py_BuildValue((char *)"");
18579 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxNavigationKeyEvent
*result
;
18582 char *kwnames
[] = {
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18601 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18629 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "bForward", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18642 arg2
= (bool) SWIG_AsBool(obj1
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 (arg1
)->SetDirection(arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 Py_INCREF(Py_None
); resultobj
= Py_None
;
18658 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18686 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18690 PyObject
* obj0
= 0 ;
18691 PyObject
* obj1
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self",(char *) "bIs", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18699 arg2
= (bool) SWIG_AsBool(obj1
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 (arg1
)->SetWindowChange(arg2
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 Py_INCREF(Py_None
); resultobj
= Py_None
;
18715 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18719 PyObject
* obj0
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18735 resultobj
= wxPyMake_wxObject(result
);
18743 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18746 wxWindow
*arg2
= (wxWindow
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self",(char *) "win", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 (arg1
)->SetCurrentFocus(arg2
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 Py_INCREF(Py_None
); resultobj
= Py_None
;
18772 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18775 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18777 return Py_BuildValue((char *)"");
18779 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxWindow
*arg1
= (wxWindow
*) NULL
;
18782 wxWindowCreateEvent
*result
;
18783 PyObject
* obj0
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "win", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18807 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= wxPyMake_wxObject(result
);
18835 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18838 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18840 return Py_BuildValue((char *)"");
18842 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxWindow
*arg1
= (wxWindow
*) NULL
;
18845 wxWindowDestroyEvent
*result
;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "win", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18870 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= wxPyMake_wxObject(result
);
18898 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18901 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18903 return Py_BuildValue((char *)"");
18905 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18908 int arg2
= (int) 0 ;
18909 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18910 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18911 wxContextMenuEvent
*result
;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 PyObject
* obj2
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "type",(char *) "winid",(char *) "pt", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18922 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18926 arg2
= (int) SWIG_AsInt(obj1
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18932 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18949 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18965 result
= (wxPoint
*) &_result_ref
;
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18978 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18981 wxPoint
*arg2
= 0 ;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self",(char *) "pos", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18994 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 Py_INCREF(Py_None
); resultobj
= Py_None
;
19010 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19013 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19015 return Py_BuildValue((char *)"");
19017 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxIdleEvent
*result
;
19020 char *kwnames
[] = {
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (wxIdleEvent
*)new wxIdleEvent();
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19039 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19042 bool arg2
= (bool) True
;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self",(char *) "needMore", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 arg2
= (bool) SWIG_AsBool(obj1
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->RequestMore(arg2
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19098 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "mode", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19107 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 Py_INCREF(Py_None
); resultobj
= Py_None
;
19123 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19126 char *kwnames
[] = {
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (int)wxIdleEvent::GetMode();
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= SWIG_FromInt((int)result
);
19145 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
;
19147 wxWindow
*arg1
= (wxWindow
*) 0 ;
19149 PyObject
* obj0
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "win", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 result
= (bool)wxIdleEvent::CanSend(arg1
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19173 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19176 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19178 return Py_BuildValue((char *)"");
19180 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 int arg1
= (int) 0 ;
19183 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "winid",(char *) "commandType", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19193 arg1
= (int) SWIG_AsInt(obj0
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19197 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19214 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 Py_INCREF(Py_None
); resultobj
= Py_None
;
19239 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19242 PyObject
*arg2
= (PyObject
*) 0 ;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 char *kwnames
[] = {
19246 (char *) "self",(char *) "self", NULL
19249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 (arg1
)->SetSelf(arg2
);
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 Py_INCREF(Py_None
); resultobj
= Py_None
;
19267 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19271 PyObject
* obj0
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= (PyObject
*)(arg1
)->GetSelf();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= result
;
19293 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19296 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19298 return Py_BuildValue((char *)"");
19300 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19303 int arg2
= (int) 0 ;
19304 wxPyCommandEvent
*result
;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "commandType",(char *) "id", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19313 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19317 arg2
= (int) SWIG_AsInt(obj1
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19334 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 Py_INCREF(Py_None
); resultobj
= Py_None
;
19359 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19362 PyObject
*arg2
= (PyObject
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "self", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 (arg1
)->SetSelf(arg2
);
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 Py_INCREF(Py_None
); resultobj
= Py_None
;
19387 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 result
= (PyObject
*)(arg1
)->GetSelf();
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 resultobj
= result
;
19413 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19416 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19418 return Py_BuildValue((char *)"");
19420 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
;
19423 char *kwnames
[] = {
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (wxPyApp
*)new_wxPyApp();
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19436 resultobj
= wxPyMake_wxObject(result
);
19444 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 Py_INCREF(Py_None
); resultobj
= Py_None
;
19469 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19472 PyObject
*arg2
= (PyObject
*) 0 ;
19473 PyObject
*arg3
= (PyObject
*) 0 ;
19474 PyObject
* obj0
= 0 ;
19475 PyObject
* obj1
= 0 ;
19476 PyObject
* obj2
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "self",(char *) "_class", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 Py_INCREF(Py_None
); resultobj
= Py_None
;
19500 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "self", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19532 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19535 wxString
*arg2
= 0 ;
19536 bool temp2
= False
;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "name", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19547 arg2
= wxString_in_helper(obj1
);
19548 if (arg2
== NULL
) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->SetAppName((wxString
const &)*arg2
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 Py_INCREF(Py_None
); resultobj
= Py_None
;
19573 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19605 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19608 wxString
*arg2
= 0 ;
19609 bool temp2
= False
;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self",(char *) "name", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19620 arg2
= wxString_in_helper(obj1
);
19621 if (arg2
== NULL
) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 (arg1
)->SetClassName((wxString
const &)*arg2
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 Py_INCREF(Py_None
); resultobj
= Py_None
;
19646 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19662 result
= (wxString
*) &_result_ref
;
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19672 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19681 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19684 wxString
*arg2
= 0 ;
19685 bool temp2
= False
;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self",(char *) "name", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19696 arg2
= wxString_in_helper(obj1
);
19697 if (arg2
== NULL
) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 Py_INCREF(Py_None
); resultobj
= Py_None
;
19722 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19725 wxAppTraits
*result
;
19726 PyObject
* obj0
= 0 ;
19727 char *kwnames
[] = {
19728 (char *) "self", NULL
19731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19748 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19751 PyObject
* obj0
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->ProcessPendingEvents();
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19776 bool arg2
= (bool) False
;
19778 PyObject
* obj0
= 0 ;
19779 PyObject
* obj1
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self",(char *) "onlyIfNeeded", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 arg2
= (bool) SWIG_AsBool(obj1
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (bool)(arg1
)->Yield(arg2
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19807 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 (arg1
)->WakeUpIdle();
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 Py_INCREF(Py_None
); resultobj
= Py_None
;
19832 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19836 PyObject
* obj0
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= (int)(arg1
)->MainLoop();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= SWIG_FromInt((int)result
);
19858 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",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();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 (arg1
)->ExitMainLoop();
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 Py_INCREF(Py_None
); resultobj
= Py_None
;
19908 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19912 PyObject
* obj0
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 result
= (bool)(arg1
)->Pending();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19936 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (bool)(arg1
)->Dispatch();
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19964 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19968 PyObject
* obj0
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= (bool)(arg1
)->ProcessIdle();
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19992 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19995 wxWindow
*arg2
= (wxWindow
*) 0 ;
19996 wxIdleEvent
*arg3
= 0 ;
19998 PyObject
* obj0
= 0 ;
19999 PyObject
* obj1
= 0 ;
20000 PyObject
* obj2
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "win",(char *) "event", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20013 if (arg3
== NULL
) {
20014 PyErr_SetString(PyExc_TypeError
,"null reference");
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20033 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 char *kwnames
[] = {
20039 (char *) "self", NULL
20042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20061 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
;
20063 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20064 wxWindow
*arg2
= (wxWindow
*) 0 ;
20065 PyObject
* obj0
= 0 ;
20066 PyObject
* obj1
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "win", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 (arg1
)->SetTopWindow(arg2
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 Py_INCREF(Py_None
); resultobj
= Py_None
;
20090 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= wxPyMake_wxObject(result
);
20118 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self",(char *) "flag", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 arg2
= (bool) SWIG_AsBool(obj1
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->SetExitOnFrameDelete(arg2
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20147 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20175 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 PyObject
* obj1
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self",(char *) "flag", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20188 arg2
= (bool) SWIG_AsBool(obj1
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 (arg1
)->SetUseBestVisual(arg2
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 Py_INCREF(Py_None
); resultobj
= Py_None
;
20204 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self",(char *) "mode", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 arg2
= (int) SWIG_AsInt(obj1
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 (arg1
)->SetPrintMode(arg2
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 Py_INCREF(Py_None
); resultobj
= Py_None
;
20261 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_FromInt((int)result
);
20287 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self",(char *) "mode", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 arg2
= (int) SWIG_AsInt(obj1
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->SetAssertMode(arg2
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 Py_INCREF(Py_None
); resultobj
= Py_None
;
20316 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (int)(arg1
)->GetAssertMode();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= SWIG_FromInt((int)result
);
20342 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20345 char *kwnames
[] = {
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20366 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20369 char *kwnames
[] = {
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= SWIG_FromLong((long)result
);
20388 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
;
20391 char *kwnames
[] = {
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= SWIG_FromLong((long)result
);
20410 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20413 char *kwnames
[] = {
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (long)wxPyApp::GetMacExitMenuItemId();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_FromLong((long)result
);
20432 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20435 char *kwnames
[] = {
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= wxPyApp::GetMacHelpMenuTitleName();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20460 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20463 PyObject
* obj0
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "val", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20469 arg1
= (bool) SWIG_AsBool(obj0
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 Py_INCREF(Py_None
); resultobj
= Py_None
;
20485 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20488 PyObject
* obj0
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "val", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20494 arg1
= (long) SWIG_AsLong(obj0
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 wxPyApp::SetMacAboutMenuItemId(arg1
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 Py_INCREF(Py_None
); resultobj
= Py_None
;
20510 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20513 PyObject
* obj0
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "val", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20519 arg1
= (long) SWIG_AsLong(obj0
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20538 PyObject
* obj0
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "val", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20544 arg1
= (long) SWIG_AsLong(obj0
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 wxPyApp::SetMacExitMenuItemId(arg1
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 Py_INCREF(Py_None
); resultobj
= Py_None
;
20560 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxString
*arg1
= 0 ;
20563 bool temp1
= False
;
20564 PyObject
* obj0
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "val", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20571 arg1
= wxString_in_helper(obj0
);
20572 if (arg1
== NULL
) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 Py_INCREF(Py_None
); resultobj
= Py_None
;
20597 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20600 PyObject
* obj0
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 (arg1
)->_BootstrapApp();
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 Py_INCREF(Py_None
); resultobj
= Py_None
;
20622 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
;
20625 char *kwnames
[] = {
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (int)wxPyApp::GetComCtl32Version();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= SWIG_FromInt((int)result
);
20644 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20647 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20649 return Py_BuildValue((char *)"");
20651 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 char *kwnames
[] = {
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 Py_INCREF(Py_None
); resultobj
= Py_None
;
20672 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20673 PyObject
*resultobj
;
20675 char *kwnames
[] = {
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (bool)wxYield();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20696 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20699 char *kwnames
[] = {
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (bool)wxYieldIfNeeded();
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20720 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxWindow
*arg1
= (wxWindow
*) NULL
;
20723 bool arg2
= (bool) False
;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "win",(char *) "onlyIfNeeded", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20737 arg2
= (bool) SWIG_AsBool(obj1
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (bool)wxSafeYield(arg1
,arg2
);
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20756 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 char *kwnames
[] = {
20762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 Py_INCREF(Py_None
); resultobj
= Py_None
;
20777 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20780 wxEvent
*arg2
= 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 char *kwnames
[] = {
20784 (char *) "dest",(char *) "event", NULL
20787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20793 if (arg2
== NULL
) {
20794 PyErr_SetString(PyExc_TypeError
,"null reference");
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 wxPostEvent(arg1
,*arg2
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 Py_INCREF(Py_None
); resultobj
= Py_None
;
20811 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 char *kwnames
[] = {
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 Py_INCREF(Py_None
); resultobj
= Py_None
;
20832 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20835 char *kwnames
[] = {
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (wxPyApp
*)wxGetApp();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= wxPyMake_wxObject(result
);
20856 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 int arg1
= (int) 0 ;
20859 int arg2
= (int) 0 ;
20860 int arg3
= (int) 0 ;
20861 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20862 wxAcceleratorEntry
*result
;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20865 PyObject
* obj2
= 0 ;
20866 PyObject
* obj3
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20873 arg1
= (int) SWIG_AsInt(obj0
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20877 arg2
= (int) SWIG_AsInt(obj1
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 arg3
= (int) SWIG_AsInt(obj2
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20885 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20902 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 Py_INCREF(Py_None
); resultobj
= Py_None
;
20927 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20933 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20934 PyObject
* obj0
= 0 ;
20935 PyObject
* obj1
= 0 ;
20936 PyObject
* obj2
= 0 ;
20937 PyObject
* obj3
= 0 ;
20938 PyObject
* obj4
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20946 arg2
= (int) SWIG_AsInt(obj1
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20948 arg3
= (int) SWIG_AsInt(obj2
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20950 arg4
= (int) SWIG_AsInt(obj3
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 Py_INCREF(Py_None
); resultobj
= Py_None
;
20970 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20973 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 char *kwnames
[] = {
20977 (char *) "self",(char *) "item", NULL
20980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 (arg1
)->SetMenuItem(arg2
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 Py_INCREF(Py_None
); resultobj
= Py_None
;
20999 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
;
21001 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21002 wxMenuItem
*result
;
21003 PyObject
* obj0
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
21009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= wxPyMake_wxObject(result
);
21027 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= (int)(arg1
)->GetFlags();
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= SWIG_FromInt((int)result
);
21053 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
;
21055 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21057 PyObject
* obj0
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (int)(arg1
)->GetKeyCode();
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_FromInt((int)result
);
21079 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21083 PyObject
* obj0
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (int)(arg1
)->GetCommand();
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= SWIG_FromInt((int)result
);
21105 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21108 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21110 return Py_BuildValue((char *)"");
21112 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21115 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21116 wxAcceleratorTable
*result
;
21117 PyObject
* obj0
= 0 ;
21118 char *kwnames
[] = {
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21124 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21125 if (arg2
) arg1
= PyList_Size(obj0
);
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21148 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 Py_INCREF(Py_None
); resultobj
= Py_None
;
21173 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21177 PyObject
* obj0
= 0 ;
21178 char *kwnames
[] = {
21179 (char *) "self", NULL
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21201 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21204 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21206 return Py_BuildValue((char *)"");
21208 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21209 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21214 static PyObject
*_wrap_NullAcceleratorTable_get() {
21217 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21222 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxString
*arg1
= 0 ;
21225 wxAcceleratorEntry
*result
;
21226 bool temp1
= False
;
21227 PyObject
* obj0
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "label", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21234 arg1
= wxString_in_helper(obj0
);
21235 if (arg1
== NULL
) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21260 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21261 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21266 static PyObject
*_wrap_PanelNameStr_get() {
21271 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21273 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21280 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxVisualAttributes
*result
;
21283 char *kwnames
[] = {
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21302 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
;
21304 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 delete_wxVisualAttributes(arg1
);
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 Py_INCREF(Py_None
); resultobj
= Py_None
;
21327 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21330 wxFont
*arg2
= (wxFont
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self",(char *) "font", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 if (arg1
) (arg1
)->font
= *arg2
;
21344 Py_INCREF(Py_None
); resultobj
= Py_None
;
21351 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21355 PyObject
* obj0
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21363 result
= (wxFont
*)& ((arg1
)->font
);
21365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21372 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21375 wxColour
*arg2
= (wxColour
*) 0 ;
21376 PyObject
* obj0
= 0 ;
21377 PyObject
* obj1
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self",(char *) "colFg", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21387 if (arg1
) (arg1
)->colFg
= *arg2
;
21389 Py_INCREF(Py_None
); resultobj
= Py_None
;
21396 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21398 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21400 PyObject
* obj0
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21408 result
= (wxColour
*)& ((arg1
)->colFg
);
21410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21417 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21420 wxColour
*arg2
= (wxColour
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 PyObject
* obj1
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self",(char *) "colBg", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 if (arg1
) (arg1
)->colBg
= *arg2
;
21434 Py_INCREF(Py_None
); resultobj
= Py_None
;
21441 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21453 result
= (wxColour
*)& ((arg1
)->colBg
);
21455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21462 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21465 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21467 return Py_BuildValue((char *)"");
21469 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxWindow
*arg1
= (wxWindow
*) 0 ;
21472 int arg2
= (int) (int)-1 ;
21473 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21474 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21475 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21476 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21477 long arg5
= (long) 0 ;
21478 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21479 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21483 bool temp6
= False
;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 PyObject
* obj2
= 0 ;
21487 PyObject
* obj3
= 0 ;
21488 PyObject
* obj4
= 0 ;
21489 PyObject
* obj5
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21498 arg2
= (int const) SWIG_AsInt(obj1
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21514 arg5
= (long) SWIG_AsLong(obj4
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21519 arg6
= wxString_in_helper(obj5
);
21520 if (arg6
== NULL
) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= wxPyMake_wxObject(result
);
21548 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21551 char *kwnames
[] = {
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (wxWindow
*)new wxWindow();
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= wxPyMake_wxObject(result
);
21572 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxWindow
*arg1
= (wxWindow
*) 0 ;
21575 wxWindow
*arg2
= (wxWindow
*) 0 ;
21576 int arg3
= (int) (int)-1 ;
21577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21581 long arg6
= (long) 0 ;
21582 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21583 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21587 bool temp7
= False
;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 PyObject
* obj2
= 0 ;
21591 PyObject
* obj3
= 0 ;
21592 PyObject
* obj4
= 0 ;
21593 PyObject
* obj5
= 0 ;
21594 PyObject
* obj6
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 arg3
= (int const) SWIG_AsInt(obj2
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21621 arg6
= (long) SWIG_AsLong(obj5
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21626 arg7
= wxString_in_helper(obj6
);
21627 if (arg7
== NULL
) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21655 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxWindow
*arg1
= (wxWindow
*) 0 ;
21658 bool arg2
= (bool) False
;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self",(char *) "force", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 arg2
= (bool) SWIG_AsBool(obj1
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 result
= (bool)(arg1
)->Close(arg2
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21689 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
;
21691 wxWindow
*arg1
= (wxWindow
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (bool)(arg1
)->Destroy();
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21717 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxWindow
*arg1
= (wxWindow
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (bool)(arg1
)->DestroyChildren();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21745 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxWindow
*arg1
= (wxWindow
*) 0 ;
21749 PyObject
* obj0
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21773 static PyObject
*_wrap_Window_SetTitle(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 *) "title", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",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
)->SetTitle((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_GetTitle(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_GetTitle",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
)->GetTitle();
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_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxWindow
*arg1
= (wxWindow
*) 0 ;
21849 wxString
*arg2
= 0 ;
21850 bool temp2
= False
;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "label", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 arg2
= wxString_in_helper(obj1
);
21862 if (arg2
== NULL
) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 (arg1
)->SetLabel((wxString
const &)*arg2
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 Py_INCREF(Py_None
); resultobj
= Py_None
;
21887 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxWindow
*arg1
= (wxWindow
*) 0 ;
21891 PyObject
* obj0
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= ((wxWindow
const *)arg1
)->GetLabel();
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21919 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxWindow
*arg1
= (wxWindow
*) 0 ;
21922 wxString
*arg2
= 0 ;
21923 bool temp2
= False
;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 char *kwnames
[] = {
21927 (char *) "self",(char *) "name", NULL
21930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21934 arg2
= wxString_in_helper(obj1
);
21935 if (arg2
== NULL
) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 (arg1
)->SetName((wxString
const &)*arg2
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 Py_INCREF(Py_None
); resultobj
= Py_None
;
21960 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxWindow
*arg1
= (wxWindow
*) 0 ;
21964 PyObject
* obj0
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= ((wxWindow
const *)arg1
)->GetName();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21992 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxWindow
*arg1
= (wxWindow
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "variant", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxWindow
*arg1
= (wxWindow
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_FromInt((int)result
);
22047 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxWindow
*arg1
= (wxWindow
*) 0 ;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self",(char *) "winid", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 arg2
= (int) SWIG_AsInt(obj1
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->SetId(arg2
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxWindow
*arg1
= (wxWindow
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (int)((wxWindow
const *)arg1
)->GetId();
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_FromInt((int)result
);
22102 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22105 char *kwnames
[] = {
22109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= (int)wxWindow::NewControlId();
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= SWIG_FromInt((int)result
);
22124 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22128 PyObject
* obj0
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "winid", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22134 arg1
= (int) SWIG_AsInt(obj0
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 result
= (int)wxWindow::NextControlId(arg1
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 resultobj
= SWIG_FromInt((int)result
);
22150 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22151 PyObject
*resultobj
;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "winid", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22160 arg1
= (int) SWIG_AsInt(obj0
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (int)wxWindow::PrevControlId(arg1
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= SWIG_FromInt((int)result
);
22176 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxWindow
*arg1
= (wxWindow
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "size", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 (arg1
)->SetSize((wxSize
const &)*arg2
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 Py_INCREF(Py_None
); resultobj
= Py_None
;
22208 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxWindow
*arg1
= (wxWindow
*) 0 ;
22215 int arg6
= (int) wxSIZE_AUTO
;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 PyObject
* obj2
= 0 ;
22219 PyObject
* obj3
= 0 ;
22220 PyObject
* obj4
= 0 ;
22221 PyObject
* obj5
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22229 arg2
= (int) SWIG_AsInt(obj1
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22231 arg3
= (int) SWIG_AsInt(obj2
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22233 arg4
= (int) SWIG_AsInt(obj3
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22235 arg5
= (int) SWIG_AsInt(obj4
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 arg6
= (int) SWIG_AsInt(obj5
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 Py_INCREF(Py_None
); resultobj
= Py_None
;
22255 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxWindow
*arg1
= (wxWindow
*) 0 ;
22259 int arg3
= (int) wxSIZE_AUTO
;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 PyObject
* obj2
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22276 arg3
= (int) SWIG_AsInt(obj2
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 Py_INCREF(Py_None
); resultobj
= Py_None
;
22293 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxWindow
*arg1
= (wxWindow
*) 0 ;
22298 PyObject
* obj0
= 0 ;
22299 PyObject
* obj1
= 0 ;
22300 PyObject
* obj2
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self",(char *) "width",(char *) "height", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22308 arg2
= (int) SWIG_AsInt(obj1
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22310 arg3
= (int) SWIG_AsInt(obj2
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 (arg1
)->SetSize(arg2
,arg3
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 Py_INCREF(Py_None
); resultobj
= Py_None
;
22326 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
;
22328 wxWindow
*arg1
= (wxWindow
*) 0 ;
22329 wxPoint
*arg2
= 0 ;
22330 int arg3
= (int) wxSIZE_USE_EXISTING
;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 PyObject
* obj2
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "pt",(char *) "flags", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22347 arg3
= (int) SWIG_AsInt(obj2
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 Py_INCREF(Py_None
); resultobj
= Py_None
;
22364 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
;
22366 wxWindow
*arg1
= (wxWindow
*) 0 ;
22369 int arg4
= (int) wxSIZE_USE_EXISTING
;
22370 PyObject
* obj0
= 0 ;
22371 PyObject
* obj1
= 0 ;
22372 PyObject
* obj2
= 0 ;
22373 PyObject
* obj3
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22381 arg2
= (int) SWIG_AsInt(obj1
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22383 arg3
= (int) SWIG_AsInt(obj2
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 arg4
= (int) SWIG_AsInt(obj3
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 (arg1
)->Move(arg2
,arg3
,arg4
);
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22396 Py_INCREF(Py_None
); resultobj
= Py_None
;
22403 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxWindow
*arg1
= (wxWindow
*) 0 ;
22406 PyObject
* obj0
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 Py_INCREF(Py_None
); resultobj
= Py_None
;
22428 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxWindow
*arg1
= (wxWindow
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 Py_INCREF(Py_None
); resultobj
= Py_None
;
22453 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
;
22455 wxWindow
*arg1
= (wxWindow
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self",(char *) "size", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 Py_INCREF(Py_None
); resultobj
= Py_None
;
22485 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
;
22487 wxWindow
*arg1
= (wxWindow
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 PyObject
* obj1
= 0 ;
22492 PyObject
* obj2
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self",(char *) "width",(char *) "height", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22500 arg2
= (int) SWIG_AsInt(obj1
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22502 arg3
= (int) SWIG_AsInt(obj2
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 (arg1
)->SetClientSize(arg2
,arg3
);
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 Py_INCREF(Py_None
); resultobj
= Py_None
;
22518 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxWindow
*arg1
= (wxWindow
*) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self",(char *) "rect", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 Py_INCREF(Py_None
); resultobj
= Py_None
;
22550 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxWindow
*arg1
= (wxWindow
*) 0 ;
22554 PyObject
* obj0
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (arg1
)->GetPosition();
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22570 wxPoint
* resultptr
;
22571 resultptr
= new wxPoint((wxPoint
&) result
);
22572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22580 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxWindow
*arg1
= (wxWindow
*) 0 ;
22583 int *arg2
= (int *) 0 ;
22584 int *arg3
= (int *) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 (arg1
)->GetPosition(arg2
,arg3
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 Py_INCREF(Py_None
); resultobj
= Py_None
;
22606 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22607 resultobj
= t_output_helper(resultobj
,o
);
22610 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22611 resultobj
= t_output_helper(resultobj
,o
);
22619 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxWindow
*arg1
= (wxWindow
*) 0 ;
22623 PyObject
* obj0
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "self", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= ((wxWindow
const *)arg1
)->GetSize();
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22639 wxSize
* resultptr
;
22640 resultptr
= new wxSize((wxSize
&) result
);
22641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22649 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxWindow
*arg1
= (wxWindow
*) 0 ;
22652 int *arg2
= (int *) 0 ;
22653 int *arg3
= (int *) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 Py_INCREF(Py_None
); resultobj
= Py_None
;
22675 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22676 resultobj
= t_output_helper(resultobj
,o
);
22679 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22680 resultobj
= t_output_helper(resultobj
,o
);
22688 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxWindow
*arg1
= (wxWindow
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= ((wxWindow
const *)arg1
)->GetRect();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22708 wxRect
* resultptr
;
22709 resultptr
= new wxRect((wxRect
&) result
);
22710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22718 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxWindow
*arg1
= (wxWindow
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22738 wxSize
* resultptr
;
22739 resultptr
= new wxSize((wxSize
&) result
);
22740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22748 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22749 PyObject
*resultobj
;
22750 wxWindow
*arg1
= (wxWindow
*) 0 ;
22751 int *arg2
= (int *) 0 ;
22752 int *arg3
= (int *) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 Py_INCREF(Py_None
); resultobj
= Py_None
;
22774 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22775 resultobj
= t_output_helper(resultobj
,o
);
22778 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22779 resultobj
= t_output_helper(resultobj
,o
);
22787 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxWindow
*arg1
= (wxWindow
*) 0 ;
22791 PyObject
* obj0
= 0 ;
22792 char *kwnames
[] = {
22793 (char *) "self", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22807 wxPoint
* resultptr
;
22808 resultptr
= new wxPoint((wxPoint
&) result
);
22809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22817 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxWindow
*arg1
= (wxWindow
*) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 wxRect
* resultptr
;
22838 resultptr
= new wxRect((wxRect
&) result
);
22839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22847 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxWindow
*arg1
= (wxWindow
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22867 wxSize
* resultptr
;
22868 resultptr
= new wxSize((wxSize
&) result
);
22869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22877 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxWindow
*arg1
= (wxWindow
*) 0 ;
22880 int *arg2
= (int *) 0 ;
22881 int *arg3
= (int *) 0 ;
22884 PyObject
* obj0
= 0 ;
22885 char *kwnames
[] = {
22886 (char *) "self", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 Py_INCREF(Py_None
); resultobj
= Py_None
;
22903 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22904 resultobj
= t_output_helper(resultobj
,o
);
22907 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22908 resultobj
= t_output_helper(resultobj
,o
);
22916 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxWindow
*arg1
= (wxWindow
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 wxSize
* resultptr
;
22937 resultptr
= new wxSize((wxSize
&) result
);
22938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22946 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxWindow
*arg1
= (wxWindow
*) 0 ;
22949 int arg2
= (int) wxBOTH
;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "direction", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 arg2
= (int) SWIG_AsInt(obj1
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->Center(arg2
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 Py_INCREF(Py_None
); resultobj
= Py_None
;
22977 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxWindow
*arg1
= (wxWindow
*) 0 ;
22980 int arg2
= (int) wxBOTH
;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self",(char *) "dir", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22991 arg2
= (int) SWIG_AsInt(obj1
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 (arg1
)->CenterOnScreen(arg2
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 Py_INCREF(Py_None
); resultobj
= Py_None
;
23008 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23009 PyObject
*resultobj
;
23010 wxWindow
*arg1
= (wxWindow
*) 0 ;
23011 int arg2
= (int) wxBOTH
;
23012 PyObject
* obj0
= 0 ;
23013 PyObject
* obj1
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self",(char *) "dir", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23022 arg2
= (int) SWIG_AsInt(obj1
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 (arg1
)->CenterOnParent(arg2
);
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 Py_INCREF(Py_None
); resultobj
= Py_None
;
23039 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxWindow
*arg1
= (wxWindow
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 Py_INCREF(Py_None
); resultobj
= Py_None
;
23064 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxWindow
*arg1
= (wxWindow
*) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 (arg1
)->FitInside();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 Py_INCREF(Py_None
); resultobj
= Py_None
;
23089 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23090 PyObject
*resultobj
;
23091 wxWindow
*arg1
= (wxWindow
*) 0 ;
23094 int arg4
= (int) -1 ;
23095 int arg5
= (int) -1 ;
23096 int arg6
= (int) -1 ;
23097 int arg7
= (int) -1 ;
23098 PyObject
* obj0
= 0 ;
23099 PyObject
* obj1
= 0 ;
23100 PyObject
* obj2
= 0 ;
23101 PyObject
* obj3
= 0 ;
23102 PyObject
* obj4
= 0 ;
23103 PyObject
* obj5
= 0 ;
23104 PyObject
* obj6
= 0 ;
23106 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 arg2
= (int) SWIG_AsInt(obj1
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23111 arg3
= (int) SWIG_AsInt(obj2
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 arg4
= (int) SWIG_AsInt(obj3
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23118 arg5
= (int) SWIG_AsInt(obj4
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23122 arg6
= (int) SWIG_AsInt(obj5
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23126 arg7
= (int) SWIG_AsInt(obj6
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 Py_INCREF(Py_None
); resultobj
= Py_None
;
23143 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23144 PyObject
*resultobj
;
23145 wxWindow
*arg1
= (wxWindow
*) 0 ;
23147 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23148 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23149 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23150 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23154 PyObject
* obj0
= 0 ;
23155 PyObject
* obj1
= 0 ;
23156 PyObject
* obj2
= 0 ;
23157 PyObject
* obj3
= 0 ;
23159 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23164 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23169 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23175 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 Py_INCREF(Py_None
); resultobj
= Py_None
;
23192 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23197 argc
= PyObject_Length(args
);
23198 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23199 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23201 if ((argc
>= 2) && (argc
<= 4)) {
23205 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23214 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23218 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23221 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23225 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23228 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23231 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23237 if ((argc
>= 3) && (argc
<= 7)) {
23241 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23249 _v
= SWIG_CheckInt(argv
[1]);
23251 _v
= SWIG_CheckInt(argv
[2]);
23254 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23256 _v
= SWIG_CheckInt(argv
[3]);
23259 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23261 _v
= SWIG_CheckInt(argv
[4]);
23264 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23266 _v
= SWIG_CheckInt(argv
[5]);
23269 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23271 _v
= SWIG_CheckInt(argv
[6]);
23273 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23283 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23288 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23289 PyObject
*resultobj
;
23290 wxWindow
*arg1
= (wxWindow
*) 0 ;
23293 int arg4
= (int) -1 ;
23294 int arg5
= (int) -1 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 PyObject
* obj2
= 0 ;
23298 PyObject
* obj3
= 0 ;
23299 PyObject
* obj4
= 0 ;
23301 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 arg2
= (int) SWIG_AsInt(obj1
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23306 arg3
= (int) SWIG_AsInt(obj2
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 arg4
= (int) SWIG_AsInt(obj3
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 arg5
= (int) SWIG_AsInt(obj4
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23331 PyObject
*resultobj
;
23332 wxWindow
*arg1
= (wxWindow
*) 0 ;
23334 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23335 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 PyObject
* obj2
= 0 ;
23342 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23352 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 Py_INCREF(Py_None
); resultobj
= Py_None
;
23369 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23374 argc
= PyObject_Length(args
);
23375 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23376 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23378 if ((argc
>= 2) && (argc
<= 3)) {
23382 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23391 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23395 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23398 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23401 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23406 if ((argc
>= 3) && (argc
<= 5)) {
23410 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23418 _v
= SWIG_CheckInt(argv
[1]);
23420 _v
= SWIG_CheckInt(argv
[2]);
23423 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23425 _v
= SWIG_CheckInt(argv
[3]);
23428 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23430 _v
= SWIG_CheckInt(argv
[4]);
23432 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23440 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23445 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxWindow
*arg1
= (wxWindow
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= SWIG_FromInt((int)result
);
23471 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 wxWindow
*arg1
= (wxWindow
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= SWIG_FromInt((int)result
);
23497 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxWindow
*arg1
= (wxWindow
*) 0 ;
23501 PyObject
* obj0
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_FromInt((int)result
);
23523 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxWindow
*arg1
= (wxWindow
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_FromInt((int)result
);
23549 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxWindow
*arg1
= (wxWindow
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23569 wxSize
* resultptr
;
23570 resultptr
= new wxSize((wxSize
&) result
);
23571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23579 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxWindow
*arg1
= (wxWindow
*) 0 ;
23583 PyObject
* obj0
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 wxSize
* resultptr
;
23600 resultptr
= new wxSize((wxSize
&) result
);
23601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23609 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxWindow
*arg1
= (wxWindow
*) 0 ;
23614 PyObject
* obj0
= 0 ;
23615 PyObject
* obj1
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self",(char *) "size", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23625 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 Py_INCREF(Py_None
); resultobj
= Py_None
;
23641 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxWindow
*arg1
= (wxWindow
*) 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 PyObject
* obj2
= 0 ;
23649 char *kwnames
[] = {
23650 (char *) "self",(char *) "w",(char *) "h", NULL
23653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23656 arg2
= (int) SWIG_AsInt(obj1
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23658 arg3
= (int) SWIG_AsInt(obj2
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->SetVirtualSize(arg2
,arg3
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 Py_INCREF(Py_None
); resultobj
= Py_None
;
23674 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxWindow
*arg1
= (wxWindow
*) 0 ;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23694 wxSize
* resultptr
;
23695 resultptr
= new wxSize((wxSize
&) result
);
23696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23704 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxWindow
*arg1
= (wxWindow
*) 0 ;
23707 int *arg2
= (int *) 0 ;
23708 int *arg3
= (int *) 0 ;
23711 PyObject
* obj0
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 Py_INCREF(Py_None
); resultobj
= Py_None
;
23730 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23731 resultobj
= t_output_helper(resultobj
,o
);
23734 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23735 resultobj
= t_output_helper(resultobj
,o
);
23743 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxWindow
*arg1
= (wxWindow
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23763 wxSize
* resultptr
;
23764 resultptr
= new wxSize((wxSize
&) result
);
23765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23773 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxWindow
*arg1
= (wxWindow
*) 0 ;
23776 bool arg2
= (bool) True
;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "self",(char *) "show", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 arg2
= (bool) SWIG_AsBool(obj1
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (bool)(arg1
)->Show(arg2
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23807 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23809 wxWindow
*arg1
= (wxWindow
*) 0 ;
23811 PyObject
* obj0
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "self", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (bool)(arg1
)->Hide();
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23835 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxWindow
*arg1
= (wxWindow
*) 0 ;
23838 bool arg2
= (bool) True
;
23840 PyObject
* obj0
= 0 ;
23841 PyObject
* obj1
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self",(char *) "enable", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 arg2
= (bool) SWIG_AsBool(obj1
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (bool)(arg1
)->Enable(arg2
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23869 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxWindow
*arg1
= (wxWindow
*) 0 ;
23873 PyObject
* obj0
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (bool)(arg1
)->Disable();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23897 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23899 wxWindow
*arg1
= (wxWindow
*) 0 ;
23901 PyObject
* obj0
= 0 ;
23902 char *kwnames
[] = {
23903 (char *) "self", NULL
23906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23925 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
;
23927 wxWindow
*arg1
= (wxWindow
*) 0 ;
23929 PyObject
* obj0
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23953 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxWindow
*arg1
= (wxWindow
*) 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self",(char *) "style", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23966 arg2
= (long) SWIG_AsLong(obj1
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 (arg1
)->SetWindowStyleFlag(arg2
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 Py_INCREF(Py_None
); resultobj
= Py_None
;
23982 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxWindow
*arg1
= (wxWindow
*) 0 ;
23986 PyObject
* obj0
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "self", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= SWIG_FromLong((long)result
);
24008 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxWindow
*arg1
= (wxWindow
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "flag", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 arg2
= (int) SWIG_AsInt(obj1
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24040 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxWindow
*arg1
= (wxWindow
*) 0 ;
24044 PyObject
* obj0
= 0 ;
24045 char *kwnames
[] = {
24046 (char *) "self", NULL
24049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24068 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxWindow
*arg1
= (wxWindow
*) 0 ;
24072 PyObject
* obj0
= 0 ;
24073 PyObject
* obj1
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self",(char *) "exStyle", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24081 arg2
= (long) SWIG_AsLong(obj1
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 (arg1
)->SetExtraStyle(arg2
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 Py_INCREF(Py_None
); resultobj
= Py_None
;
24097 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxWindow
*arg1
= (wxWindow
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_FromLong((long)result
);
24123 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxWindow
*arg1
= (wxWindow
*) 0 ;
24126 bool arg2
= (bool) True
;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self",(char *) "modal", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24137 arg2
= (bool) SWIG_AsBool(obj1
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 (arg1
)->MakeModal(arg2
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 Py_INCREF(Py_None
); resultobj
= Py_None
;
24154 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24156 wxWindow
*arg1
= (wxWindow
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char *kwnames
[] = {
24161 (char *) "self",(char *) "enableTheme", NULL
24164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24167 arg2
= (bool) SWIG_AsBool(obj1
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 (arg1
)->SetThemeEnabled(arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 Py_INCREF(Py_None
); resultobj
= Py_None
;
24183 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxWindow
*arg1
= (wxWindow
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24211 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxWindow
*arg1
= (wxWindow
*) 0 ;
24214 PyObject
* obj0
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->SetFocus();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxWindow
*arg1
= (wxWindow
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 (arg1
)->SetFocusFromKbd();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 Py_INCREF(Py_None
); resultobj
= Py_None
;
24261 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24264 char *kwnames
[] = {
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (wxWindow
*)wxWindow::FindFocus();
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= wxPyMake_wxObject(result
);
24285 static PyObject
*_wrap_Window_AcceptsFocus(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_AcceptsFocus",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
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24313 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
;
24315 wxWindow
*arg1
= (wxWindow
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24341 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxWindow
*arg1
= (wxWindow
*) 0 ;
24345 PyObject
* obj0
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24361 resultobj
= wxPyMake_wxObject(result
);
24369 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
;
24371 wxWindow
*arg1
= (wxWindow
*) 0 ;
24372 wxWindow
*arg2
= (wxWindow
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self",(char *) "child", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= wxPyMake_wxObject(result
);
24401 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
;
24403 wxWindow
*arg1
= (wxWindow
*) 0 ;
24404 wxWindow
*arg2
= (wxWindow
*) 0 ;
24405 PyObject
* obj0
= 0 ;
24406 PyObject
* obj1
= 0 ;
24407 char *kwnames
[] = {
24408 (char *) "self",(char *) "win", NULL
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 (arg1
)->SetTmpDefaultItem(arg2
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 Py_INCREF(Py_None
); resultobj
= Py_None
;
24430 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxWindow
*arg1
= (wxWindow
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= result
;
24456 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxWindow
*arg1
= (wxWindow
*) 0 ;
24460 PyObject
* obj0
= 0 ;
24461 char *kwnames
[] = {
24462 (char *) "self", NULL
24465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= wxPyMake_wxObject(result
);
24484 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxWindow
*arg1
= (wxWindow
*) 0 ;
24488 PyObject
* obj0
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= wxPyMake_wxObject(result
);
24512 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxWindow
*arg1
= (wxWindow
*) 0 ;
24516 PyObject
* obj0
= 0 ;
24517 char *kwnames
[] = {
24518 (char *) "self", NULL
24521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24540 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxWindow
*arg1
= (wxWindow
*) 0 ;
24543 wxWindow
*arg2
= (wxWindow
*) 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "newParent", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 result
= (bool)(arg1
)->Reparent(arg2
);
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24572 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
;
24574 wxWindow
*arg1
= (wxWindow
*) 0 ;
24575 wxWindow
*arg2
= (wxWindow
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "child", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 (arg1
)->AddChild(arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 Py_INCREF(Py_None
); resultobj
= Py_None
;
24601 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxWindow
*arg1
= (wxWindow
*) 0 ;
24604 wxWindow
*arg2
= (wxWindow
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 PyObject
* obj1
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "child", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 (arg1
)->RemoveChild(arg2
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 Py_INCREF(Py_None
); resultobj
= Py_None
;
24630 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxWindow
*arg1
= (wxWindow
*) 0 ;
24635 PyObject
* obj0
= 0 ;
24636 PyObject
* obj1
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self",(char *) "winid", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 arg2
= (long) SWIG_AsLong(obj1
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= wxPyMake_wxObject(result
);
24662 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxWindow
*arg1
= (wxWindow
*) 0 ;
24665 wxString
*arg2
= 0 ;
24667 bool temp2
= False
;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self",(char *) "name", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24678 arg2
= wxString_in_helper(obj1
);
24679 if (arg2
== NULL
) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= wxPyMake_wxObject(result
);
24706 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxWindow
*arg1
= (wxWindow
*) 0 ;
24709 wxEvtHandler
*result
;
24710 PyObject
* obj0
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= wxPyMake_wxObject(result
);
24734 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxWindow
*arg1
= (wxWindow
*) 0 ;
24737 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "handler", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 (arg1
)->SetEventHandler(arg2
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 Py_INCREF(Py_None
); resultobj
= Py_None
;
24763 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxWindow
*arg1
= (wxWindow
*) 0 ;
24766 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self",(char *) "handler", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 (arg1
)->PushEventHandler(arg2
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 Py_INCREF(Py_None
); resultobj
= Py_None
;
24792 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxWindow
*arg1
= (wxWindow
*) 0 ;
24795 bool arg2
= (bool) False
;
24796 wxEvtHandler
*result
;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self",(char *) "deleteHandler", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24807 arg2
= (bool) SWIG_AsBool(obj1
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= wxPyMake_wxObject(result
);
24826 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxWindow
*arg1
= (wxWindow
*) 0 ;
24829 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "handler", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24858 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxWindow
*arg1
= (wxWindow
*) 0 ;
24861 wxValidator
*arg2
= 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self",(char *) "validator", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24874 if (arg2
== NULL
) {
24875 PyErr_SetString(PyExc_TypeError
,"null reference");
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 Py_INCREF(Py_None
); resultobj
= Py_None
;
24892 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxWindow
*arg1
= (wxWindow
*) 0 ;
24895 wxValidator
*result
;
24896 PyObject
* obj0
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (wxValidator
*)(arg1
)->GetValidator();
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= wxPyMake_wxObject(result
);
24920 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxWindow
*arg1
= (wxWindow
*) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 char *kwnames
[] = {
24926 (char *) "self", NULL
24929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= (bool)(arg1
)->Validate();
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24948 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxWindow
*arg1
= (wxWindow
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 result
= (bool)(arg1
)->TransferDataToWindow();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24976 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxWindow
*arg1
= (wxWindow
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 char *kwnames
[] = {
24982 (char *) "self", NULL
24985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 result
= (bool)(arg1
)->TransferDataFromWindow();
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25004 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxWindow
*arg1
= (wxWindow
*) 0 ;
25007 PyObject
* obj0
= 0 ;
25008 char *kwnames
[] = {
25009 (char *) "self", NULL
25012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 (arg1
)->InitDialog();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxWindow
*arg1
= (wxWindow
*) 0 ;
25032 wxAcceleratorTable
*arg2
= 0 ;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self",(char *) "accel", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25045 if (arg2
== NULL
) {
25046 PyErr_SetString(PyExc_TypeError
,"null reference");
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 Py_INCREF(Py_None
); resultobj
= Py_None
;
25063 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25065 wxWindow
*arg1
= (wxWindow
*) 0 ;
25066 wxAcceleratorTable
*result
;
25067 PyObject
* obj0
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "self", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25089 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxWindow
*arg1
= (wxWindow
*) 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 PyObject
* obj2
= 0 ;
25099 PyObject
* obj3
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 arg2
= (int) SWIG_AsInt(obj1
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25109 arg3
= (int) SWIG_AsInt(obj2
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25111 arg4
= (int) SWIG_AsInt(obj3
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25129 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxWindow
*arg1
= (wxWindow
*) 0 ;
25134 PyObject
* obj0
= 0 ;
25135 PyObject
* obj1
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self",(char *) "hotkeyId", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25143 arg2
= (int) SWIG_AsInt(obj1
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25161 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
;
25163 wxWindow
*arg1
= (wxWindow
*) 0 ;
25164 wxPoint
*arg2
= 0 ;
25167 PyObject
* obj0
= 0 ;
25168 PyObject
* obj1
= 0 ;
25169 char *kwnames
[] = {
25170 (char *) "self",(char *) "pt", NULL
25173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 wxPoint
* resultptr
;
25189 resultptr
= new wxPoint((wxPoint
&) result
);
25190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25198 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxWindow
*arg1
= (wxWindow
*) 0 ;
25204 PyObject
* obj0
= 0 ;
25205 PyObject
* obj1
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self",(char *) "sz", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25215 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25225 wxSize
* resultptr
;
25226 resultptr
= new wxSize((wxSize
&) result
);
25227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25235 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxWindow
*arg1
= (wxWindow
*) 0 ;
25238 wxPoint
*arg2
= 0 ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self",(char *) "pt", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25262 wxPoint
* resultptr
;
25263 resultptr
= new wxPoint((wxPoint
&) result
);
25264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25272 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxWindow
*arg1
= (wxWindow
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self",(char *) "sz", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25289 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25299 wxSize
* resultptr
;
25300 resultptr
= new wxSize((wxSize
&) result
);
25301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25309 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
;
25311 wxWindow
*arg1
= (wxWindow
*) 0 ;
25312 wxPoint
*arg2
= 0 ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char *kwnames
[] = {
25318 (char *) "self",(char *) "pt", NULL
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25336 wxPoint
* resultptr
;
25337 resultptr
= new wxPoint((wxPoint
&) result
);
25338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25346 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxWindow
*arg1
= (wxWindow
*) 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "sz", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25363 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 wxSize
* resultptr
;
25374 resultptr
= new wxSize((wxSize
&) result
);
25375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25383 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxWindow
*arg1
= (wxWindow
*) 0 ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 PyObject
* obj2
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self",(char *) "x",(char *) "y", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 arg2
= (int) SWIG_AsInt(obj1
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25400 arg3
= (int) SWIG_AsInt(obj2
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 (arg1
)->WarpPointer(arg2
,arg3
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 Py_INCREF(Py_None
); resultobj
= Py_None
;
25416 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
;
25418 wxWindow
*arg1
= (wxWindow
*) 0 ;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 (arg1
)->CaptureMouse();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 Py_INCREF(Py_None
); resultobj
= Py_None
;
25441 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxWindow
*arg1
= (wxWindow
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 (arg1
)->ReleaseMouse();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 Py_INCREF(Py_None
); resultobj
= Py_None
;
25466 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25469 char *kwnames
[] = {
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= (wxWindow
*)wxWindow::GetCapture();
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= wxPyMake_wxObject(result
);
25490 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxWindow
*arg1
= (wxWindow
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25518 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 bool arg2
= (bool) True
;
25522 wxRect
*arg3
= (wxRect
*) NULL
;
25523 PyObject
* obj0
= 0 ;
25524 PyObject
* obj1
= 0 ;
25525 PyObject
* obj2
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25534 arg2
= (bool) SWIG_AsBool(obj1
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25538 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 Py_INCREF(Py_None
); resultobj
= Py_None
;
25555 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxWindow
*arg1
= (wxWindow
*) 0 ;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char *kwnames
[] = {
25563 (char *) "self",(char *) "rect", NULL
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25571 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 Py_INCREF(Py_None
); resultobj
= Py_None
;
25587 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxWindow
*arg1
= (wxWindow
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "self", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 Py_INCREF(Py_None
); resultobj
= Py_None
;
25612 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxWindow
*arg1
= (wxWindow
*) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 (arg1
)->ClearBackground();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 Py_INCREF(Py_None
); resultobj
= Py_None
;
25637 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxWindow
*arg1
= (wxWindow
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 Py_INCREF(Py_None
); resultobj
= Py_None
;
25662 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxWindow
*arg1
= (wxWindow
*) 0 ;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxWindow
*arg1
= (wxWindow
*) 0 ;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "dc", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25703 if (arg2
== NULL
) {
25704 PyErr_SetString(PyExc_TypeError
,"null reference");
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 (arg1
)->PrepareDC(*arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 Py_INCREF(Py_None
); resultobj
= Py_None
;
25721 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxWindow
*arg1
= (wxWindow
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25737 result
= (wxRegion
*) &_result_ref
;
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25750 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
;
25752 wxWindow
*arg1
= (wxWindow
*) 0 ;
25754 PyObject
* obj0
= 0 ;
25755 char *kwnames
[] = {
25756 (char *) "self", NULL
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25770 wxRect
* resultptr
;
25771 resultptr
= new wxRect((wxRect
&) result
);
25772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25780 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxWindow
*arg1
= (wxWindow
*) 0 ;
25785 int arg4
= (int) 1 ;
25786 int arg5
= (int) 1 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 PyObject
* obj2
= 0 ;
25791 PyObject
* obj3
= 0 ;
25792 PyObject
* obj4
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25800 arg2
= (int) SWIG_AsInt(obj1
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25802 arg3
= (int) SWIG_AsInt(obj2
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 arg4
= (int) SWIG_AsInt(obj3
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25809 arg5
= (int) SWIG_AsInt(obj4
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25828 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxWindow
*arg1
= (wxWindow
*) 0 ;
25831 wxPoint
*arg2
= 0 ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "pt", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25863 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
;
25865 wxWindow
*arg1
= (wxWindow
*) 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "rect", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25898 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25899 PyObject
*resultobj
;
25900 wxWindow
*arg1
= (wxWindow
*) 0 ;
25901 wxVisualAttributes result
;
25902 PyObject
* obj0
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "self", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25918 wxVisualAttributes
* resultptr
;
25919 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25928 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25931 wxVisualAttributes result
;
25932 PyObject
* obj0
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "variant", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25939 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25950 wxVisualAttributes
* resultptr
;
25951 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25960 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
;
25962 wxWindow
*arg1
= (wxWindow
*) 0 ;
25963 wxColour
*arg2
= 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self",(char *) "colour", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25977 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25995 static PyObject
*_wrap_Window_SetDefaultBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxWindow
*arg1
= (wxWindow
*) 0 ;
25998 wxColour
*arg2
= 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 char *kwnames
[] = {
26003 (char *) "self",(char *) "colour", NULL
26006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 (arg1
)->SetDefaultBackgroundColour((wxColour
const &)*arg2
);
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 Py_INCREF(Py_None
); resultobj
= Py_None
;
26027 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxWindow
*arg1
= (wxWindow
*) 0 ;
26030 wxColour
*arg2
= 0 ;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 char *kwnames
[] = {
26036 (char *) "self",(char *) "colour", NULL
26039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26062 static PyObject
*_wrap_Window_SetDefaultForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxWindow
*arg1
= (wxWindow
*) 0 ;
26065 wxColour
*arg2
= 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self",(char *) "colour", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 (arg1
)->SetDefaultForegroundColour((wxColour
const &)*arg2
);
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 Py_INCREF(Py_None
); resultobj
= Py_None
;
26094 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26096 wxWindow
*arg1
= (wxWindow
*) 0 ;
26098 PyObject
* obj0
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26114 wxColour
* resultptr
;
26115 resultptr
= new wxColour((wxColour
&) result
);
26116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26124 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26125 PyObject
*resultobj
;
26126 wxWindow
*arg1
= (wxWindow
*) 0 ;
26128 PyObject
* obj0
= 0 ;
26129 char *kwnames
[] = {
26130 (char *) "self", NULL
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26144 wxColour
* resultptr
;
26145 resultptr
= new wxColour((wxColour
&) result
);
26146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26154 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxWindow
*arg1
= (wxWindow
*) 0 ;
26157 wxCursor
*arg2
= 0 ;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self",(char *) "cursor", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26171 if (arg2
== NULL
) {
26172 PyErr_SetString(PyExc_TypeError
,"null reference");
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26191 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxWindow
*arg1
= (wxWindow
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26207 result
= (wxCursor
*) &_result_ref
;
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26214 wxCursor
* resultptr
= new wxCursor(*result
);
26215 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26223 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxWindow
*arg1
= (wxWindow
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "font", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26240 if (arg2
== NULL
) {
26241 PyErr_SetString(PyExc_TypeError
,"null reference");
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26260 static PyObject
*_wrap_Window_SetDefaultFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxWindow
*arg1
= (wxWindow
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char *kwnames
[] = {
26267 (char *) "self",(char *) "font", NULL
26270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26276 if (arg2
== NULL
) {
26277 PyErr_SetString(PyExc_TypeError
,"null reference");
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetDefaultFont((wxFont
const &)*arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 Py_INCREF(Py_None
); resultobj
= Py_None
;
26294 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxWindow
*arg1
= (wxWindow
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 wxFont
&_result_ref
= (arg1
)->GetFont();
26310 result
= (wxFont
*) &_result_ref
;
26313 wxPyEndAllowThreads(__tstate
);
26314 if (PyErr_Occurred()) SWIG_fail
;
26317 wxFont
* resultptr
= new wxFont(*result
);
26318 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26326 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxWindow
*arg1
= (wxWindow
*) 0 ;
26329 wxCaret
*arg2
= (wxCaret
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 char *kwnames
[] = {
26333 (char *) "self",(char *) "caret", NULL
26336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 (arg1
)->SetCaret(arg2
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 Py_INCREF(Py_None
); resultobj
= Py_None
;
26355 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxWindow
*arg1
= (wxWindow
*) 0 ;
26359 PyObject
* obj0
= 0 ;
26360 char *kwnames
[] = {
26361 (char *) "self", NULL
26364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26381 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxWindow
*arg1
= (wxWindow
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_FromInt((int)result
);
26407 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxWindow
*arg1
= (wxWindow
*) 0 ;
26411 PyObject
* obj0
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "self", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_FromInt((int)result
);
26433 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxWindow
*arg1
= (wxWindow
*) 0 ;
26436 wxString
*arg2
= 0 ;
26437 int *arg3
= (int *) 0 ;
26438 int *arg4
= (int *) 0 ;
26439 bool temp2
= False
;
26442 PyObject
* obj0
= 0 ;
26443 PyObject
* obj1
= 0 ;
26444 char *kwnames
[] = {
26445 (char *) "self",(char *) "string", NULL
26450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26454 arg2
= wxString_in_helper(obj1
);
26455 if (arg2
== NULL
) SWIG_fail
;
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 Py_INCREF(Py_None
); resultobj
= Py_None
;
26467 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26468 resultobj
= t_output_helper(resultobj
,o
);
26471 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26472 resultobj
= t_output_helper(resultobj
,o
);
26488 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
;
26490 wxWindow
*arg1
= (wxWindow
*) 0 ;
26491 wxString
*arg2
= 0 ;
26492 int *arg3
= (int *) 0 ;
26493 int *arg4
= (int *) 0 ;
26494 int *arg5
= (int *) 0 ;
26495 int *arg6
= (int *) 0 ;
26496 wxFont
*arg7
= (wxFont
*) NULL
;
26497 bool temp2
= False
;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 PyObject
* obj2
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self",(char *) "string",(char *) "font", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26517 arg2
= wxString_in_helper(obj1
);
26518 if (arg2
== NULL
) SWIG_fail
;
26522 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 Py_INCREF(Py_None
); resultobj
= Py_None
;
26534 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26535 resultobj
= t_output_helper(resultobj
,o
);
26538 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26539 resultobj
= t_output_helper(resultobj
,o
);
26542 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26543 resultobj
= t_output_helper(resultobj
,o
);
26546 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26547 resultobj
= t_output_helper(resultobj
,o
);
26563 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxWindow
*arg1
= (wxWindow
*) 0 ;
26566 int *arg2
= (int *) 0 ;
26567 int *arg3
= (int *) 0 ;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 PyObject
* obj2
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self",(char *) "x",(char *) "y", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 temp2
= PyInt_AsLong(obj1
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26586 temp3
= PyInt_AsLong(obj2
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 Py_INCREF(Py_None
); resultobj
= Py_None
;
26599 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26600 resultobj
= t_output_helper(resultobj
,o
);
26603 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26604 resultobj
= t_output_helper(resultobj
,o
);
26612 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26614 wxWindow
*arg1
= (wxWindow
*) 0 ;
26615 int *arg2
= (int *) 0 ;
26616 int *arg3
= (int *) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 PyObject
* obj2
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "x",(char *) "y", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26630 temp2
= PyInt_AsLong(obj1
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26635 temp3
= PyInt_AsLong(obj2
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 Py_INCREF(Py_None
); resultobj
= Py_None
;
26648 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26649 resultobj
= t_output_helper(resultobj
,o
);
26652 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26653 resultobj
= t_output_helper(resultobj
,o
);
26661 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
;
26663 wxWindow
*arg1
= (wxWindow
*) 0 ;
26664 wxPoint
*arg2
= 0 ;
26667 PyObject
* obj0
= 0 ;
26668 PyObject
* obj1
= 0 ;
26669 char *kwnames
[] = {
26670 (char *) "self",(char *) "pt", NULL
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26688 wxPoint
* resultptr
;
26689 resultptr
= new wxPoint((wxPoint
&) result
);
26690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26698 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxWindow
*arg1
= (wxWindow
*) 0 ;
26701 wxPoint
*arg2
= 0 ;
26704 PyObject
* obj0
= 0 ;
26705 PyObject
* obj1
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self",(char *) "pt", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26725 wxPoint
* resultptr
;
26726 resultptr
= new wxPoint((wxPoint
&) result
);
26727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26735 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxWindow
*arg1
= (wxWindow
*) 0 ;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 PyObject
* obj2
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self",(char *) "x",(char *) "y", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 arg2
= (int) SWIG_AsInt(obj1
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26753 arg3
= (int) SWIG_AsInt(obj2
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= SWIG_FromInt((int)result
);
26769 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxWindow
*arg1
= (wxWindow
*) 0 ;
26772 wxPoint
*arg2
= 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self",(char *) "pt", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_FromInt((int)result
);
26802 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26803 PyObject
*resultobj
;
26804 wxWindow
*arg1
= (wxWindow
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26810 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26813 arg2
= (long) SWIG_AsLong(obj1
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_FromInt((int)result
);
26829 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26830 PyObject
*resultobj
;
26831 wxWindow
*arg1
= (wxWindow
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26835 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 resultobj
= SWIG_FromInt((int)result
);
26852 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26857 argc
= PyObject_Length(args
);
26858 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26859 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26865 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26873 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26880 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26888 _v
= SWIG_CheckLong(argv
[1]);
26890 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26895 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26900 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxWindow
*arg1
= (wxWindow
*) 0 ;
26903 long arg2
= (long) wxUPDATE_UI_NONE
;
26904 PyObject
* obj0
= 0 ;
26905 PyObject
* obj1
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self",(char *) "flags", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 arg2
= (long) SWIG_AsLong(obj1
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 (arg1
)->UpdateWindowUI(arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 Py_INCREF(Py_None
); resultobj
= Py_None
;
26931 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
;
26933 wxWindow
*arg1
= (wxWindow
*) 0 ;
26934 wxMenu
*arg2
= (wxMenu
*) 0 ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 PyObject
* obj2
= 0 ;
26941 PyObject
* obj3
= 0 ;
26942 char *kwnames
[] = {
26943 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26951 arg3
= (int) SWIG_AsInt(obj2
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26953 arg4
= (int) SWIG_AsInt(obj3
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26971 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxWindow
*arg1
= (wxWindow
*) 0 ;
26974 wxMenu
*arg2
= (wxMenu
*) 0 ;
26975 wxPoint
*arg3
= 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 PyObject
* obj2
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "menu",(char *) "pos", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27010 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxWindow
*arg1
= (wxWindow
*) 0 ;
27014 PyObject
* obj0
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (long)wxWindow_GetHandle(arg1
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= SWIG_FromLong((long)result
);
27036 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxWindow
*arg1
= (wxWindow
*) 0 ;
27039 wxPaintEvent
*arg2
= 0 ;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 char *kwnames
[] = {
27043 (char *) "self",(char *) "event", NULL
27046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27052 if (arg2
== NULL
) {
27053 PyErr_SetString(PyExc_TypeError
,"null reference");
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 (arg1
)->OnPaint(*arg2
);
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 Py_INCREF(Py_None
); resultobj
= Py_None
;
27070 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxWindow
*arg1
= (wxWindow
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 PyObject
* obj1
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "self",(char *) "orient", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27084 arg2
= (int) SWIG_AsInt(obj1
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27102 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxWindow
*arg1
= (wxWindow
*) 0 ;
27109 bool arg6
= (bool) True
;
27110 PyObject
* obj0
= 0 ;
27111 PyObject
* obj1
= 0 ;
27112 PyObject
* obj2
= 0 ;
27113 PyObject
* obj3
= 0 ;
27114 PyObject
* obj4
= 0 ;
27115 PyObject
* obj5
= 0 ;
27116 char *kwnames
[] = {
27117 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
27120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27123 arg2
= (int) SWIG_AsInt(obj1
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27125 arg3
= (int) SWIG_AsInt(obj2
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27127 arg4
= (int) SWIG_AsInt(obj3
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27129 arg5
= (int) SWIG_AsInt(obj4
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 arg6
= (bool) SWIG_AsBool(obj5
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27142 Py_INCREF(Py_None
); resultobj
= Py_None
;
27149 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27150 PyObject
*resultobj
;
27151 wxWindow
*arg1
= (wxWindow
*) 0 ;
27154 bool arg4
= (bool) True
;
27155 PyObject
* obj0
= 0 ;
27156 PyObject
* obj1
= 0 ;
27157 PyObject
* obj2
= 0 ;
27158 PyObject
* obj3
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27166 arg2
= (int) SWIG_AsInt(obj1
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27168 arg3
= (int) SWIG_AsInt(obj2
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27171 arg4
= (bool) SWIG_AsBool(obj3
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 Py_INCREF(Py_None
); resultobj
= Py_None
;
27188 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
;
27190 wxWindow
*arg1
= (wxWindow
*) 0 ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self",(char *) "orientation", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27202 arg2
= (int) SWIG_AsInt(obj1
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= SWIG_FromInt((int)result
);
27218 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxWindow
*arg1
= (wxWindow
*) 0 ;
27223 PyObject
* obj0
= 0 ;
27224 PyObject
* obj1
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self",(char *) "orientation", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27232 arg2
= (int) SWIG_AsInt(obj1
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= SWIG_FromInt((int)result
);
27248 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxWindow
*arg1
= (wxWindow
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 char *kwnames
[] = {
27256 (char *) "self",(char *) "orientation", NULL
27259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27262 arg2
= (int) SWIG_AsInt(obj1
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_FromInt((int)result
);
27278 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
;
27280 wxWindow
*arg1
= (wxWindow
*) 0 ;
27283 wxRect
*arg4
= (wxRect
*) NULL
;
27284 PyObject
* obj0
= 0 ;
27285 PyObject
* obj1
= 0 ;
27286 PyObject
* obj2
= 0 ;
27287 PyObject
* obj3
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 arg2
= (int) SWIG_AsInt(obj1
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27297 arg3
= (int) SWIG_AsInt(obj2
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27300 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 Py_INCREF(Py_None
); resultobj
= Py_None
;
27317 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxWindow
*arg1
= (wxWindow
*) 0 ;
27322 PyObject
* obj0
= 0 ;
27323 PyObject
* obj1
= 0 ;
27324 char *kwnames
[] = {
27325 (char *) "self",(char *) "lines", NULL
27328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27331 arg2
= (int) SWIG_AsInt(obj1
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 result
= (bool)(arg1
)->ScrollLines(arg2
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27349 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
;
27351 wxWindow
*arg1
= (wxWindow
*) 0 ;
27354 PyObject
* obj0
= 0 ;
27355 PyObject
* obj1
= 0 ;
27356 char *kwnames
[] = {
27357 (char *) "self",(char *) "pages", NULL
27360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27363 arg2
= (int) SWIG_AsInt(obj1
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (bool)(arg1
)->ScrollPages(arg2
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27381 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 result
= (bool)(arg1
)->LineUp();
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27409 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 wxWindow
*arg1
= (wxWindow
*) 0 ;
27413 PyObject
* obj0
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "self", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 result
= (bool)(arg1
)->LineDown();
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27437 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxWindow
*arg1
= (wxWindow
*) 0 ;
27441 PyObject
* obj0
= 0 ;
27442 char *kwnames
[] = {
27443 (char *) "self", NULL
27446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= (bool)(arg1
)->PageUp();
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27465 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27466 PyObject
*resultobj
;
27467 wxWindow
*arg1
= (wxWindow
*) 0 ;
27469 PyObject
* obj0
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= (bool)(arg1
)->PageDown();
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27493 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
;
27495 wxWindow
*arg1
= (wxWindow
*) 0 ;
27496 wxString
*arg2
= 0 ;
27497 bool temp2
= False
;
27498 PyObject
* obj0
= 0 ;
27499 PyObject
* obj1
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "self",(char *) "text", NULL
27504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27508 arg2
= wxString_in_helper(obj1
);
27509 if (arg2
== NULL
) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 Py_INCREF(Py_None
); resultobj
= Py_None
;
27534 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxWindow
*arg1
= (wxWindow
*) 0 ;
27537 wxString
*arg2
= 0 ;
27538 bool temp2
= False
;
27539 PyObject
* obj0
= 0 ;
27540 PyObject
* obj1
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self",(char *) "text", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27549 arg2
= wxString_in_helper(obj1
);
27550 if (arg2
== NULL
) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27575 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 wxWindow
*arg1
= (wxWindow
*) 0 ;
27579 PyObject
* obj0
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27607 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 wxWindow
*arg1
= (wxWindow
*) 0 ;
27610 wxString
*arg2
= 0 ;
27611 bool temp2
= False
;
27612 PyObject
* obj0
= 0 ;
27613 PyObject
* obj1
= 0 ;
27614 char *kwnames
[] = {
27615 (char *) "self",(char *) "tip", NULL
27618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27622 arg2
= wxString_in_helper(obj1
);
27623 if (arg2
== NULL
) SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 Py_INCREF(Py_None
); resultobj
= Py_None
;
27648 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxWindow
*arg1
= (wxWindow
*) 0 ;
27651 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "tip", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 (arg1
)->SetToolTip(arg2
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 Py_INCREF(Py_None
); resultobj
= Py_None
;
27677 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxWindow
*arg1
= (wxWindow
*) 0 ;
27681 PyObject
* obj0
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "self", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= wxPyMake_wxObject(result
);
27705 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxWindow
*arg1
= (wxWindow
*) 0 ;
27708 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 PyObject
* obj1
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self",(char *) "dropTarget", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27719 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 (arg1
)->SetDropTarget(arg2
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 Py_INCREF(Py_None
); resultobj
= Py_None
;
27734 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxWindow
*arg1
= (wxWindow
*) 0 ;
27737 wxPyDropTarget
*result
;
27738 PyObject
* obj0
= 0 ;
27739 char *kwnames
[] = {
27740 (char *) "self", NULL
27743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27760 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxWindow
*arg1
= (wxWindow
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 PyObject
* obj1
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self",(char *) "accept", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27773 arg2
= (bool) SWIG_AsBool(obj1
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 (arg1
)->DragAcceptFiles(arg2
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 Py_INCREF(Py_None
); resultobj
= Py_None
;
27789 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
;
27791 wxWindow
*arg1
= (wxWindow
*) 0 ;
27792 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27793 PyObject
* obj0
= 0 ;
27794 PyObject
* obj1
= 0 ;
27795 char *kwnames
[] = {
27796 (char *) "self",(char *) "constraints", NULL
27799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 (arg1
)->SetConstraints(arg2
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 Py_INCREF(Py_None
); resultobj
= Py_None
;
27818 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxWindow
*arg1
= (wxWindow
*) 0 ;
27821 wxLayoutConstraints
*result
;
27822 PyObject
* obj0
= 0 ;
27823 char *kwnames
[] = {
27824 (char *) "self", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27844 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxWindow
*arg1
= (wxWindow
*) 0 ;
27848 PyObject
* obj0
= 0 ;
27849 PyObject
* obj1
= 0 ;
27850 char *kwnames
[] = {
27851 (char *) "self",(char *) "autoLayout", NULL
27854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27857 arg2
= (bool) SWIG_AsBool(obj1
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 (arg1
)->SetAutoLayout(arg2
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 Py_INCREF(Py_None
); resultobj
= Py_None
;
27873 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
;
27875 wxWindow
*arg1
= (wxWindow
*) 0 ;
27877 PyObject
* obj0
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27901 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxWindow
*arg1
= (wxWindow
*) 0 ;
27905 PyObject
* obj0
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self", NULL
27910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 result
= (bool)(arg1
)->Layout();
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27929 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxWindow
*arg1
= (wxWindow
*) 0 ;
27932 wxSizer
*arg2
= (wxSizer
*) 0 ;
27933 bool arg3
= (bool) True
;
27934 PyObject
* obj0
= 0 ;
27935 PyObject
* obj1
= 0 ;
27936 PyObject
* obj2
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27947 arg3
= (bool) SWIG_AsBool(obj2
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 (arg1
)->SetSizer(arg2
,arg3
);
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 Py_INCREF(Py_None
); resultobj
= Py_None
;
27964 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxWindow
*arg1
= (wxWindow
*) 0 ;
27967 wxSizer
*arg2
= (wxSizer
*) 0 ;
27968 bool arg3
= (bool) True
;
27969 PyObject
* obj0
= 0 ;
27970 PyObject
* obj1
= 0 ;
27971 PyObject
* obj2
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27982 arg3
= (bool) SWIG_AsBool(obj2
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 Py_INCREF(Py_None
); resultobj
= Py_None
;
27999 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28001 wxWindow
*arg1
= (wxWindow
*) 0 ;
28003 PyObject
* obj0
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= wxPyMake_wxSizer(result
);
28027 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
;
28029 wxWindow
*arg1
= (wxWindow
*) 0 ;
28030 wxSizer
*arg2
= (wxSizer
*) 0 ;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 char *kwnames
[] = {
28034 (char *) "self",(char *) "sizer", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 (arg1
)->SetContainingSizer(arg2
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 Py_INCREF(Py_None
); resultobj
= Py_None
;
28056 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxWindow
*arg1
= (wxWindow
*) 0 ;
28060 PyObject
* obj0
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28072 wxPyEndAllowThreads(__tstate
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28076 resultobj
= wxPyMake_wxSizer(result
);
28084 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28087 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28089 return Py_BuildValue((char *)"");
28091 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28094 wxWindow
*arg2
= (wxWindow
*) NULL
;
28096 PyObject
* obj0
= 0 ;
28097 PyObject
* obj1
= 0 ;
28098 char *kwnames
[] = {
28099 (char *) "id",(char *) "parent", NULL
28102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28103 arg1
= (long) SWIG_AsLong(obj0
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28117 resultobj
= wxPyMake_wxObject(result
);
28125 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxString
*arg1
= 0 ;
28128 wxWindow
*arg2
= (wxWindow
*) NULL
;
28130 bool temp1
= False
;
28131 PyObject
* obj0
= 0 ;
28132 PyObject
* obj1
= 0 ;
28133 char *kwnames
[] = {
28134 (char *) "name",(char *) "parent", NULL
28137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28139 arg1
= wxString_in_helper(obj0
);
28140 if (arg1
== NULL
) SWIG_fail
;
28144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= wxPyMake_wxObject(result
);
28171 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
;
28173 wxString
*arg1
= 0 ;
28174 wxWindow
*arg2
= (wxWindow
*) NULL
;
28176 bool temp1
= False
;
28177 PyObject
* obj0
= 0 ;
28178 PyObject
* obj1
= 0 ;
28179 char *kwnames
[] = {
28180 (char *) "label",(char *) "parent", NULL
28183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28185 arg1
= wxString_in_helper(obj0
);
28186 if (arg1
== NULL
) SWIG_fail
;
28190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= wxPyMake_wxObject(result
);
28217 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28218 PyObject
*resultobj
;
28219 wxWindow
*arg1
= (wxWindow
*) 0 ;
28220 unsigned long arg2
;
28222 PyObject
* obj0
= 0 ;
28223 PyObject
* obj1
= 0 ;
28224 char *kwnames
[] = {
28225 (char *) "parent",(char *) "_hWnd", NULL
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28231 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28241 resultobj
= wxPyMake_wxObject(result
);
28249 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 wxValidator
*result
;
28252 char *kwnames
[] = {
28256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 result
= (wxValidator
*)new wxValidator();
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= wxPyMake_wxObject(result
);
28273 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
;
28275 wxValidator
*arg1
= (wxValidator
*) 0 ;
28276 wxValidator
*result
;
28277 PyObject
* obj0
= 0 ;
28278 char *kwnames
[] = {
28279 (char *) "self", NULL
28282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 result
= (wxValidator
*)(arg1
)->Clone();
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= wxPyMake_wxObject(result
);
28301 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
;
28303 wxValidator
*arg1
= (wxValidator
*) 0 ;
28304 wxWindow
*arg2
= (wxWindow
*) 0 ;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self",(char *) "parent", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 result
= (bool)(arg1
)->Validate(arg2
);
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28333 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
;
28335 wxValidator
*arg1
= (wxValidator
*) 0 ;
28337 PyObject
* obj0
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (bool)(arg1
)->TransferToWindow();
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28361 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxValidator
*arg1
= (wxValidator
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 char *kwnames
[] = {
28367 (char *) "self", NULL
28370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (bool)(arg1
)->TransferFromWindow();
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28389 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28390 PyObject
*resultobj
;
28391 wxValidator
*arg1
= (wxValidator
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 char *kwnames
[] = {
28395 (char *) "self", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 result
= (wxWindow
*)(arg1
)->GetWindow();
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= wxPyMake_wxObject(result
);
28417 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28418 PyObject
*resultobj
;
28419 wxValidator
*arg1
= (wxValidator
*) 0 ;
28420 wxWindow
*arg2
= (wxWindow
*) 0 ;
28421 PyObject
* obj0
= 0 ;
28422 PyObject
* obj1
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self",(char *) "window", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 (arg1
)->SetWindow(arg2
);
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 Py_INCREF(Py_None
); resultobj
= Py_None
;
28446 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
;
28449 char *kwnames
[] = {
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (bool)wxValidator::IsSilent();
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28470 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28471 PyObject
*resultobj
;
28472 int arg1
= (int) True
;
28473 PyObject
* obj0
= 0 ;
28474 char *kwnames
[] = {
28475 (char *) "doIt", NULL
28478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28480 arg1
= (int) SWIG_AsInt(obj0
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28485 wxValidator::SetBellOnError(arg1
);
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28490 Py_INCREF(Py_None
); resultobj
= Py_None
;
28497 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28500 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28502 return Py_BuildValue((char *)"");
28504 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
;
28506 wxPyValidator
*result
;
28507 char *kwnames
[] = {
28511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 result
= (wxPyValidator
*)new wxPyValidator();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28526 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28527 PyObject
*resultobj
;
28528 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28529 PyObject
*arg2
= (PyObject
*) 0 ;
28530 PyObject
*arg3
= (PyObject
*) 0 ;
28531 int arg4
= (int) True
;
28532 PyObject
* obj0
= 0 ;
28533 PyObject
* obj1
= 0 ;
28534 PyObject
* obj2
= 0 ;
28535 PyObject
* obj3
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28546 arg4
= (int) SWIG_AsInt(obj3
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 Py_INCREF(Py_None
); resultobj
= Py_None
;
28563 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28566 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28568 return Py_BuildValue((char *)"");
28570 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28571 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28576 static PyObject
*_wrap_DefaultValidator_get() {
28579 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28584 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
;
28586 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28587 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28588 long arg2
= (long) 0 ;
28590 bool temp1
= False
;
28591 PyObject
* obj0
= 0 ;
28592 PyObject
* obj1
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "title",(char *) "style", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28600 arg1
= wxString_in_helper(obj0
);
28601 if (arg1
== NULL
) SWIG_fail
;
28606 arg2
= (long) SWIG_AsLong(obj1
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= wxPyMake_wxObject(result
);
28633 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
;
28635 wxMenu
*arg1
= (wxMenu
*) 0 ;
28637 wxString
*arg3
= 0 ;
28638 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28639 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28640 int arg5
= (int) wxITEM_NORMAL
;
28641 wxMenuItem
*result
;
28642 bool temp3
= False
;
28643 bool temp4
= False
;
28644 PyObject
* obj0
= 0 ;
28645 PyObject
* obj1
= 0 ;
28646 PyObject
* obj2
= 0 ;
28647 PyObject
* obj3
= 0 ;
28648 PyObject
* obj4
= 0 ;
28649 char *kwnames
[] = {
28650 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28656 arg2
= (int) SWIG_AsInt(obj1
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 arg3
= wxString_in_helper(obj2
);
28660 if (arg3
== NULL
) SWIG_fail
;
28665 arg4
= wxString_in_helper(obj3
);
28666 if (arg4
== NULL
) SWIG_fail
;
28671 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= wxPyMake_wxObject(result
);
28706 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxMenu
*arg1
= (wxMenu
*) 0 ;
28709 wxMenuItem
*result
;
28710 PyObject
* obj0
= 0 ;
28711 char *kwnames
[] = {
28712 (char *) "self", NULL
28715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= wxPyMake_wxObject(result
);
28734 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxMenu
*arg1
= (wxMenu
*) 0 ;
28738 wxString
*arg3
= 0 ;
28739 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28741 wxMenuItem
*result
;
28742 bool temp3
= False
;
28743 bool temp4
= False
;
28744 PyObject
* obj0
= 0 ;
28745 PyObject
* obj1
= 0 ;
28746 PyObject
* obj2
= 0 ;
28747 PyObject
* obj3
= 0 ;
28748 char *kwnames
[] = {
28749 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28755 arg2
= (int) SWIG_AsInt(obj1
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 arg3
= wxString_in_helper(obj2
);
28759 if (arg3
== NULL
) SWIG_fail
;
28764 arg4
= wxString_in_helper(obj3
);
28765 if (arg4
== NULL
) SWIG_fail
;
28770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28771 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28773 wxPyEndAllowThreads(__tstate
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= wxPyMake_wxObject(result
);
28801 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
;
28803 wxMenu
*arg1
= (wxMenu
*) 0 ;
28805 wxString
*arg3
= 0 ;
28806 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28807 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28808 wxMenuItem
*result
;
28809 bool temp3
= False
;
28810 bool temp4
= False
;
28811 PyObject
* obj0
= 0 ;
28812 PyObject
* obj1
= 0 ;
28813 PyObject
* obj2
= 0 ;
28814 PyObject
* obj3
= 0 ;
28815 char *kwnames
[] = {
28816 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28822 arg2
= (int) SWIG_AsInt(obj1
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 arg3
= wxString_in_helper(obj2
);
28826 if (arg3
== NULL
) SWIG_fail
;
28831 arg4
= wxString_in_helper(obj3
);
28832 if (arg4
== NULL
) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= wxPyMake_wxObject(result
);
28868 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxMenu
*arg1
= (wxMenu
*) 0 ;
28872 wxString
*arg3
= 0 ;
28873 wxMenu
*arg4
= (wxMenu
*) 0 ;
28874 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28875 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28876 wxMenuItem
*result
;
28877 bool temp3
= False
;
28878 bool temp5
= False
;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 PyObject
* obj2
= 0 ;
28882 PyObject
* obj3
= 0 ;
28883 PyObject
* obj4
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28891 arg2
= (int) SWIG_AsInt(obj1
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 arg3
= wxString_in_helper(obj2
);
28895 if (arg3
== NULL
) SWIG_fail
;
28898 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28902 arg5
= wxString_in_helper(obj4
);
28903 if (arg5
== NULL
) SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= wxPyMake_wxObject(result
);
28939 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 wxMenu
*arg1
= (wxMenu
*) 0 ;
28942 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28943 wxMenuItem
*result
;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "self",(char *) "item", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28963 resultobj
= wxPyMake_wxObject(result
);
28971 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28973 wxMenu
*arg1
= (wxMenu
*) 0 ;
28974 PyObject
* obj0
= 0 ;
28975 char *kwnames
[] = {
28976 (char *) "self", NULL
28979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 Py_INCREF(Py_None
); resultobj
= Py_None
;
28996 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28997 PyObject
*resultobj
;
28998 wxMenu
*arg1
= (wxMenu
*) 0 ;
29000 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29001 wxMenuItem
*result
;
29002 PyObject
* obj0
= 0 ;
29003 PyObject
* obj1
= 0 ;
29004 PyObject
* obj2
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self",(char *) "pos",(char *) "item", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29012 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29014 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29024 resultobj
= wxPyMake_wxObject(result
);
29032 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29034 wxMenu
*arg1
= (wxMenu
*) 0 ;
29037 wxString
*arg4
= 0 ;
29038 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29039 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29040 int arg6
= (int) wxITEM_NORMAL
;
29041 wxMenuItem
*result
;
29042 bool temp4
= False
;
29043 bool temp5
= False
;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 PyObject
* obj2
= 0 ;
29047 PyObject
* obj3
= 0 ;
29048 PyObject
* obj4
= 0 ;
29049 PyObject
* obj5
= 0 ;
29050 char *kwnames
[] = {
29051 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29057 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29059 arg3
= (int) SWIG_AsInt(obj2
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 arg4
= wxString_in_helper(obj3
);
29063 if (arg4
== NULL
) SWIG_fail
;
29068 arg5
= wxString_in_helper(obj4
);
29069 if (arg5
== NULL
) SWIG_fail
;
29074 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29079 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= wxPyMake_wxObject(result
);
29109 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29110 PyObject
*resultobj
;
29111 wxMenu
*arg1
= (wxMenu
*) 0 ;
29113 wxMenuItem
*result
;
29114 PyObject
* obj0
= 0 ;
29115 PyObject
* obj1
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self",(char *) "pos", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29123 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29129 wxPyEndAllowThreads(__tstate
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= wxPyMake_wxObject(result
);
29141 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29142 PyObject
*resultobj
;
29143 wxMenu
*arg1
= (wxMenu
*) 0 ;
29146 wxString
*arg4
= 0 ;
29147 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29148 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29149 wxMenuItem
*result
;
29150 bool temp4
= False
;
29151 bool temp5
= False
;
29152 PyObject
* obj0
= 0 ;
29153 PyObject
* obj1
= 0 ;
29154 PyObject
* obj2
= 0 ;
29155 PyObject
* obj3
= 0 ;
29156 PyObject
* obj4
= 0 ;
29157 char *kwnames
[] = {
29158 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29164 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29166 arg3
= (int) SWIG_AsInt(obj2
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 arg4
= wxString_in_helper(obj3
);
29170 if (arg4
== NULL
) SWIG_fail
;
29175 arg5
= wxString_in_helper(obj4
);
29176 if (arg5
== NULL
) SWIG_fail
;
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= wxPyMake_wxObject(result
);
29212 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29213 PyObject
*resultobj
;
29214 wxMenu
*arg1
= (wxMenu
*) 0 ;
29217 wxString
*arg4
= 0 ;
29218 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29219 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29220 wxMenuItem
*result
;
29221 bool temp4
= False
;
29222 bool temp5
= False
;
29223 PyObject
* obj0
= 0 ;
29224 PyObject
* obj1
= 0 ;
29225 PyObject
* obj2
= 0 ;
29226 PyObject
* obj3
= 0 ;
29227 PyObject
* obj4
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29235 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29237 arg3
= (int) SWIG_AsInt(obj2
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29240 arg4
= wxString_in_helper(obj3
);
29241 if (arg4
== NULL
) SWIG_fail
;
29246 arg5
= wxString_in_helper(obj4
);
29247 if (arg5
== NULL
) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= wxPyMake_wxObject(result
);
29283 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
;
29285 wxMenu
*arg1
= (wxMenu
*) 0 ;
29288 wxString
*arg4
= 0 ;
29289 wxMenu
*arg5
= (wxMenu
*) 0 ;
29290 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29291 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29292 wxMenuItem
*result
;
29293 bool temp4
= False
;
29294 bool temp6
= False
;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 PyObject
* obj2
= 0 ;
29298 PyObject
* obj3
= 0 ;
29299 PyObject
* obj4
= 0 ;
29300 PyObject
* obj5
= 0 ;
29301 char *kwnames
[] = {
29302 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29308 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29310 arg3
= (int) SWIG_AsInt(obj2
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 arg4
= wxString_in_helper(obj3
);
29314 if (arg4
== NULL
) SWIG_fail
;
29317 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29321 arg6
= wxString_in_helper(obj5
);
29322 if (arg6
== NULL
) SWIG_fail
;
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= wxPyMake_wxObject(result
);
29358 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
;
29360 wxMenu
*arg1
= (wxMenu
*) 0 ;
29361 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29362 wxMenuItem
*result
;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 char *kwnames
[] = {
29366 (char *) "self",(char *) "item", NULL
29369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= wxPyMake_wxObject(result
);
29390 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
;
29392 wxMenu
*arg1
= (wxMenu
*) 0 ;
29394 wxString
*arg3
= 0 ;
29395 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29396 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29397 int arg5
= (int) wxITEM_NORMAL
;
29398 wxMenuItem
*result
;
29399 bool temp3
= False
;
29400 bool temp4
= False
;
29401 PyObject
* obj0
= 0 ;
29402 PyObject
* obj1
= 0 ;
29403 PyObject
* obj2
= 0 ;
29404 PyObject
* obj3
= 0 ;
29405 PyObject
* obj4
= 0 ;
29406 char *kwnames
[] = {
29407 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29413 arg2
= (int) SWIG_AsInt(obj1
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 arg3
= wxString_in_helper(obj2
);
29417 if (arg3
== NULL
) SWIG_fail
;
29422 arg4
= wxString_in_helper(obj3
);
29423 if (arg4
== NULL
) SWIG_fail
;
29428 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29429 if (PyErr_Occurred()) SWIG_fail
;
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29439 resultobj
= wxPyMake_wxObject(result
);
29463 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxMenu
*arg1
= (wxMenu
*) 0 ;
29466 wxMenuItem
*result
;
29467 PyObject
* obj0
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= wxPyMake_wxObject(result
);
29491 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29492 PyObject
*resultobj
;
29493 wxMenu
*arg1
= (wxMenu
*) 0 ;
29495 wxString
*arg3
= 0 ;
29496 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29497 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29498 wxMenuItem
*result
;
29499 bool temp3
= False
;
29500 bool temp4
= False
;
29501 PyObject
* obj0
= 0 ;
29502 PyObject
* obj1
= 0 ;
29503 PyObject
* obj2
= 0 ;
29504 PyObject
* obj3
= 0 ;
29505 char *kwnames
[] = {
29506 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29512 arg2
= (int) SWIG_AsInt(obj1
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29515 arg3
= wxString_in_helper(obj2
);
29516 if (arg3
== NULL
) SWIG_fail
;
29521 arg4
= wxString_in_helper(obj3
);
29522 if (arg4
== NULL
) SWIG_fail
;
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29530 wxPyEndAllowThreads(__tstate
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= wxPyMake_wxObject(result
);
29558 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
;
29560 wxMenu
*arg1
= (wxMenu
*) 0 ;
29562 wxString
*arg3
= 0 ;
29563 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29564 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29565 wxMenuItem
*result
;
29566 bool temp3
= False
;
29567 bool temp4
= False
;
29568 PyObject
* obj0
= 0 ;
29569 PyObject
* obj1
= 0 ;
29570 PyObject
* obj2
= 0 ;
29571 PyObject
* obj3
= 0 ;
29572 char *kwnames
[] = {
29573 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29579 arg2
= (int) SWIG_AsInt(obj1
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29582 arg3
= wxString_in_helper(obj2
);
29583 if (arg3
== NULL
) SWIG_fail
;
29588 arg4
= wxString_in_helper(obj3
);
29589 if (arg4
== NULL
) SWIG_fail
;
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= wxPyMake_wxObject(result
);
29625 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
;
29627 wxMenu
*arg1
= (wxMenu
*) 0 ;
29629 wxString
*arg3
= 0 ;
29630 wxMenu
*arg4
= (wxMenu
*) 0 ;
29631 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29632 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29633 wxMenuItem
*result
;
29634 bool temp3
= False
;
29635 bool temp5
= False
;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 PyObject
* obj2
= 0 ;
29639 PyObject
* obj3
= 0 ;
29640 PyObject
* obj4
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29648 arg2
= (int) SWIG_AsInt(obj1
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29651 arg3
= wxString_in_helper(obj2
);
29652 if (arg3
== NULL
) SWIG_fail
;
29655 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29659 arg5
= wxString_in_helper(obj4
);
29660 if (arg5
== NULL
) SWIG_fail
;
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= wxPyMake_wxObject(result
);
29696 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
;
29698 wxMenu
*arg1
= (wxMenu
*) 0 ;
29700 wxMenuItem
*result
;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj1
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self",(char *) "id", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29710 arg2
= (int) SWIG_AsInt(obj1
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= wxPyMake_wxObject(result
);
29728 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29729 PyObject
*resultobj
;
29730 wxMenu
*arg1
= (wxMenu
*) 0 ;
29731 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29732 wxMenuItem
*result
;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self",(char *) "item", NULL
29739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= wxPyMake_wxObject(result
);
29760 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
;
29762 wxMenu
*arg1
= (wxMenu
*) 0 ;
29765 PyObject
* obj0
= 0 ;
29766 PyObject
* obj1
= 0 ;
29767 char *kwnames
[] = {
29768 (char *) "self",(char *) "id", NULL
29771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29774 arg2
= (int) SWIG_AsInt(obj1
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 result
= (bool)(arg1
)->Delete(arg2
);
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29792 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
;
29794 wxMenu
*arg1
= (wxMenu
*) 0 ;
29795 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 char *kwnames
[] = {
29800 (char *) "self",(char *) "item", NULL
29803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= (bool)(arg1
)->Delete(arg2
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29824 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29825 PyObject
*resultobj
;
29826 wxMenu
*arg1
= (wxMenu
*) 0 ;
29827 PyObject
* obj0
= 0 ;
29828 char *kwnames
[] = {
29829 (char *) "self", NULL
29832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29837 wxMenu_Destroy(arg1
);
29839 wxPyEndAllowThreads(__tstate
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29842 Py_INCREF(Py_None
); resultobj
= Py_None
;
29849 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29850 PyObject
*resultobj
;
29851 wxMenu
*arg1
= (wxMenu
*) 0 ;
29854 PyObject
* obj0
= 0 ;
29855 PyObject
* obj1
= 0 ;
29856 char *kwnames
[] = {
29857 (char *) "self",(char *) "id", NULL
29860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29863 arg2
= (int) SWIG_AsInt(obj1
);
29864 if (PyErr_Occurred()) SWIG_fail
;
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29867 result
= (bool)(arg1
)->Destroy(arg2
);
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29881 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
;
29883 wxMenu
*arg1
= (wxMenu
*) 0 ;
29884 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29886 PyObject
* obj0
= 0 ;
29887 PyObject
* obj1
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self",(char *) "item", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (bool)(arg1
)->Destroy(arg2
);
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29913 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29914 PyObject
*resultobj
;
29915 wxMenu
*arg1
= (wxMenu
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29939 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
;
29941 wxMenu
*arg1
= (wxMenu
*) 0 ;
29943 PyObject
* obj0
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= result
;
29965 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
;
29967 wxMenu
*arg1
= (wxMenu
*) 0 ;
29968 wxString
*arg2
= 0 ;
29970 bool temp2
= False
;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "self",(char *) "item", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29981 arg2
= wxString_in_helper(obj1
);
29982 if (arg2
== NULL
) SWIG_fail
;
29986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29992 resultobj
= SWIG_FromInt((int)result
);
30007 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
;
30009 wxMenu
*arg1
= (wxMenu
*) 0 ;
30011 wxMenuItem
*result
;
30012 PyObject
* obj0
= 0 ;
30013 PyObject
* obj1
= 0 ;
30014 char *kwnames
[] = {
30015 (char *) "self",(char *) "id", NULL
30018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30021 arg2
= (int) SWIG_AsInt(obj1
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30031 resultobj
= wxPyMake_wxObject(result
);
30039 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
;
30041 wxMenu
*arg1
= (wxMenu
*) 0 ;
30043 wxMenuItem
*result
;
30044 PyObject
* obj0
= 0 ;
30045 PyObject
* obj1
= 0 ;
30046 char *kwnames
[] = {
30047 (char *) "self",(char *) "position", NULL
30050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30053 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= wxPyMake_wxObject(result
);
30071 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30072 PyObject
*resultobj
;
30073 wxMenu
*arg1
= (wxMenu
*) 0 ;
30076 PyObject
* obj0
= 0 ;
30077 PyObject
* obj1
= 0 ;
30078 PyObject
* obj2
= 0 ;
30079 char *kwnames
[] = {
30080 (char *) "self",(char *) "id",(char *) "enable", NULL
30083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30086 arg2
= (int) SWIG_AsInt(obj1
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30088 arg3
= (bool) SWIG_AsBool(obj2
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 (arg1
)->Enable(arg2
,arg3
);
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 Py_INCREF(Py_None
); resultobj
= Py_None
;
30104 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30105 PyObject
*resultobj
;
30106 wxMenu
*arg1
= (wxMenu
*) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char *kwnames
[] = {
30112 (char *) "self",(char *) "id", NULL
30115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30118 arg2
= (int) SWIG_AsInt(obj1
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30136 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
;
30138 wxMenu
*arg1
= (wxMenu
*) 0 ;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 PyObject
* obj2
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self",(char *) "id",(char *) "check", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30151 arg2
= (int) SWIG_AsInt(obj1
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30153 arg3
= (bool) SWIG_AsBool(obj2
);
30154 if (PyErr_Occurred()) SWIG_fail
;
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 (arg1
)->Check(arg2
,arg3
);
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 Py_INCREF(Py_None
); resultobj
= Py_None
;
30169 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
;
30171 wxMenu
*arg1
= (wxMenu
*) 0 ;
30174 PyObject
* obj0
= 0 ;
30175 PyObject
* obj1
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "self",(char *) "id", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30183 arg2
= (int) SWIG_AsInt(obj1
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30201 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
;
30203 wxMenu
*arg1
= (wxMenu
*) 0 ;
30205 wxString
*arg3
= 0 ;
30206 bool temp3
= False
;
30207 PyObject
* obj0
= 0 ;
30208 PyObject
* obj1
= 0 ;
30209 PyObject
* obj2
= 0 ;
30210 char *kwnames
[] = {
30211 (char *) "self",(char *) "id",(char *) "label", NULL
30214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30217 arg2
= (int) SWIG_AsInt(obj1
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 arg3
= wxString_in_helper(obj2
);
30221 if (arg3
== NULL
) SWIG_fail
;
30225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 Py_INCREF(Py_None
); resultobj
= Py_None
;
30246 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30247 PyObject
*resultobj
;
30248 wxMenu
*arg1
= (wxMenu
*) 0 ;
30251 PyObject
* obj0
= 0 ;
30252 PyObject
* obj1
= 0 ;
30253 char *kwnames
[] = {
30254 (char *) "self",(char *) "id", NULL
30257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30260 arg2
= (int) SWIG_AsInt(obj1
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30282 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30283 PyObject
*resultobj
;
30284 wxMenu
*arg1
= (wxMenu
*) 0 ;
30286 wxString
*arg3
= 0 ;
30287 bool temp3
= False
;
30288 PyObject
* obj0
= 0 ;
30289 PyObject
* obj1
= 0 ;
30290 PyObject
* obj2
= 0 ;
30291 char *kwnames
[] = {
30292 (char *) "self",(char *) "id",(char *) "helpString", NULL
30295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30298 arg2
= (int) SWIG_AsInt(obj1
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 arg3
= wxString_in_helper(obj2
);
30302 if (arg3
== NULL
) SWIG_fail
;
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30312 Py_INCREF(Py_None
); resultobj
= Py_None
;
30327 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30328 PyObject
*resultobj
;
30329 wxMenu
*arg1
= (wxMenu
*) 0 ;
30332 PyObject
* obj0
= 0 ;
30333 PyObject
* obj1
= 0 ;
30334 char *kwnames
[] = {
30335 (char *) "self",(char *) "id", NULL
30338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30341 arg2
= (int) SWIG_AsInt(obj1
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30363 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30364 PyObject
*resultobj
;
30365 wxMenu
*arg1
= (wxMenu
*) 0 ;
30366 wxString
*arg2
= 0 ;
30367 bool temp2
= False
;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self",(char *) "title", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30378 arg2
= wxString_in_helper(obj1
);
30379 if (arg2
== NULL
) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 (arg1
)->SetTitle((wxString
const &)*arg2
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 Py_INCREF(Py_None
); resultobj
= Py_None
;
30404 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxMenu
*arg1
= (wxMenu
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 char *kwnames
[] = {
30410 (char *) "self", NULL
30413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 result
= ((wxMenu
const *)arg1
)->GetTitle();
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30436 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
;
30438 wxMenu
*arg1
= (wxMenu
*) 0 ;
30439 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30440 PyObject
* obj0
= 0 ;
30441 PyObject
* obj1
= 0 ;
30442 char *kwnames
[] = {
30443 (char *) "self",(char *) "handler", NULL
30446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 (arg1
)->SetEventHandler(arg2
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 Py_INCREF(Py_None
); resultobj
= Py_None
;
30465 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
;
30467 wxMenu
*arg1
= (wxMenu
*) 0 ;
30468 wxEvtHandler
*result
;
30469 PyObject
* obj0
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= wxPyMake_wxObject(result
);
30493 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
;
30495 wxMenu
*arg1
= (wxMenu
*) 0 ;
30496 wxWindow
*arg2
= (wxWindow
*) 0 ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 char *kwnames
[] = {
30500 (char *) "self",(char *) "win", NULL
30503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 (arg1
)->SetInvokingWindow(arg2
);
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 Py_INCREF(Py_None
); resultobj
= Py_None
;
30522 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30523 PyObject
*resultobj
;
30524 wxMenu
*arg1
= (wxMenu
*) 0 ;
30526 PyObject
* obj0
= 0 ;
30527 char *kwnames
[] = {
30528 (char *) "self", NULL
30531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= wxPyMake_wxObject(result
);
30550 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30551 PyObject
*resultobj
;
30552 wxMenu
*arg1
= (wxMenu
*) 0 ;
30554 PyObject
* obj0
= 0 ;
30555 char *kwnames
[] = {
30556 (char *) "self", NULL
30559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30566 wxPyEndAllowThreads(__tstate
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= SWIG_FromLong((long)result
);
30576 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxMenu
*arg1
= (wxMenu
*) 0 ;
30579 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "source", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->UpdateUI(arg2
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 Py_INCREF(Py_None
); resultobj
= Py_None
;
30607 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxMenu
*arg1
= (wxMenu
*) 0 ;
30611 PyObject
* obj0
= 0 ;
30612 char *kwnames
[] = {
30613 (char *) "self", NULL
30616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= wxPyMake_wxObject(result
);
30635 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
;
30637 wxMenu
*arg1
= (wxMenu
*) 0 ;
30638 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30639 PyObject
* obj0
= 0 ;
30640 PyObject
* obj1
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self",(char *) "menubar", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 (arg1
)->Attach(arg2
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 Py_INCREF(Py_None
); resultobj
= Py_None
;
30664 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
;
30666 wxMenu
*arg1
= (wxMenu
*) 0 ;
30667 PyObject
* obj0
= 0 ;
30668 char *kwnames
[] = {
30669 (char *) "self", NULL
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 Py_INCREF(Py_None
); resultobj
= Py_None
;
30689 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
;
30691 wxMenu
*arg1
= (wxMenu
*) 0 ;
30693 PyObject
* obj0
= 0 ;
30694 char *kwnames
[] = {
30695 (char *) "self", NULL
30698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30705 wxPyEndAllowThreads(__tstate
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30717 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
;
30719 wxMenu
*arg1
= (wxMenu
*) 0 ;
30720 wxMenu
*arg2
= (wxMenu
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 char *kwnames
[] = {
30724 (char *) "self",(char *) "parent", NULL
30727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 (arg1
)->SetParent(arg2
);
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 Py_INCREF(Py_None
); resultobj
= Py_None
;
30746 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
;
30748 wxMenu
*arg1
= (wxMenu
*) 0 ;
30750 PyObject
* obj0
= 0 ;
30751 char *kwnames
[] = {
30752 (char *) "self", NULL
30755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30760 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30762 wxPyEndAllowThreads(__tstate
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30766 resultobj
= wxPyMake_wxObject(result
);
30774 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30777 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30779 return Py_BuildValue((char *)"");
30781 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
;
30783 long arg1
= (long) 0 ;
30785 PyObject
* obj0
= 0 ;
30786 char *kwnames
[] = {
30787 (char *) "style", NULL
30790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30792 arg1
= (long) SWIG_AsLong(obj0
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= wxPyMake_wxObject(result
);
30811 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30814 wxMenu
*arg2
= (wxMenu
*) 0 ;
30815 wxString
*arg3
= 0 ;
30817 bool temp3
= False
;
30818 PyObject
* obj0
= 0 ;
30819 PyObject
* obj1
= 0 ;
30820 PyObject
* obj2
= 0 ;
30821 char *kwnames
[] = {
30822 (char *) "self",(char *) "menu",(char *) "title", NULL
30825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30831 arg3
= wxString_in_helper(obj2
);
30832 if (arg3
== NULL
) SWIG_fail
;
30836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30837 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30839 wxPyEndAllowThreads(__tstate
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30859 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30860 PyObject
*resultobj
;
30861 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30863 wxMenu
*arg3
= (wxMenu
*) 0 ;
30864 wxString
*arg4
= 0 ;
30866 bool temp4
= False
;
30867 PyObject
* obj0
= 0 ;
30868 PyObject
* obj1
= 0 ;
30869 PyObject
* obj2
= 0 ;
30870 PyObject
* obj3
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30878 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30880 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30883 arg4
= wxString_in_helper(obj3
);
30884 if (arg4
== NULL
) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30911 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30912 PyObject
*resultobj
;
30913 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30915 PyObject
* obj0
= 0 ;
30916 char *kwnames
[] = {
30917 (char *) "self", NULL
30920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30925 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30927 wxPyEndAllowThreads(__tstate
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30930 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30937 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30942 PyObject
* obj0
= 0 ;
30943 PyObject
* obj1
= 0 ;
30944 char *kwnames
[] = {
30945 (char *) "self",(char *) "pos", NULL
30948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30951 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30955 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30957 wxPyEndAllowThreads(__tstate
);
30958 if (PyErr_Occurred()) SWIG_fail
;
30961 resultobj
= wxPyMake_wxObject(result
);
30969 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30970 PyObject
*resultobj
;
30971 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30973 wxMenu
*arg3
= (wxMenu
*) 0 ;
30974 wxString
*arg4
= 0 ;
30976 bool temp4
= False
;
30977 PyObject
* obj0
= 0 ;
30978 PyObject
* obj1
= 0 ;
30979 PyObject
* obj2
= 0 ;
30980 PyObject
* obj3
= 0 ;
30981 char *kwnames
[] = {
30982 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30988 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30990 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30993 arg4
= wxString_in_helper(obj3
);
30994 if (arg4
== NULL
) SWIG_fail
;
30998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30999 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= wxPyMake_wxObject(result
);
31021 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
;
31023 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 char *kwnames
[] = {
31029 (char *) "self",(char *) "pos", NULL
31032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31035 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= wxPyMake_wxObject(result
);
31053 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self",(char *) "pos",(char *) "enable", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31068 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31070 arg3
= (bool) SWIG_AsBool(obj2
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31074 (arg1
)->EnableTop(arg2
,arg3
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 Py_INCREF(Py_None
); resultobj
= Py_None
;
31086 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self",(char *) "pos", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31100 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31118 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
;
31120 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31122 wxString
*arg3
= 0 ;
31123 bool temp3
= False
;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 PyObject
* obj2
= 0 ;
31127 char *kwnames
[] = {
31128 (char *) "self",(char *) "pos",(char *) "label", NULL
31131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31134 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 arg3
= wxString_in_helper(obj2
);
31138 if (arg3
== NULL
) SWIG_fail
;
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 Py_INCREF(Py_None
); resultobj
= Py_None
;
31163 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31165 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 char *kwnames
[] = {
31171 (char *) "self",(char *) "pos", NULL
31174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31177 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31181 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31199 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31200 PyObject
*resultobj
;
31201 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31202 wxString
*arg2
= 0 ;
31203 wxString
*arg3
= 0 ;
31205 bool temp2
= False
;
31206 bool temp3
= False
;
31207 PyObject
* obj0
= 0 ;
31208 PyObject
* obj1
= 0 ;
31209 PyObject
* obj2
= 0 ;
31210 char *kwnames
[] = {
31211 (char *) "self",(char *) "menu",(char *) "item", NULL
31214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31218 arg2
= wxString_in_helper(obj1
);
31219 if (arg2
== NULL
) SWIG_fail
;
31223 arg3
= wxString_in_helper(obj2
);
31224 if (arg3
== NULL
) SWIG_fail
;
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_FromInt((int)result
);
31257 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31258 PyObject
*resultobj
;
31259 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31261 wxMenuItem
*result
;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 char *kwnames
[] = {
31265 (char *) "self",(char *) "id", NULL
31268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31271 arg2
= (int) SWIG_AsInt(obj1
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31281 resultobj
= wxPyMake_wxObject(result
);
31289 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31290 PyObject
*resultobj
;
31291 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31292 wxString
*arg2
= 0 ;
31294 bool temp2
= False
;
31295 PyObject
* obj0
= 0 ;
31296 PyObject
* obj1
= 0 ;
31297 char *kwnames
[] = {
31298 (char *) "self",(char *) "title", NULL
31301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31305 arg2
= wxString_in_helper(obj1
);
31306 if (arg2
== NULL
) SWIG_fail
;
31310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31311 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31313 wxPyEndAllowThreads(__tstate
);
31314 if (PyErr_Occurred()) SWIG_fail
;
31316 resultobj
= SWIG_FromInt((int)result
);
31331 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
;
31333 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31336 PyObject
* obj0
= 0 ;
31337 PyObject
* obj1
= 0 ;
31338 PyObject
* obj2
= 0 ;
31339 char *kwnames
[] = {
31340 (char *) "self",(char *) "id",(char *) "enable", NULL
31343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31346 arg2
= (int) SWIG_AsInt(obj1
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31348 arg3
= (bool) SWIG_AsBool(obj2
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 (arg1
)->Enable(arg2
,arg3
);
31354 wxPyEndAllowThreads(__tstate
);
31355 if (PyErr_Occurred()) SWIG_fail
;
31357 Py_INCREF(Py_None
); resultobj
= Py_None
;
31364 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31365 PyObject
*resultobj
;
31366 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 PyObject
* obj2
= 0 ;
31372 char *kwnames
[] = {
31373 (char *) "self",(char *) "id",(char *) "check", NULL
31376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31379 arg2
= (int) SWIG_AsInt(obj1
);
31380 if (PyErr_Occurred()) SWIG_fail
;
31381 arg3
= (bool) SWIG_AsBool(obj2
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 (arg1
)->Check(arg2
,arg3
);
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31390 Py_INCREF(Py_None
); resultobj
= Py_None
;
31397 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31398 PyObject
*resultobj
;
31399 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31402 PyObject
* obj0
= 0 ;
31403 PyObject
* obj1
= 0 ;
31404 char *kwnames
[] = {
31405 (char *) "self",(char *) "id", NULL
31408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31411 arg2
= (int) SWIG_AsInt(obj1
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31429 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31430 PyObject
*resultobj
;
31431 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 char *kwnames
[] = {
31437 (char *) "self",(char *) "id", NULL
31440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31443 arg2
= (int) SWIG_AsInt(obj1
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31447 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31449 wxPyEndAllowThreads(__tstate
);
31450 if (PyErr_Occurred()) SWIG_fail
;
31453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31461 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31462 PyObject
*resultobj
;
31463 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31465 wxString
*arg3
= 0 ;
31466 bool temp3
= False
;
31467 PyObject
* obj0
= 0 ;
31468 PyObject
* obj1
= 0 ;
31469 PyObject
* obj2
= 0 ;
31470 char *kwnames
[] = {
31471 (char *) "self",(char *) "id",(char *) "label", NULL
31474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31477 arg2
= (int) SWIG_AsInt(obj1
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 arg3
= wxString_in_helper(obj2
);
31481 if (arg3
== NULL
) SWIG_fail
;
31485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31486 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31491 Py_INCREF(Py_None
); resultobj
= Py_None
;
31506 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31507 PyObject
*resultobj
;
31508 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31511 PyObject
* obj0
= 0 ;
31512 PyObject
* obj1
= 0 ;
31513 char *kwnames
[] = {
31514 (char *) "self",(char *) "id", NULL
31517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31520 arg2
= (int) SWIG_AsInt(obj1
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31542 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
;
31544 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31546 wxString
*arg3
= 0 ;
31547 bool temp3
= False
;
31548 PyObject
* obj0
= 0 ;
31549 PyObject
* obj1
= 0 ;
31550 PyObject
* obj2
= 0 ;
31551 char *kwnames
[] = {
31552 (char *) "self",(char *) "id",(char *) "helpString", NULL
31555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31558 arg2
= (int) SWIG_AsInt(obj1
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 arg3
= wxString_in_helper(obj2
);
31562 if (arg3
== NULL
) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 Py_INCREF(Py_None
); resultobj
= Py_None
;
31587 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
;
31589 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31592 PyObject
* obj0
= 0 ;
31593 PyObject
* obj1
= 0 ;
31594 char *kwnames
[] = {
31595 (char *) "self",(char *) "id", NULL
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31601 arg2
= (int) SWIG_AsInt(obj1
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31623 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31624 PyObject
*resultobj
;
31625 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31627 PyObject
* obj0
= 0 ;
31628 char *kwnames
[] = {
31629 (char *) "self", NULL
31632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31637 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= wxPyMake_wxObject(result
);
31651 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31652 PyObject
*resultobj
;
31653 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31655 PyObject
* obj0
= 0 ;
31656 char *kwnames
[] = {
31657 (char *) "self", NULL
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31679 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
;
31681 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31682 wxFrame
*arg2
= (wxFrame
*) 0 ;
31683 PyObject
* obj0
= 0 ;
31684 PyObject
* obj1
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "self",(char *) "frame", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 (arg1
)->Attach(arg2
);
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31701 Py_INCREF(Py_None
); resultobj
= Py_None
;
31708 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
;
31710 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31711 PyObject
* obj0
= 0 ;
31712 char *kwnames
[] = {
31713 (char *) "self", NULL
31716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 Py_INCREF(Py_None
); resultobj
= Py_None
;
31733 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31736 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31738 return Py_BuildValue((char *)"");
31740 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
;
31742 wxMenu
*arg1
= (wxMenu
*) NULL
;
31743 int arg2
= (int) wxID_SEPARATOR
;
31744 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31745 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31746 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31747 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31748 int arg5
= (int) wxITEM_NORMAL
;
31749 wxMenu
*arg6
= (wxMenu
*) NULL
;
31750 wxMenuItem
*result
;
31751 bool temp3
= False
;
31752 bool temp4
= False
;
31753 PyObject
* obj0
= 0 ;
31754 PyObject
* obj1
= 0 ;
31755 PyObject
* obj2
= 0 ;
31756 PyObject
* obj3
= 0 ;
31757 PyObject
* obj4
= 0 ;
31758 PyObject
* obj5
= 0 ;
31759 char *kwnames
[] = {
31760 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31769 arg2
= (int) SWIG_AsInt(obj1
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31774 arg3
= wxString_in_helper(obj2
);
31775 if (arg3
== NULL
) SWIG_fail
;
31781 arg4
= wxString_in_helper(obj3
);
31782 if (arg4
== NULL
) SWIG_fail
;
31787 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31791 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31802 resultobj
= wxPyMake_wxObject(result
);
31826 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
;
31828 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31830 PyObject
* obj0
= 0 ;
31831 char *kwnames
[] = {
31832 (char *) "self", NULL
31835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= wxPyMake_wxObject(result
);
31854 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31855 PyObject
*resultobj
;
31856 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31857 wxMenu
*arg2
= (wxMenu
*) 0 ;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 char *kwnames
[] = {
31861 (char *) "self",(char *) "menu", NULL
31864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 (arg1
)->SetMenu(arg2
);
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 Py_INCREF(Py_None
); resultobj
= Py_None
;
31883 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
;
31885 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31887 PyObject
* obj0
= 0 ;
31888 PyObject
* obj1
= 0 ;
31889 char *kwnames
[] = {
31890 (char *) "self",(char *) "id", NULL
31893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31896 arg2
= (int) SWIG_AsInt(obj1
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->SetId(arg2
);
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 Py_INCREF(Py_None
); resultobj
= Py_None
;
31912 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31913 PyObject
*resultobj
;
31914 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31916 PyObject
* obj0
= 0 ;
31917 char *kwnames
[] = {
31918 (char *) "self", NULL
31921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= SWIG_FromInt((int)result
);
31938 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31939 PyObject
*resultobj
;
31940 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31942 PyObject
* obj0
= 0 ;
31943 char *kwnames
[] = {
31944 (char *) "self", NULL
31947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31952 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31966 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31967 PyObject
*resultobj
;
31968 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31969 wxString
*arg2
= 0 ;
31970 bool temp2
= False
;
31971 PyObject
* obj0
= 0 ;
31972 PyObject
* obj1
= 0 ;
31973 char *kwnames
[] = {
31974 (char *) "self",(char *) "str", NULL
31977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31981 arg2
= wxString_in_helper(obj1
);
31982 if (arg2
== NULL
) SWIG_fail
;
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 (arg1
)->SetText((wxString
const &)*arg2
);
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31992 Py_INCREF(Py_None
); resultobj
= Py_None
;
32007 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
;
32009 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32011 PyObject
* obj0
= 0 ;
32012 char *kwnames
[] = {
32013 (char *) "self", NULL
32016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32039 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32040 PyObject
*resultobj
;
32041 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32043 PyObject
* obj0
= 0 ;
32044 char *kwnames
[] = {
32045 (char *) "self", NULL
32048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32054 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32055 result
= (wxString
*) &_result_ref
;
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32074 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
;
32076 wxString
*arg1
= 0 ;
32078 bool temp1
= False
;
32079 PyObject
* obj0
= 0 ;
32080 char *kwnames
[] = {
32081 (char *) "text", NULL
32084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32086 arg1
= wxString_in_helper(obj0
);
32087 if (arg1
== NULL
) SWIG_fail
;
32091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32092 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32094 wxPyEndAllowThreads(__tstate
);
32095 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32118 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
;
32120 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32122 PyObject
* obj0
= 0 ;
32123 char *kwnames
[] = {
32124 (char *) "self", NULL
32127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_FromInt((int)result
);
32144 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
;
32146 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32148 PyObject
* obj0
= 0 ;
32149 PyObject
* obj1
= 0 ;
32150 char *kwnames
[] = {
32151 (char *) "self",(char *) "checkable", NULL
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32157 arg2
= (bool) SWIG_AsBool(obj1
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 (arg1
)->SetCheckable(arg2
);
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 Py_INCREF(Py_None
); resultobj
= Py_None
;
32173 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
;
32175 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32177 PyObject
* obj0
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "self", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32189 wxPyEndAllowThreads(__tstate
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32201 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
;
32203 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32205 PyObject
* obj0
= 0 ;
32206 char *kwnames
[] = {
32207 (char *) "self", NULL
32210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32215 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32217 wxPyEndAllowThreads(__tstate
);
32218 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32229 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32230 PyObject
*resultobj
;
32231 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32232 wxMenu
*arg2
= (wxMenu
*) 0 ;
32233 PyObject
* obj0
= 0 ;
32234 PyObject
* obj1
= 0 ;
32235 char *kwnames
[] = {
32236 (char *) "self",(char *) "menu", NULL
32239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 (arg1
)->SetSubMenu(arg2
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32251 Py_INCREF(Py_None
); resultobj
= Py_None
;
32258 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
;
32260 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32262 PyObject
* obj0
= 0 ;
32263 char *kwnames
[] = {
32264 (char *) "self", NULL
32267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= wxPyMake_wxObject(result
);
32286 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32287 PyObject
*resultobj
;
32288 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32289 bool arg2
= (bool) True
;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 char *kwnames
[] = {
32293 (char *) "self",(char *) "enable", NULL
32296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32300 arg2
= (bool) SWIG_AsBool(obj1
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 (arg1
)->Enable(arg2
);
32307 wxPyEndAllowThreads(__tstate
);
32308 if (PyErr_Occurred()) SWIG_fail
;
32310 Py_INCREF(Py_None
); resultobj
= Py_None
;
32317 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32318 PyObject
*resultobj
;
32319 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32321 PyObject
* obj0
= 0 ;
32322 char *kwnames
[] = {
32323 (char *) "self", NULL
32326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32345 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
;
32347 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32348 bool arg2
= (bool) True
;
32349 PyObject
* obj0
= 0 ;
32350 PyObject
* obj1
= 0 ;
32351 char *kwnames
[] = {
32352 (char *) "self",(char *) "check", NULL
32355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32359 arg2
= (bool) SWIG_AsBool(obj1
);
32360 if (PyErr_Occurred()) SWIG_fail
;
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 (arg1
)->Check(arg2
);
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 Py_INCREF(Py_None
); resultobj
= Py_None
;
32376 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
;
32378 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32380 PyObject
* obj0
= 0 ;
32381 char *kwnames
[] = {
32382 (char *) "self", NULL
32385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32392 wxPyEndAllowThreads(__tstate
);
32393 if (PyErr_Occurred()) SWIG_fail
;
32396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32404 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32405 PyObject
*resultobj
;
32406 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32407 PyObject
* obj0
= 0 ;
32408 char *kwnames
[] = {
32409 (char *) "self", NULL
32412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 wxPyEndAllowThreads(__tstate
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32422 Py_INCREF(Py_None
); resultobj
= Py_None
;
32429 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
;
32431 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32432 wxString
*arg2
= 0 ;
32433 bool temp2
= False
;
32434 PyObject
* obj0
= 0 ;
32435 PyObject
* obj1
= 0 ;
32436 char *kwnames
[] = {
32437 (char *) "self",(char *) "str", NULL
32440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32444 arg2
= wxString_in_helper(obj1
);
32445 if (arg2
== NULL
) SWIG_fail
;
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 (arg1
)->SetHelp((wxString
const &)*arg2
);
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32455 Py_INCREF(Py_None
); resultobj
= Py_None
;
32470 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
;
32472 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32474 PyObject
* obj0
= 0 ;
32475 char *kwnames
[] = {
32476 (char *) "self", NULL
32479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32485 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32486 result
= (wxString
*) &_result_ref
;
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32496 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32505 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
;
32507 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32508 wxAcceleratorEntry
*result
;
32509 PyObject
* obj0
= 0 ;
32510 char *kwnames
[] = {
32511 (char *) "self", NULL
32514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32531 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32532 PyObject
*resultobj
;
32533 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32534 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 PyObject
* obj1
= 0 ;
32537 char *kwnames
[] = {
32538 (char *) "self",(char *) "accel", NULL
32541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32548 (arg1
)->SetAccel(arg2
);
32550 wxPyEndAllowThreads(__tstate
);
32551 if (PyErr_Occurred()) SWIG_fail
;
32553 Py_INCREF(Py_None
); resultobj
= Py_None
;
32560 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32561 PyObject
*resultobj
;
32562 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32564 PyObject
* obj0
= 0 ;
32565 PyObject
* obj1
= 0 ;
32566 char *kwnames
[] = {
32567 (char *) "self",(char *) "font", NULL
32570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32576 if (arg2
== NULL
) {
32577 PyErr_SetString(PyExc_TypeError
,"null reference");
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 (arg1
)->SetFont((wxFont
const &)*arg2
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32587 Py_INCREF(Py_None
); resultobj
= Py_None
;
32594 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32595 PyObject
*resultobj
;
32596 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32598 PyObject
* obj0
= 0 ;
32599 char *kwnames
[] = {
32600 (char *) "self", NULL
32603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32608 result
= (arg1
)->GetFont();
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32614 wxFont
* resultptr
;
32615 resultptr
= new wxFont((wxFont
&) result
);
32616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32624 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32625 PyObject
*resultobj
;
32626 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32627 wxColour
*arg2
= 0 ;
32629 PyObject
* obj0
= 0 ;
32630 PyObject
* obj1
= 0 ;
32631 char *kwnames
[] = {
32632 (char *) "self",(char *) "colText", NULL
32635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32640 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32649 Py_INCREF(Py_None
); resultobj
= Py_None
;
32656 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32657 PyObject
*resultobj
;
32658 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32660 PyObject
* obj0
= 0 ;
32661 char *kwnames
[] = {
32662 (char *) "self", NULL
32665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32670 result
= (arg1
)->GetTextColour();
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32676 wxColour
* resultptr
;
32677 resultptr
= new wxColour((wxColour
&) result
);
32678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32686 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
;
32688 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32689 wxColour
*arg2
= 0 ;
32691 PyObject
* obj0
= 0 ;
32692 PyObject
* obj1
= 0 ;
32693 char *kwnames
[] = {
32694 (char *) "self",(char *) "colBack", NULL
32697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32706 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32708 wxPyEndAllowThreads(__tstate
);
32709 if (PyErr_Occurred()) SWIG_fail
;
32711 Py_INCREF(Py_None
); resultobj
= Py_None
;
32718 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32719 PyObject
*resultobj
;
32720 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32722 PyObject
* obj0
= 0 ;
32723 char *kwnames
[] = {
32724 (char *) "self", NULL
32727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32732 result
= (arg1
)->GetBackgroundColour();
32734 wxPyEndAllowThreads(__tstate
);
32735 if (PyErr_Occurred()) SWIG_fail
;
32738 wxColour
* resultptr
;
32739 resultptr
= new wxColour((wxColour
&) result
);
32740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32748 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32749 PyObject
*resultobj
;
32750 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32751 wxBitmap
*arg2
= 0 ;
32752 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32753 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32754 PyObject
* obj0
= 0 ;
32755 PyObject
* obj1
= 0 ;
32756 PyObject
* obj2
= 0 ;
32757 char *kwnames
[] = {
32758 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32767 if (arg2
== NULL
) {
32768 PyErr_SetString(PyExc_TypeError
,"null reference");
32772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32775 if (arg3
== NULL
) {
32776 PyErr_SetString(PyExc_TypeError
,"null reference");
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32787 Py_INCREF(Py_None
); resultobj
= Py_None
;
32794 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32797 wxBitmap
*arg2
= 0 ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self",(char *) "bmpDisabled", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32810 if (arg2
== NULL
) {
32811 PyErr_SetString(PyExc_TypeError
,"null reference");
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32816 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32818 wxPyEndAllowThreads(__tstate
);
32819 if (PyErr_Occurred()) SWIG_fail
;
32821 Py_INCREF(Py_None
); resultobj
= Py_None
;
32828 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32829 PyObject
*resultobj
;
32830 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32832 PyObject
* obj0
= 0 ;
32833 char *kwnames
[] = {
32834 (char *) "self", NULL
32837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32844 result
= (wxBitmap
*) &_result_ref
;
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32851 wxBitmap
* resultptr
= new wxBitmap(*result
);
32852 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32860 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32861 PyObject
*resultobj
;
32862 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32864 PyObject
* obj0
= 0 ;
32865 PyObject
* obj1
= 0 ;
32866 char *kwnames
[] = {
32867 (char *) "self",(char *) "nWidth", NULL
32870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32873 arg2
= (int) SWIG_AsInt(obj1
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32877 (arg1
)->SetMarginWidth(arg2
);
32879 wxPyEndAllowThreads(__tstate
);
32880 if (PyErr_Occurred()) SWIG_fail
;
32882 Py_INCREF(Py_None
); resultobj
= Py_None
;
32889 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32890 PyObject
*resultobj
;
32891 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32893 PyObject
* obj0
= 0 ;
32894 char *kwnames
[] = {
32895 (char *) "self", NULL
32898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
32899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32903 result
= (int)(arg1
)->GetMarginWidth();
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32908 resultobj
= SWIG_FromInt((int)result
);
32915 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32916 PyObject
*resultobj
;
32918 char *kwnames
[] = {
32922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= SWIG_FromInt((int)result
);
32937 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
;
32939 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32941 PyObject
* obj0
= 0 ;
32942 char *kwnames
[] = {
32943 (char *) "self", NULL
32946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 result
= (bool)(arg1
)->IsOwnerDrawn();
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32965 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32966 PyObject
*resultobj
;
32967 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32968 bool arg2
= (bool) True
;
32969 PyObject
* obj0
= 0 ;
32970 PyObject
* obj1
= 0 ;
32971 char *kwnames
[] = {
32972 (char *) "self",(char *) "ownerDrawn", NULL
32975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32979 arg2
= (bool) SWIG_AsBool(obj1
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32984 (arg1
)->SetOwnerDrawn(arg2
);
32986 wxPyEndAllowThreads(__tstate
);
32987 if (PyErr_Occurred()) SWIG_fail
;
32989 Py_INCREF(Py_None
); resultobj
= Py_None
;
32996 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32997 PyObject
*resultobj
;
32998 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32999 PyObject
* obj0
= 0 ;
33000 char *kwnames
[] = {
33001 (char *) "self", NULL
33004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33009 (arg1
)->ResetOwnerDrawn();
33011 wxPyEndAllowThreads(__tstate
);
33012 if (PyErr_Occurred()) SWIG_fail
;
33014 Py_INCREF(Py_None
); resultobj
= Py_None
;
33021 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33022 PyObject
*resultobj
;
33023 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33024 wxBitmap
*arg2
= 0 ;
33025 PyObject
* obj0
= 0 ;
33026 PyObject
* obj1
= 0 ;
33027 char *kwnames
[] = {
33028 (char *) "self",(char *) "bitmap", NULL
33031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33037 if (arg2
== NULL
) {
33038 PyErr_SetString(PyExc_TypeError
,"null reference");
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33045 wxPyEndAllowThreads(__tstate
);
33046 if (PyErr_Occurred()) SWIG_fail
;
33048 Py_INCREF(Py_None
); resultobj
= Py_None
;
33055 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
;
33057 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33059 PyObject
* obj0
= 0 ;
33060 char *kwnames
[] = {
33061 (char *) "self", NULL
33064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33071 result
= (wxBitmap
*) &_result_ref
;
33074 wxPyEndAllowThreads(__tstate
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33078 wxBitmap
* resultptr
= new wxBitmap(*result
);
33079 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33087 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33090 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33092 return Py_BuildValue((char *)"");
33094 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33095 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33100 static PyObject
*_wrap_ControlNameStr_get() {
33105 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33107 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33114 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33115 PyObject
*resultobj
;
33116 wxWindow
*arg1
= (wxWindow
*) 0 ;
33118 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33119 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33120 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33121 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33122 long arg5
= (long) 0 ;
33123 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33124 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33125 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33126 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33130 bool temp7
= False
;
33131 PyObject
* obj0
= 0 ;
33132 PyObject
* obj1
= 0 ;
33133 PyObject
* obj2
= 0 ;
33134 PyObject
* obj3
= 0 ;
33135 PyObject
* obj4
= 0 ;
33136 PyObject
* obj5
= 0 ;
33137 PyObject
* obj6
= 0 ;
33138 char *kwnames
[] = {
33139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33145 arg2
= (int) SWIG_AsInt(obj1
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33156 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33160 arg5
= (long) SWIG_AsLong(obj4
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33164 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33167 if (arg6
== NULL
) {
33168 PyErr_SetString(PyExc_TypeError
,"null reference");
33174 arg7
= wxString_in_helper(obj6
);
33175 if (arg7
== NULL
) SWIG_fail
;
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= wxPyMake_wxObject(result
);
33203 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33204 PyObject
*resultobj
;
33206 char *kwnames
[] = {
33210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33213 result
= (wxControl
*)new wxControl();
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= wxPyMake_wxObject(result
);
33227 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxControl
*arg1
= (wxControl
*) 0 ;
33230 wxWindow
*arg2
= (wxWindow
*) 0 ;
33232 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33233 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33234 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33235 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33236 long arg6
= (long) 0 ;
33237 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33238 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33239 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33240 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33244 bool temp8
= False
;
33245 PyObject
* obj0
= 0 ;
33246 PyObject
* obj1
= 0 ;
33247 PyObject
* obj2
= 0 ;
33248 PyObject
* obj3
= 0 ;
33249 PyObject
* obj4
= 0 ;
33250 PyObject
* obj5
= 0 ;
33251 PyObject
* obj6
= 0 ;
33252 PyObject
* obj7
= 0 ;
33253 char *kwnames
[] = {
33254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33262 arg3
= (int) SWIG_AsInt(obj2
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33277 arg6
= (long) SWIG_AsLong(obj5
);
33278 if (PyErr_Occurred()) SWIG_fail
;
33281 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33284 if (arg7
== NULL
) {
33285 PyErr_SetString(PyExc_TypeError
,"null reference");
33291 arg8
= wxString_in_helper(obj7
);
33292 if (arg8
== NULL
) SWIG_fail
;
33297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33298 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33300 wxPyEndAllowThreads(__tstate
);
33301 if (PyErr_Occurred()) SWIG_fail
;
33304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33320 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33321 PyObject
*resultobj
;
33322 wxControl
*arg1
= (wxControl
*) 0 ;
33323 wxCommandEvent
*arg2
= 0 ;
33324 PyObject
* obj0
= 0 ;
33325 PyObject
* obj1
= 0 ;
33326 char *kwnames
[] = {
33327 (char *) "self",(char *) "event", NULL
33330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33336 if (arg2
== NULL
) {
33337 PyErr_SetString(PyExc_TypeError
,"null reference");
33341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33342 (arg1
)->Command(*arg2
);
33344 wxPyEndAllowThreads(__tstate
);
33345 if (PyErr_Occurred()) SWIG_fail
;
33347 Py_INCREF(Py_None
); resultobj
= Py_None
;
33354 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33355 PyObject
*resultobj
;
33356 wxControl
*arg1
= (wxControl
*) 0 ;
33358 PyObject
* obj0
= 0 ;
33359 char *kwnames
[] = {
33360 (char *) "self", NULL
33363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 result
= (arg1
)->GetLabel();
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33386 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33387 PyObject
*resultobj
;
33388 wxControl
*arg1
= (wxControl
*) 0 ;
33389 wxString
*arg2
= 0 ;
33390 bool temp2
= False
;
33391 PyObject
* obj0
= 0 ;
33392 PyObject
* obj1
= 0 ;
33393 char *kwnames
[] = {
33394 (char *) "self",(char *) "label", NULL
33397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33401 arg2
= wxString_in_helper(obj1
);
33402 if (arg2
== NULL
) SWIG_fail
;
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 (arg1
)->SetLabel((wxString
const &)*arg2
);
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33412 Py_INCREF(Py_None
); resultobj
= Py_None
;
33427 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33428 PyObject
*resultobj
;
33429 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33430 wxVisualAttributes result
;
33431 PyObject
* obj0
= 0 ;
33432 char *kwnames
[] = {
33433 (char *) "variant", NULL
33436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33438 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33443 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33445 wxPyEndAllowThreads(__tstate
);
33446 if (PyErr_Occurred()) SWIG_fail
;
33449 wxVisualAttributes
* resultptr
;
33450 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33459 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33462 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33464 return Py_BuildValue((char *)"");
33466 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33467 PyObject
*resultobj
;
33468 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33469 wxString
*arg2
= 0 ;
33470 PyObject
*arg3
= (PyObject
*) NULL
;
33472 bool temp2
= False
;
33473 PyObject
* obj0
= 0 ;
33474 PyObject
* obj1
= 0 ;
33475 PyObject
* obj2
= 0 ;
33476 char *kwnames
[] = {
33477 (char *) "self",(char *) "item",(char *) "clientData", NULL
33480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33484 arg2
= wxString_in_helper(obj1
);
33485 if (arg2
== NULL
) SWIG_fail
;
33492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33493 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33495 wxPyEndAllowThreads(__tstate
);
33496 if (PyErr_Occurred()) SWIG_fail
;
33498 resultobj
= SWIG_FromInt((int)result
);
33513 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33514 PyObject
*resultobj
;
33515 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33516 wxArrayString
*arg2
= 0 ;
33517 bool temp2
= False
;
33518 PyObject
* obj0
= 0 ;
33519 PyObject
* obj1
= 0 ;
33520 char *kwnames
[] = {
33521 (char *) "self",(char *) "strings", NULL
33524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33528 if (! PySequence_Check(obj1
)) {
33529 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33532 arg2
= new wxArrayString
;
33534 int i
, len
=PySequence_Length(obj1
);
33535 for (i
=0; i
<len
; i
++) {
33536 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33538 PyObject
* str
= PyObject_Unicode(item
);
33540 PyObject
* str
= PyObject_Str(item
);
33542 if (PyErr_Occurred()) SWIG_fail
;
33543 arg2
->Add(Py2wxString(str
));
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 (arg1
)->Append((wxArrayString
const &)*arg2
);
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 Py_INCREF(Py_None
); resultobj
= Py_None
;
33557 if (temp2
) delete arg2
;
33562 if (temp2
) delete arg2
;
33568 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33569 PyObject
*resultobj
;
33570 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33571 wxString
*arg2
= 0 ;
33573 PyObject
*arg4
= (PyObject
*) NULL
;
33575 bool temp2
= False
;
33576 PyObject
* obj0
= 0 ;
33577 PyObject
* obj1
= 0 ;
33578 PyObject
* obj2
= 0 ;
33579 PyObject
* obj3
= 0 ;
33580 char *kwnames
[] = {
33581 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33588 arg2
= wxString_in_helper(obj1
);
33589 if (arg2
== NULL
) SWIG_fail
;
33592 arg3
= (int) SWIG_AsInt(obj2
);
33593 if (PyErr_Occurred()) SWIG_fail
;
33598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33599 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33604 resultobj
= SWIG_FromInt((int)result
);
33619 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33620 PyObject
*resultobj
;
33621 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33622 PyObject
* obj0
= 0 ;
33623 char *kwnames
[] = {
33624 (char *) "self", NULL
33627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33637 Py_INCREF(Py_None
); resultobj
= Py_None
;
33644 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33645 PyObject
*resultobj
;
33646 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33648 PyObject
* obj0
= 0 ;
33649 PyObject
* obj1
= 0 ;
33650 char *kwnames
[] = {
33651 (char *) "self",(char *) "n", NULL
33654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33657 arg2
= (int) SWIG_AsInt(obj1
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 (arg1
)->Delete(arg2
);
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33666 Py_INCREF(Py_None
); resultobj
= Py_None
;
33673 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33674 PyObject
*resultobj
;
33675 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33677 PyObject
* obj0
= 0 ;
33678 char *kwnames
[] = {
33679 (char *) "self", NULL
33682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_FromInt((int)result
);
33699 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
;
33701 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33703 PyObject
* obj0
= 0 ;
33704 char *kwnames
[] = {
33705 (char *) "self", NULL
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33727 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33728 PyObject
*resultobj
;
33729 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33732 PyObject
* obj0
= 0 ;
33733 PyObject
* obj1
= 0 ;
33734 char *kwnames
[] = {
33735 (char *) "self",(char *) "n", NULL
33738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33741 arg2
= (int) SWIG_AsInt(obj1
);
33742 if (PyErr_Occurred()) SWIG_fail
;
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33763 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33764 PyObject
*resultobj
;
33765 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33766 wxArrayString result
;
33767 PyObject
* obj0
= 0 ;
33768 char *kwnames
[] = {
33769 (char *) "self", NULL
33772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33779 wxPyEndAllowThreads(__tstate
);
33780 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= wxArrayString2PyList_helper(result
);
33791 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
;
33793 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33795 wxString
*arg3
= 0 ;
33796 bool temp3
= False
;
33797 PyObject
* obj0
= 0 ;
33798 PyObject
* obj1
= 0 ;
33799 PyObject
* obj2
= 0 ;
33800 char *kwnames
[] = {
33801 (char *) "self",(char *) "n",(char *) "s", NULL
33804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33807 arg2
= (int) SWIG_AsInt(obj1
);
33808 if (PyErr_Occurred()) SWIG_fail
;
33810 arg3
= wxString_in_helper(obj2
);
33811 if (arg3
== NULL
) SWIG_fail
;
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 Py_INCREF(Py_None
); resultobj
= Py_None
;
33836 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33837 PyObject
*resultobj
;
33838 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33839 wxString
*arg2
= 0 ;
33841 bool temp2
= False
;
33842 PyObject
* obj0
= 0 ;
33843 PyObject
* obj1
= 0 ;
33844 char *kwnames
[] = {
33845 (char *) "self",(char *) "s", NULL
33848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33852 arg2
= wxString_in_helper(obj1
);
33853 if (arg2
== NULL
) SWIG_fail
;
33857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33858 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33860 wxPyEndAllowThreads(__tstate
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33863 resultobj
= SWIG_FromInt((int)result
);
33878 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33879 PyObject
*resultobj
;
33880 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33882 PyObject
* obj0
= 0 ;
33883 PyObject
* obj1
= 0 ;
33884 char *kwnames
[] = {
33885 (char *) "self",(char *) "n", NULL
33888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33891 arg2
= (int) SWIG_AsInt(obj1
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 (arg1
)->Select(arg2
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 Py_INCREF(Py_None
); resultobj
= Py_None
;
33907 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33908 PyObject
*resultobj
;
33909 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33911 PyObject
* obj0
= 0 ;
33912 char *kwnames
[] = {
33913 (char *) "self", NULL
33916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33921 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33923 wxPyEndAllowThreads(__tstate
);
33924 if (PyErr_Occurred()) SWIG_fail
;
33926 resultobj
= SWIG_FromInt((int)result
);
33933 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33934 PyObject
*resultobj
;
33935 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33937 PyObject
* obj0
= 0 ;
33938 char *kwnames
[] = {
33939 (char *) "self", NULL
33942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33947 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33949 wxPyEndAllowThreads(__tstate
);
33950 if (PyErr_Occurred()) SWIG_fail
;
33954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33965 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33966 PyObject
*resultobj
;
33967 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33970 PyObject
* obj0
= 0 ;
33971 PyObject
* obj1
= 0 ;
33972 char *kwnames
[] = {
33973 (char *) "self",(char *) "n", NULL
33976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33979 arg2
= (int) SWIG_AsInt(obj1
);
33980 if (PyErr_Occurred()) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33988 resultobj
= result
;
33995 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33996 PyObject
*resultobj
;
33997 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33999 PyObject
*arg3
= (PyObject
*) 0 ;
34000 PyObject
* obj0
= 0 ;
34001 PyObject
* obj1
= 0 ;
34002 PyObject
* obj2
= 0 ;
34003 char *kwnames
[] = {
34004 (char *) "self",(char *) "n",(char *) "clientData", NULL
34007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34010 arg2
= (int) SWIG_AsInt(obj1
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34017 wxPyEndAllowThreads(__tstate
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34020 Py_INCREF(Py_None
); resultobj
= Py_None
;
34027 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
34029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34030 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34032 return Py_BuildValue((char *)"");
34034 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
34036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34037 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34039 return Py_BuildValue((char *)"");
34041 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34042 PyObject
*resultobj
;
34043 wxSizerItem
*result
;
34044 char *kwnames
[] = {
34048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34051 result
= (wxSizerItem
*)new wxSizerItem();
34053 wxPyEndAllowThreads(__tstate
);
34054 if (PyErr_Occurred()) SWIG_fail
;
34056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34063 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34064 PyObject
*resultobj
;
34070 wxObject
*arg6
= (wxObject
*) 0 ;
34071 wxSizerItem
*result
;
34072 PyObject
* obj0
= 0 ;
34073 PyObject
* obj1
= 0 ;
34074 PyObject
* obj2
= 0 ;
34075 PyObject
* obj3
= 0 ;
34076 PyObject
* obj4
= 0 ;
34077 PyObject
* obj5
= 0 ;
34078 char *kwnames
[] = {
34079 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34083 arg1
= (int) SWIG_AsInt(obj0
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34085 arg2
= (int) SWIG_AsInt(obj1
);
34086 if (PyErr_Occurred()) SWIG_fail
;
34087 arg3
= (int) SWIG_AsInt(obj2
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34089 arg4
= (int) SWIG_AsInt(obj3
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34091 arg5
= (int) SWIG_AsInt(obj4
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34093 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
34094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34099 wxPyEndAllowThreads(__tstate
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34109 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34110 PyObject
*resultobj
;
34111 wxWindow
*arg1
= (wxWindow
*) 0 ;
34115 wxObject
*arg5
= (wxObject
*) 0 ;
34116 wxSizerItem
*result
;
34117 PyObject
* obj0
= 0 ;
34118 PyObject
* obj1
= 0 ;
34119 PyObject
* obj2
= 0 ;
34120 PyObject
* obj3
= 0 ;
34121 PyObject
* obj4
= 0 ;
34122 char *kwnames
[] = {
34123 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34129 arg2
= (int) SWIG_AsInt(obj1
);
34130 if (PyErr_Occurred()) SWIG_fail
;
34131 arg3
= (int) SWIG_AsInt(obj2
);
34132 if (PyErr_Occurred()) SWIG_fail
;
34133 arg4
= (int) SWIG_AsInt(obj3
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34135 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34139 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34141 wxPyEndAllowThreads(__tstate
);
34142 if (PyErr_Occurred()) SWIG_fail
;
34144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34151 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34152 PyObject
*resultobj
;
34153 wxSizer
*arg1
= (wxSizer
*) 0 ;
34157 wxObject
*arg5
= (wxObject
*) 0 ;
34158 wxSizerItem
*result
;
34159 PyObject
* obj0
= 0 ;
34160 PyObject
* obj1
= 0 ;
34161 PyObject
* obj2
= 0 ;
34162 PyObject
* obj3
= 0 ;
34163 PyObject
* obj4
= 0 ;
34164 char *kwnames
[] = {
34165 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34171 arg2
= (int) SWIG_AsInt(obj1
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34173 arg3
= (int) SWIG_AsInt(obj2
);
34174 if (PyErr_Occurred()) SWIG_fail
;
34175 arg4
= (int) SWIG_AsInt(obj3
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34177 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
34178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34181 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34183 wxPyEndAllowThreads(__tstate
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34193 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34194 PyObject
*resultobj
;
34195 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34196 PyObject
* obj0
= 0 ;
34197 char *kwnames
[] = {
34198 (char *) "self", NULL
34201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 (arg1
)->DeleteWindows();
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34211 Py_INCREF(Py_None
); resultobj
= Py_None
;
34218 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34219 PyObject
*resultobj
;
34220 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34221 PyObject
* obj0
= 0 ;
34222 char *kwnames
[] = {
34223 (char *) "self", NULL
34226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 (arg1
)->DetachSizer();
34233 wxPyEndAllowThreads(__tstate
);
34234 if (PyErr_Occurred()) SWIG_fail
;
34236 Py_INCREF(Py_None
); resultobj
= Py_None
;
34243 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
;
34245 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34247 PyObject
* obj0
= 0 ;
34248 char *kwnames
[] = {
34249 (char *) "self", NULL
34252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 result
= (arg1
)->GetSize();
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34263 wxSize
* resultptr
;
34264 resultptr
= new wxSize((wxSize
&) result
);
34265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34273 static PyObject
*_wrap_SizerItem_CalcMin(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_CalcMin",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
= (arg1
)->CalcMin();
34289 wxPyEndAllowThreads(__tstate
);
34290 if (PyErr_Occurred()) SWIG_fail
;
34293 wxSize
* resultptr
;
34294 resultptr
= new wxSize((wxSize
&) result
);
34295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34303 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
;
34305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34310 PyObject
* obj0
= 0 ;
34311 PyObject
* obj1
= 0 ;
34312 PyObject
* obj2
= 0 ;
34313 char *kwnames
[] = {
34314 (char *) "self",(char *) "pos",(char *) "size", NULL
34317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34320 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34321 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34323 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34324 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 (arg1
)->SetDimension(arg2
,arg3
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 Py_INCREF(Py_None
); resultobj
= Py_None
;
34340 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
;
34342 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34344 PyObject
* obj0
= 0 ;
34345 char *kwnames
[] = {
34346 (char *) "self", NULL
34349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34354 result
= (arg1
)->GetMinSize();
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34360 wxSize
* resultptr
;
34361 resultptr
= new wxSize((wxSize
&) result
);
34362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34370 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34371 PyObject
*resultobj
;
34372 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34375 PyObject
* obj0
= 0 ;
34376 PyObject
* obj1
= 0 ;
34377 PyObject
* obj2
= 0 ;
34378 char *kwnames
[] = {
34379 (char *) "self",(char *) "x",(char *) "y", NULL
34382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34385 arg2
= (int) SWIG_AsInt(obj1
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34387 arg3
= (int) SWIG_AsInt(obj2
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 (arg1
)->SetInitSize(arg2
,arg3
);
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 Py_INCREF(Py_None
); resultobj
= Py_None
;
34403 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
;
34405 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34408 PyObject
* obj0
= 0 ;
34409 PyObject
* obj1
= 0 ;
34410 PyObject
* obj2
= 0 ;
34411 char *kwnames
[] = {
34412 (char *) "self",(char *) "width",(char *) "height", NULL
34415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34418 arg2
= (int) SWIG_AsInt(obj1
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34420 arg3
= (int) SWIG_AsInt(obj2
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34424 (arg1
)->SetRatio(arg2
,arg3
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34429 Py_INCREF(Py_None
); resultobj
= Py_None
;
34436 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
;
34438 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34441 PyObject
* obj0
= 0 ;
34442 PyObject
* obj1
= 0 ;
34443 char *kwnames
[] = {
34444 (char *) "self",(char *) "size", NULL
34447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34450 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34451 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 (arg1
)->SetRatio(arg2
);
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34460 Py_INCREF(Py_None
); resultobj
= Py_None
;
34467 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
;
34469 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34471 PyObject
* obj0
= 0 ;
34472 PyObject
* obj1
= 0 ;
34473 char *kwnames
[] = {
34474 (char *) "self",(char *) "ratio", NULL
34477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34480 arg2
= (float) SWIG_AsFloat(obj1
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34484 (arg1
)->SetRatio(arg2
);
34486 wxPyEndAllowThreads(__tstate
);
34487 if (PyErr_Occurred()) SWIG_fail
;
34489 Py_INCREF(Py_None
); resultobj
= Py_None
;
34496 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34497 PyObject
*resultobj
;
34498 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34500 PyObject
* obj0
= 0 ;
34501 char *kwnames
[] = {
34502 (char *) "self", NULL
34505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34510 result
= (float)(arg1
)->GetRatio();
34512 wxPyEndAllowThreads(__tstate
);
34513 if (PyErr_Occurred()) SWIG_fail
;
34515 resultobj
= SWIG_FromFloat((float)result
);
34522 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34523 PyObject
*resultobj
;
34524 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34526 PyObject
* obj0
= 0 ;
34527 char *kwnames
[] = {
34528 (char *) "self", NULL
34531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34536 result
= (bool)(arg1
)->IsWindow();
34538 wxPyEndAllowThreads(__tstate
);
34539 if (PyErr_Occurred()) SWIG_fail
;
34542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34550 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34551 PyObject
*resultobj
;
34552 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34554 PyObject
* obj0
= 0 ;
34555 char *kwnames
[] = {
34556 (char *) "self", NULL
34559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 result
= (bool)(arg1
)->IsSizer();
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34578 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
;
34580 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34582 PyObject
* obj0
= 0 ;
34583 char *kwnames
[] = {
34584 (char *) "self", NULL
34587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 result
= (bool)(arg1
)->IsSpacer();
34594 wxPyEndAllowThreads(__tstate
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34606 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
;
34608 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 char *kwnames
[] = {
34613 (char *) "self",(char *) "proportion", NULL
34616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34619 arg2
= (int) SWIG_AsInt(obj1
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34623 (arg1
)->SetProportion(arg2
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34628 Py_INCREF(Py_None
); resultobj
= Py_None
;
34635 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34636 PyObject
*resultobj
;
34637 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34639 PyObject
* obj0
= 0 ;
34640 char *kwnames
[] = {
34641 (char *) "self", NULL
34644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34649 result
= (int)(arg1
)->GetProportion();
34651 wxPyEndAllowThreads(__tstate
);
34652 if (PyErr_Occurred()) SWIG_fail
;
34654 resultobj
= SWIG_FromInt((int)result
);
34661 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34662 PyObject
*resultobj
;
34663 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34665 PyObject
* obj0
= 0 ;
34666 PyObject
* obj1
= 0 ;
34667 char *kwnames
[] = {
34668 (char *) "self",(char *) "flag", NULL
34671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34674 arg2
= (int) SWIG_AsInt(obj1
);
34675 if (PyErr_Occurred()) SWIG_fail
;
34677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34678 (arg1
)->SetFlag(arg2
);
34680 wxPyEndAllowThreads(__tstate
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34683 Py_INCREF(Py_None
); resultobj
= Py_None
;
34690 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34691 PyObject
*resultobj
;
34692 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34694 PyObject
* obj0
= 0 ;
34695 char *kwnames
[] = {
34696 (char *) "self", NULL
34699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34704 result
= (int)(arg1
)->GetFlag();
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_FromInt((int)result
);
34716 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
;
34718 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34720 PyObject
* obj0
= 0 ;
34721 PyObject
* obj1
= 0 ;
34722 char *kwnames
[] = {
34723 (char *) "self",(char *) "border", NULL
34726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34729 arg2
= (int) SWIG_AsInt(obj1
);
34730 if (PyErr_Occurred()) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 (arg1
)->SetBorder(arg2
);
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34738 Py_INCREF(Py_None
); resultobj
= Py_None
;
34745 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
;
34747 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34749 PyObject
* obj0
= 0 ;
34750 char *kwnames
[] = {
34751 (char *) "self", NULL
34754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 result
= (int)(arg1
)->GetBorder();
34761 wxPyEndAllowThreads(__tstate
);
34762 if (PyErr_Occurred()) SWIG_fail
;
34764 resultobj
= SWIG_FromInt((int)result
);
34771 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34772 PyObject
*resultobj
;
34773 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34775 PyObject
* obj0
= 0 ;
34776 char *kwnames
[] = {
34777 (char *) "self", NULL
34780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34785 result
= (wxWindow
*)(arg1
)->GetWindow();
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34791 resultobj
= wxPyMake_wxObject(result
);
34799 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34800 PyObject
*resultobj
;
34801 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34802 wxWindow
*arg2
= (wxWindow
*) 0 ;
34803 PyObject
* obj0
= 0 ;
34804 PyObject
* obj1
= 0 ;
34805 char *kwnames
[] = {
34806 (char *) "self",(char *) "window", NULL
34809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 (arg1
)->SetWindow(arg2
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 Py_INCREF(Py_None
); resultobj
= Py_None
;
34828 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 char *kwnames
[] = {
34834 (char *) "self", NULL
34837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (wxSizer
*)(arg1
)->GetSizer();
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34848 resultobj
= wxPyMake_wxSizer(result
);
34856 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34857 PyObject
*resultobj
;
34858 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34859 wxSizer
*arg2
= (wxSizer
*) 0 ;
34860 PyObject
* obj0
= 0 ;
34861 PyObject
* obj1
= 0 ;
34862 char *kwnames
[] = {
34863 (char *) "self",(char *) "sizer", NULL
34866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34873 (arg1
)->SetSizer(arg2
);
34875 wxPyEndAllowThreads(__tstate
);
34876 if (PyErr_Occurred()) SWIG_fail
;
34878 Py_INCREF(Py_None
); resultobj
= Py_None
;
34885 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34886 PyObject
*resultobj
;
34887 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34889 PyObject
* obj0
= 0 ;
34890 char *kwnames
[] = {
34891 (char *) "self", NULL
34894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34900 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34901 result
= (wxSize
*) &_result_ref
;
34904 wxPyEndAllowThreads(__tstate
);
34905 if (PyErr_Occurred()) SWIG_fail
;
34907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34914 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34915 PyObject
*resultobj
;
34916 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34919 PyObject
* obj0
= 0 ;
34920 PyObject
* obj1
= 0 ;
34921 char *kwnames
[] = {
34922 (char *) "self",(char *) "size", NULL
34925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34930 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34939 Py_INCREF(Py_None
); resultobj
= Py_None
;
34946 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34947 PyObject
*resultobj
;
34948 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34950 PyObject
* obj0
= 0 ;
34951 PyObject
* obj1
= 0 ;
34952 char *kwnames
[] = {
34953 (char *) "self",(char *) "show", NULL
34956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34959 arg2
= (bool) SWIG_AsBool(obj1
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 (arg1
)->Show(arg2
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 Py_INCREF(Py_None
); resultobj
= Py_None
;
34975 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
;
34977 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34979 PyObject
* obj0
= 0 ;
34980 char *kwnames
[] = {
34981 (char *) "self", NULL
34984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34989 result
= (bool)(arg1
)->IsShown();
34991 wxPyEndAllowThreads(__tstate
);
34992 if (PyErr_Occurred()) SWIG_fail
;
34995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35003 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35004 PyObject
*resultobj
;
35005 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35007 PyObject
* obj0
= 0 ;
35008 char *kwnames
[] = {
35009 (char *) "self", NULL
35012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 result
= (arg1
)->GetPosition();
35019 wxPyEndAllowThreads(__tstate
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35023 wxPoint
* resultptr
;
35024 resultptr
= new wxPoint((wxPoint
&) result
);
35025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35033 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35034 PyObject
*resultobj
;
35035 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35037 PyObject
* obj0
= 0 ;
35038 char *kwnames
[] = {
35039 (char *) "self", NULL
35042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35047 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35049 wxPyEndAllowThreads(__tstate
);
35050 if (PyErr_Occurred()) SWIG_fail
;
35052 resultobj
= result
;
35059 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35062 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35064 return Py_BuildValue((char *)"");
35066 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35067 PyObject
*resultobj
;
35068 wxSizer
*arg1
= (wxSizer
*) 0 ;
35069 PyObject
*arg2
= (PyObject
*) 0 ;
35070 PyObject
* obj0
= 0 ;
35071 PyObject
* obj1
= 0 ;
35072 char *kwnames
[] = {
35073 (char *) "self",(char *) "_self", NULL
35076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 wxSizer__setOORInfo(arg1
,arg2
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 Py_INCREF(Py_None
); resultobj
= Py_None
;
35094 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35095 PyObject
*resultobj
;
35096 wxSizer
*arg1
= (wxSizer
*) 0 ;
35097 PyObject
*arg2
= (PyObject
*) 0 ;
35098 int arg3
= (int) 0 ;
35099 int arg4
= (int) 0 ;
35100 int arg5
= (int) 0 ;
35101 PyObject
*arg6
= (PyObject
*) NULL
;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 PyObject
* obj2
= 0 ;
35105 PyObject
* obj3
= 0 ;
35106 PyObject
* obj4
= 0 ;
35107 PyObject
* obj5
= 0 ;
35108 char *kwnames
[] = {
35109 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35117 arg3
= (int) SWIG_AsInt(obj2
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35121 arg4
= (int) SWIG_AsInt(obj3
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35125 arg5
= (int) SWIG_AsInt(obj4
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35133 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35135 wxPyEndAllowThreads(__tstate
);
35136 if (PyErr_Occurred()) SWIG_fail
;
35138 Py_INCREF(Py_None
); resultobj
= Py_None
;
35145 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
;
35147 wxSizer
*arg1
= (wxSizer
*) 0 ;
35149 PyObject
*arg3
= (PyObject
*) 0 ;
35150 int arg4
= (int) 0 ;
35151 int arg5
= (int) 0 ;
35152 int arg6
= (int) 0 ;
35153 PyObject
*arg7
= (PyObject
*) NULL
;
35154 PyObject
* obj0
= 0 ;
35155 PyObject
* obj1
= 0 ;
35156 PyObject
* obj2
= 0 ;
35157 PyObject
* obj3
= 0 ;
35158 PyObject
* obj4
= 0 ;
35159 PyObject
* obj5
= 0 ;
35160 PyObject
* obj6
= 0 ;
35161 char *kwnames
[] = {
35162 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35168 arg2
= (int) SWIG_AsInt(obj1
);
35169 if (PyErr_Occurred()) SWIG_fail
;
35172 arg4
= (int) SWIG_AsInt(obj3
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35176 arg5
= (int) SWIG_AsInt(obj4
);
35177 if (PyErr_Occurred()) SWIG_fail
;
35180 arg6
= (int) SWIG_AsInt(obj5
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35188 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35193 Py_INCREF(Py_None
); resultobj
= Py_None
;
35200 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
;
35202 wxSizer
*arg1
= (wxSizer
*) 0 ;
35203 PyObject
*arg2
= (PyObject
*) 0 ;
35204 int arg3
= (int) 0 ;
35205 int arg4
= (int) 0 ;
35206 int arg5
= (int) 0 ;
35207 PyObject
*arg6
= (PyObject
*) NULL
;
35208 PyObject
* obj0
= 0 ;
35209 PyObject
* obj1
= 0 ;
35210 PyObject
* obj2
= 0 ;
35211 PyObject
* obj3
= 0 ;
35212 PyObject
* obj4
= 0 ;
35213 PyObject
* obj5
= 0 ;
35214 char *kwnames
[] = {
35215 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35223 arg3
= (int) SWIG_AsInt(obj2
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35227 arg4
= (int) SWIG_AsInt(obj3
);
35228 if (PyErr_Occurred()) SWIG_fail
;
35231 arg5
= (int) SWIG_AsInt(obj4
);
35232 if (PyErr_Occurred()) SWIG_fail
;
35238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35241 wxPyEndAllowThreads(__tstate
);
35242 if (PyErr_Occurred()) SWIG_fail
;
35244 Py_INCREF(Py_None
); resultobj
= Py_None
;
35251 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35252 PyObject
*resultobj
;
35253 wxSizer
*arg1
= (wxSizer
*) 0 ;
35254 PyObject
*arg2
= (PyObject
*) 0 ;
35256 PyObject
* obj0
= 0 ;
35257 PyObject
* obj1
= 0 ;
35258 char *kwnames
[] = {
35259 (char *) "self",(char *) "item", NULL
35262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35282 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
;
35284 wxSizer
*arg1
= (wxSizer
*) 0 ;
35285 PyObject
*arg2
= (PyObject
*) 0 ;
35288 PyObject
* obj0
= 0 ;
35289 PyObject
* obj1
= 0 ;
35290 PyObject
* obj2
= 0 ;
35291 char *kwnames
[] = {
35292 (char *) "self",(char *) "item",(char *) "size", NULL
35295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35301 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35305 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35307 wxPyEndAllowThreads(__tstate
);
35308 if (PyErr_Occurred()) SWIG_fail
;
35310 Py_INCREF(Py_None
); resultobj
= Py_None
;
35317 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35318 PyObject
*resultobj
;
35319 wxSizer
*arg1
= (wxSizer
*) 0 ;
35320 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35321 PyObject
* obj0
= 0 ;
35322 PyObject
* obj1
= 0 ;
35323 char *kwnames
[] = {
35324 (char *) "self",(char *) "item", NULL
35327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35339 Py_INCREF(Py_None
); resultobj
= Py_None
;
35346 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
;
35348 wxSizer
*arg1
= (wxSizer
*) 0 ;
35350 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35351 PyObject
* obj0
= 0 ;
35352 PyObject
* obj1
= 0 ;
35353 PyObject
* obj2
= 0 ;
35354 char *kwnames
[] = {
35355 (char *) "self",(char *) "index",(char *) "item", NULL
35358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35361 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35363 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35367 (arg1
)->Insert(arg2
,arg3
);
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35372 Py_INCREF(Py_None
); resultobj
= Py_None
;
35379 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35380 PyObject
*resultobj
;
35381 wxSizer
*arg1
= (wxSizer
*) 0 ;
35382 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35383 PyObject
* obj0
= 0 ;
35384 PyObject
* obj1
= 0 ;
35385 char *kwnames
[] = {
35386 (char *) "self",(char *) "item", NULL
35389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 (arg1
)->Prepend(arg2
);
35398 wxPyEndAllowThreads(__tstate
);
35399 if (PyErr_Occurred()) SWIG_fail
;
35401 Py_INCREF(Py_None
); resultobj
= Py_None
;
35408 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
;
35410 wxSizer
*arg1
= (wxSizer
*) 0 ;
35415 PyObject
* obj0
= 0 ;
35416 PyObject
* obj1
= 0 ;
35417 PyObject
* obj2
= 0 ;
35418 PyObject
* obj3
= 0 ;
35419 PyObject
* obj4
= 0 ;
35420 char *kwnames
[] = {
35421 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35427 arg2
= (int) SWIG_AsInt(obj1
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35429 arg3
= (int) SWIG_AsInt(obj2
);
35430 if (PyErr_Occurred()) SWIG_fail
;
35431 arg4
= (int) SWIG_AsInt(obj3
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35433 arg5
= (int) SWIG_AsInt(obj4
);
35434 if (PyErr_Occurred()) SWIG_fail
;
35436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35437 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35439 wxPyEndAllowThreads(__tstate
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35442 Py_INCREF(Py_None
); resultobj
= Py_None
;
35449 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35450 PyObject
*resultobj
;
35451 wxSizer
*arg1
= (wxSizer
*) 0 ;
35454 PyObject
* obj0
= 0 ;
35455 PyObject
* obj1
= 0 ;
35456 char *kwnames
[] = {
35457 (char *) "self",(char *) "size", NULL
35460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35465 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35474 Py_INCREF(Py_None
); resultobj
= Py_None
;
35481 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
;
35483 wxSizer
*arg1
= (wxSizer
*) 0 ;
35485 PyObject
* obj0
= 0 ;
35486 char *kwnames
[] = {
35487 (char *) "self", NULL
35490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 result
= (arg1
)->GetSize();
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35501 wxSize
* resultptr
;
35502 resultptr
= new wxSize((wxSize
&) result
);
35503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35511 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35512 PyObject
*resultobj
;
35513 wxSizer
*arg1
= (wxSizer
*) 0 ;
35515 PyObject
* obj0
= 0 ;
35516 char *kwnames
[] = {
35517 (char *) "self", NULL
35520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 result
= (arg1
)->GetPosition();
35527 wxPyEndAllowThreads(__tstate
);
35528 if (PyErr_Occurred()) SWIG_fail
;
35531 wxPoint
* resultptr
;
35532 resultptr
= new wxPoint((wxPoint
&) result
);
35533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35541 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35542 PyObject
*resultobj
;
35543 wxSizer
*arg1
= (wxSizer
*) 0 ;
35545 PyObject
* obj0
= 0 ;
35546 char *kwnames
[] = {
35547 (char *) "self", NULL
35550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 result
= (arg1
)->GetMinSize();
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35561 wxSize
* resultptr
;
35562 resultptr
= new wxSize((wxSize
&) result
);
35563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35571 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35572 PyObject
*resultobj
;
35573 wxSizer
*arg1
= (wxSizer
*) 0 ;
35574 PyObject
* obj0
= 0 ;
35575 char *kwnames
[] = {
35576 (char *) "self", NULL
35579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35584 (arg1
)->RecalcSizes();
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35589 Py_INCREF(Py_None
); resultobj
= Py_None
;
35596 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35597 PyObject
*resultobj
;
35598 wxSizer
*arg1
= (wxSizer
*) 0 ;
35600 PyObject
* obj0
= 0 ;
35601 char *kwnames
[] = {
35602 (char *) "self", NULL
35605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35610 result
= (arg1
)->CalcMin();
35612 wxPyEndAllowThreads(__tstate
);
35613 if (PyErr_Occurred()) SWIG_fail
;
35616 wxSize
* resultptr
;
35617 resultptr
= new wxSize((wxSize
&) result
);
35618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35626 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35627 PyObject
*resultobj
;
35628 wxSizer
*arg1
= (wxSizer
*) 0 ;
35629 PyObject
* obj0
= 0 ;
35630 char *kwnames
[] = {
35631 (char *) "self", NULL
35634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35644 Py_INCREF(Py_None
); resultobj
= Py_None
;
35651 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35652 PyObject
*resultobj
;
35653 wxSizer
*arg1
= (wxSizer
*) 0 ;
35654 wxWindow
*arg2
= (wxWindow
*) 0 ;
35656 PyObject
* obj0
= 0 ;
35657 PyObject
* obj1
= 0 ;
35658 char *kwnames
[] = {
35659 (char *) "self",(char *) "window", NULL
35662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= (arg1
)->Fit(arg2
);
35671 wxPyEndAllowThreads(__tstate
);
35672 if (PyErr_Occurred()) SWIG_fail
;
35675 wxSize
* resultptr
;
35676 resultptr
= new wxSize((wxSize
&) result
);
35677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35685 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35686 PyObject
*resultobj
;
35687 wxSizer
*arg1
= (wxSizer
*) 0 ;
35688 wxWindow
*arg2
= (wxWindow
*) 0 ;
35689 PyObject
* obj0
= 0 ;
35690 PyObject
* obj1
= 0 ;
35691 char *kwnames
[] = {
35692 (char *) "self",(char *) "window", NULL
35695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35702 (arg1
)->FitInside(arg2
);
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 Py_INCREF(Py_None
); resultobj
= Py_None
;
35714 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35715 PyObject
*resultobj
;
35716 wxSizer
*arg1
= (wxSizer
*) 0 ;
35717 wxWindow
*arg2
= (wxWindow
*) 0 ;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 char *kwnames
[] = {
35721 (char *) "self",(char *) "window", NULL
35724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35731 (arg1
)->SetSizeHints(arg2
);
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35736 Py_INCREF(Py_None
); resultobj
= Py_None
;
35743 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35744 PyObject
*resultobj
;
35745 wxSizer
*arg1
= (wxSizer
*) 0 ;
35746 wxWindow
*arg2
= (wxWindow
*) 0 ;
35747 PyObject
* obj0
= 0 ;
35748 PyObject
* obj1
= 0 ;
35749 char *kwnames
[] = {
35750 (char *) "self",(char *) "window", NULL
35753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35760 (arg1
)->SetVirtualSizeHints(arg2
);
35762 wxPyEndAllowThreads(__tstate
);
35763 if (PyErr_Occurred()) SWIG_fail
;
35765 Py_INCREF(Py_None
); resultobj
= Py_None
;
35772 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35773 PyObject
*resultobj
;
35774 wxSizer
*arg1
= (wxSizer
*) 0 ;
35775 bool arg2
= (bool) False
;
35776 PyObject
* obj0
= 0 ;
35777 PyObject
* obj1
= 0 ;
35778 char *kwnames
[] = {
35779 (char *) "self",(char *) "delete_windows", NULL
35782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35786 arg2
= (bool) SWIG_AsBool(obj1
);
35787 if (PyErr_Occurred()) SWIG_fail
;
35790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35791 (arg1
)->Clear(arg2
);
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35796 Py_INCREF(Py_None
); resultobj
= Py_None
;
35803 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35804 PyObject
*resultobj
;
35805 wxSizer
*arg1
= (wxSizer
*) 0 ;
35806 PyObject
* obj0
= 0 ;
35807 char *kwnames
[] = {
35808 (char *) "self", NULL
35811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35816 (arg1
)->DeleteWindows();
35818 wxPyEndAllowThreads(__tstate
);
35819 if (PyErr_Occurred()) SWIG_fail
;
35821 Py_INCREF(Py_None
); resultobj
= Py_None
;
35828 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35829 PyObject
*resultobj
;
35830 wxSizer
*arg1
= (wxSizer
*) 0 ;
35832 PyObject
* obj0
= 0 ;
35833 char *kwnames
[] = {
35834 (char *) "self", NULL
35837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35842 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35844 wxPyEndAllowThreads(__tstate
);
35845 if (PyErr_Occurred()) SWIG_fail
;
35847 resultobj
= result
;
35854 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35855 PyObject
*resultobj
;
35856 wxSizer
*arg1
= (wxSizer
*) 0 ;
35857 PyObject
*arg2
= (PyObject
*) 0 ;
35858 bool arg3
= (bool) True
;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 PyObject
* obj2
= 0 ;
35862 char *kwnames
[] = {
35863 (char *) "self",(char *) "item",(char *) "show", NULL
35866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35871 arg3
= (bool) SWIG_AsBool(obj2
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35876 wxSizer_Show(arg1
,arg2
,arg3
);
35878 wxPyEndAllowThreads(__tstate
);
35879 if (PyErr_Occurred()) SWIG_fail
;
35881 Py_INCREF(Py_None
); resultobj
= Py_None
;
35888 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
;
35890 wxSizer
*arg1
= (wxSizer
*) 0 ;
35891 PyObject
*arg2
= (PyObject
*) 0 ;
35892 PyObject
* obj0
= 0 ;
35893 PyObject
* obj1
= 0 ;
35894 char *kwnames
[] = {
35895 (char *) "self",(char *) "item", NULL
35898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 wxSizer_Hide(arg1
,arg2
);
35906 wxPyEndAllowThreads(__tstate
);
35907 if (PyErr_Occurred()) SWIG_fail
;
35909 Py_INCREF(Py_None
); resultobj
= Py_None
;
35916 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
;
35918 wxSizer
*arg1
= (wxSizer
*) 0 ;
35919 PyObject
*arg2
= (PyObject
*) 0 ;
35921 PyObject
* obj0
= 0 ;
35922 PyObject
* obj1
= 0 ;
35923 char *kwnames
[] = {
35924 (char *) "self",(char *) "item", NULL
35927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35947 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
;
35949 wxSizer
*arg1
= (wxSizer
*) 0 ;
35951 PyObject
* obj0
= 0 ;
35952 PyObject
* obj1
= 0 ;
35953 char *kwnames
[] = {
35954 (char *) "self",(char *) "show", NULL
35957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35960 arg2
= (bool) SWIG_AsBool(obj1
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 (arg1
)->ShowItems(arg2
);
35966 wxPyEndAllowThreads(__tstate
);
35967 if (PyErr_Occurred()) SWIG_fail
;
35969 Py_INCREF(Py_None
); resultobj
= Py_None
;
35976 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35979 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35981 return Py_BuildValue((char *)"");
35983 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35984 PyObject
*resultobj
;
35986 char *kwnames
[] = {
35990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 result
= (wxPySizer
*)new wxPySizer();
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36005 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36006 PyObject
*resultobj
;
36007 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36008 PyObject
*arg2
= (PyObject
*) 0 ;
36009 PyObject
*arg3
= (PyObject
*) 0 ;
36010 PyObject
* obj0
= 0 ;
36011 PyObject
* obj1
= 0 ;
36012 PyObject
* obj2
= 0 ;
36013 char *kwnames
[] = {
36014 (char *) "self",(char *) "self",(char *) "_class", NULL
36017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36026 wxPyEndAllowThreads(__tstate
);
36027 if (PyErr_Occurred()) SWIG_fail
;
36029 Py_INCREF(Py_None
); resultobj
= Py_None
;
36036 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36039 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36041 return Py_BuildValue((char *)"");
36043 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
;
36045 int arg1
= (int) wxHORIZONTAL
;
36046 wxBoxSizer
*result
;
36047 PyObject
* obj0
= 0 ;
36048 char *kwnames
[] = {
36049 (char *) "orient", NULL
36052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36054 arg1
= (int) SWIG_AsInt(obj0
);
36055 if (PyErr_Occurred()) SWIG_fail
;
36058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36059 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36061 wxPyEndAllowThreads(__tstate
);
36062 if (PyErr_Occurred()) SWIG_fail
;
36064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36071 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36072 PyObject
*resultobj
;
36073 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36075 PyObject
* obj0
= 0 ;
36076 char *kwnames
[] = {
36077 (char *) "self", NULL
36080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36085 result
= (int)(arg1
)->GetOrientation();
36087 wxPyEndAllowThreads(__tstate
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36090 resultobj
= SWIG_FromInt((int)result
);
36097 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36098 PyObject
*resultobj
;
36099 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36101 PyObject
* obj0
= 0 ;
36102 PyObject
* obj1
= 0 ;
36103 char *kwnames
[] = {
36104 (char *) "self",(char *) "orient", NULL
36107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36110 arg2
= (int) SWIG_AsInt(obj1
);
36111 if (PyErr_Occurred()) SWIG_fail
;
36113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36114 (arg1
)->SetOrientation(arg2
);
36116 wxPyEndAllowThreads(__tstate
);
36117 if (PyErr_Occurred()) SWIG_fail
;
36119 Py_INCREF(Py_None
); resultobj
= Py_None
;
36126 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36127 PyObject
*resultobj
;
36128 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36129 PyObject
* obj0
= 0 ;
36130 char *kwnames
[] = {
36131 (char *) "self", NULL
36134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 (arg1
)->RecalcSizes();
36141 wxPyEndAllowThreads(__tstate
);
36142 if (PyErr_Occurred()) SWIG_fail
;
36144 Py_INCREF(Py_None
); resultobj
= Py_None
;
36151 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36152 PyObject
*resultobj
;
36153 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36155 PyObject
* obj0
= 0 ;
36156 char *kwnames
[] = {
36157 (char *) "self", NULL
36160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36165 result
= (arg1
)->CalcMin();
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36171 wxSize
* resultptr
;
36172 resultptr
= new wxSize((wxSize
&) result
);
36173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36181 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36184 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36186 return Py_BuildValue((char *)"");
36188 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36189 PyObject
*resultobj
;
36190 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36191 int arg2
= (int) wxHORIZONTAL
;
36192 wxStaticBoxSizer
*result
;
36193 PyObject
* obj0
= 0 ;
36194 PyObject
* obj1
= 0 ;
36195 char *kwnames
[] = {
36196 (char *) "box",(char *) "orient", NULL
36199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36203 arg2
= (int) SWIG_AsInt(obj1
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36208 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36210 wxPyEndAllowThreads(__tstate
);
36211 if (PyErr_Occurred()) SWIG_fail
;
36213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36220 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36221 PyObject
*resultobj
;
36222 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36223 wxStaticBox
*result
;
36224 PyObject
* obj0
= 0 ;
36225 char *kwnames
[] = {
36226 (char *) "self", NULL
36229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36234 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36236 wxPyEndAllowThreads(__tstate
);
36237 if (PyErr_Occurred()) SWIG_fail
;
36240 resultobj
= wxPyMake_wxObject(result
);
36248 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36249 PyObject
*resultobj
;
36250 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36251 PyObject
* obj0
= 0 ;
36252 char *kwnames
[] = {
36253 (char *) "self", NULL
36256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 (arg1
)->RecalcSizes();
36263 wxPyEndAllowThreads(__tstate
);
36264 if (PyErr_Occurred()) SWIG_fail
;
36266 Py_INCREF(Py_None
); resultobj
= Py_None
;
36273 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36274 PyObject
*resultobj
;
36275 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36277 PyObject
* obj0
= 0 ;
36278 char *kwnames
[] = {
36279 (char *) "self", NULL
36282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36287 result
= (arg1
)->CalcMin();
36289 wxPyEndAllowThreads(__tstate
);
36290 if (PyErr_Occurred()) SWIG_fail
;
36293 wxSize
* resultptr
;
36294 resultptr
= new wxSize((wxSize
&) result
);
36295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36303 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36306 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36308 return Py_BuildValue((char *)"");
36310 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36311 PyObject
*resultobj
;
36312 int arg1
= (int) 1 ;
36313 int arg2
= (int) 0 ;
36314 int arg3
= (int) 0 ;
36315 int arg4
= (int) 0 ;
36316 wxGridSizer
*result
;
36317 PyObject
* obj0
= 0 ;
36318 PyObject
* obj1
= 0 ;
36319 PyObject
* obj2
= 0 ;
36320 PyObject
* obj3
= 0 ;
36321 char *kwnames
[] = {
36322 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36327 arg1
= (int) SWIG_AsInt(obj0
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36331 arg2
= (int) SWIG_AsInt(obj1
);
36332 if (PyErr_Occurred()) SWIG_fail
;
36335 arg3
= (int) SWIG_AsInt(obj2
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36339 arg4
= (int) SWIG_AsInt(obj3
);
36340 if (PyErr_Occurred()) SWIG_fail
;
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36356 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
;
36358 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36359 PyObject
* obj0
= 0 ;
36360 char *kwnames
[] = {
36361 (char *) "self", NULL
36364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 (arg1
)->RecalcSizes();
36371 wxPyEndAllowThreads(__tstate
);
36372 if (PyErr_Occurred()) SWIG_fail
;
36374 Py_INCREF(Py_None
); resultobj
= Py_None
;
36381 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36382 PyObject
*resultobj
;
36383 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36385 PyObject
* obj0
= 0 ;
36386 char *kwnames
[] = {
36387 (char *) "self", NULL
36390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36395 result
= (arg1
)->CalcMin();
36397 wxPyEndAllowThreads(__tstate
);
36398 if (PyErr_Occurred()) SWIG_fail
;
36401 wxSize
* resultptr
;
36402 resultptr
= new wxSize((wxSize
&) result
);
36403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36411 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36412 PyObject
*resultobj
;
36413 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36415 PyObject
* obj0
= 0 ;
36416 PyObject
* obj1
= 0 ;
36417 char *kwnames
[] = {
36418 (char *) "self",(char *) "cols", NULL
36421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36424 arg2
= (int) SWIG_AsInt(obj1
);
36425 if (PyErr_Occurred()) SWIG_fail
;
36427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36428 (arg1
)->SetCols(arg2
);
36430 wxPyEndAllowThreads(__tstate
);
36431 if (PyErr_Occurred()) SWIG_fail
;
36433 Py_INCREF(Py_None
); resultobj
= Py_None
;
36440 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36441 PyObject
*resultobj
;
36442 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36444 PyObject
* obj0
= 0 ;
36445 PyObject
* obj1
= 0 ;
36446 char *kwnames
[] = {
36447 (char *) "self",(char *) "rows", NULL
36450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36453 arg2
= (int) SWIG_AsInt(obj1
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36457 (arg1
)->SetRows(arg2
);
36459 wxPyEndAllowThreads(__tstate
);
36460 if (PyErr_Occurred()) SWIG_fail
;
36462 Py_INCREF(Py_None
); resultobj
= Py_None
;
36469 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36470 PyObject
*resultobj
;
36471 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36473 PyObject
* obj0
= 0 ;
36474 PyObject
* obj1
= 0 ;
36475 char *kwnames
[] = {
36476 (char *) "self",(char *) "gap", NULL
36479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36482 arg2
= (int) SWIG_AsInt(obj1
);
36483 if (PyErr_Occurred()) SWIG_fail
;
36485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36486 (arg1
)->SetVGap(arg2
);
36488 wxPyEndAllowThreads(__tstate
);
36489 if (PyErr_Occurred()) SWIG_fail
;
36491 Py_INCREF(Py_None
); resultobj
= Py_None
;
36498 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36499 PyObject
*resultobj
;
36500 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36502 PyObject
* obj0
= 0 ;
36503 PyObject
* obj1
= 0 ;
36504 char *kwnames
[] = {
36505 (char *) "self",(char *) "gap", NULL
36508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36511 arg2
= (int) SWIG_AsInt(obj1
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36515 (arg1
)->SetHGap(arg2
);
36517 wxPyEndAllowThreads(__tstate
);
36518 if (PyErr_Occurred()) SWIG_fail
;
36520 Py_INCREF(Py_None
); resultobj
= Py_None
;
36527 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36528 PyObject
*resultobj
;
36529 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36531 PyObject
* obj0
= 0 ;
36532 char *kwnames
[] = {
36533 (char *) "self", NULL
36536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36541 result
= (int)(arg1
)->GetCols();
36543 wxPyEndAllowThreads(__tstate
);
36544 if (PyErr_Occurred()) SWIG_fail
;
36546 resultobj
= SWIG_FromInt((int)result
);
36553 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36554 PyObject
*resultobj
;
36555 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36557 PyObject
* obj0
= 0 ;
36558 char *kwnames
[] = {
36559 (char *) "self", NULL
36562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36567 result
= (int)(arg1
)->GetRows();
36569 wxPyEndAllowThreads(__tstate
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36572 resultobj
= SWIG_FromInt((int)result
);
36579 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36580 PyObject
*resultobj
;
36581 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36583 PyObject
* obj0
= 0 ;
36584 char *kwnames
[] = {
36585 (char *) "self", NULL
36588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36593 result
= (int)(arg1
)->GetVGap();
36595 wxPyEndAllowThreads(__tstate
);
36596 if (PyErr_Occurred()) SWIG_fail
;
36598 resultobj
= SWIG_FromInt((int)result
);
36605 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36606 PyObject
*resultobj
;
36607 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36609 PyObject
* obj0
= 0 ;
36610 char *kwnames
[] = {
36611 (char *) "self", NULL
36614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36619 result
= (int)(arg1
)->GetHGap();
36621 wxPyEndAllowThreads(__tstate
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36624 resultobj
= SWIG_FromInt((int)result
);
36631 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36634 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36636 return Py_BuildValue((char *)"");
36638 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36639 PyObject
*resultobj
;
36640 int arg1
= (int) 1 ;
36641 int arg2
= (int) 0 ;
36642 int arg3
= (int) 0 ;
36643 int arg4
= (int) 0 ;
36644 wxFlexGridSizer
*result
;
36645 PyObject
* obj0
= 0 ;
36646 PyObject
* obj1
= 0 ;
36647 PyObject
* obj2
= 0 ;
36648 PyObject
* obj3
= 0 ;
36649 char *kwnames
[] = {
36650 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36655 arg1
= (int) SWIG_AsInt(obj0
);
36656 if (PyErr_Occurred()) SWIG_fail
;
36659 arg2
= (int) SWIG_AsInt(obj1
);
36660 if (PyErr_Occurred()) SWIG_fail
;
36663 arg3
= (int) SWIG_AsInt(obj2
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36667 arg4
= (int) SWIG_AsInt(obj3
);
36668 if (PyErr_Occurred()) SWIG_fail
;
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36672 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36674 wxPyEndAllowThreads(__tstate
);
36675 if (PyErr_Occurred()) SWIG_fail
;
36677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36684 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36685 PyObject
*resultobj
;
36686 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36687 PyObject
* obj0
= 0 ;
36688 char *kwnames
[] = {
36689 (char *) "self", NULL
36692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36697 (arg1
)->RecalcSizes();
36699 wxPyEndAllowThreads(__tstate
);
36700 if (PyErr_Occurred()) SWIG_fail
;
36702 Py_INCREF(Py_None
); resultobj
= Py_None
;
36709 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36710 PyObject
*resultobj
;
36711 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36713 PyObject
* obj0
= 0 ;
36714 char *kwnames
[] = {
36715 (char *) "self", NULL
36718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36723 result
= (arg1
)->CalcMin();
36725 wxPyEndAllowThreads(__tstate
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36729 wxSize
* resultptr
;
36730 resultptr
= new wxSize((wxSize
&) result
);
36731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36739 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36740 PyObject
*resultobj
;
36741 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36743 int arg3
= (int) 0 ;
36744 PyObject
* obj0
= 0 ;
36745 PyObject
* obj1
= 0 ;
36746 PyObject
* obj2
= 0 ;
36747 char *kwnames
[] = {
36748 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36754 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 arg3
= (int) SWIG_AsInt(obj2
);
36758 if (PyErr_Occurred()) SWIG_fail
;
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 (arg1
)->AddGrowableRow(arg2
,arg3
);
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 Py_INCREF(Py_None
); resultobj
= Py_None
;
36774 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36775 PyObject
*resultobj
;
36776 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36778 PyObject
* obj0
= 0 ;
36779 PyObject
* obj1
= 0 ;
36780 char *kwnames
[] = {
36781 (char *) "self",(char *) "idx", NULL
36784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36787 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36791 (arg1
)->RemoveGrowableRow(arg2
);
36793 wxPyEndAllowThreads(__tstate
);
36794 if (PyErr_Occurred()) SWIG_fail
;
36796 Py_INCREF(Py_None
); resultobj
= Py_None
;
36803 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36804 PyObject
*resultobj
;
36805 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36807 int arg3
= (int) 0 ;
36808 PyObject
* obj0
= 0 ;
36809 PyObject
* obj1
= 0 ;
36810 PyObject
* obj2
= 0 ;
36811 char *kwnames
[] = {
36812 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36818 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36819 if (PyErr_Occurred()) SWIG_fail
;
36821 arg3
= (int) SWIG_AsInt(obj2
);
36822 if (PyErr_Occurred()) SWIG_fail
;
36825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36826 (arg1
)->AddGrowableCol(arg2
,arg3
);
36828 wxPyEndAllowThreads(__tstate
);
36829 if (PyErr_Occurred()) SWIG_fail
;
36831 Py_INCREF(Py_None
); resultobj
= Py_None
;
36838 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36839 PyObject
*resultobj
;
36840 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36842 PyObject
* obj0
= 0 ;
36843 PyObject
* obj1
= 0 ;
36844 char *kwnames
[] = {
36845 (char *) "self",(char *) "idx", NULL
36848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36851 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36852 if (PyErr_Occurred()) SWIG_fail
;
36854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36855 (arg1
)->RemoveGrowableCol(arg2
);
36857 wxPyEndAllowThreads(__tstate
);
36858 if (PyErr_Occurred()) SWIG_fail
;
36860 Py_INCREF(Py_None
); resultobj
= Py_None
;
36867 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36868 PyObject
*resultobj
;
36869 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36871 PyObject
* obj0
= 0 ;
36872 PyObject
* obj1
= 0 ;
36873 char *kwnames
[] = {
36874 (char *) "self",(char *) "direction", NULL
36877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36880 arg2
= (int) SWIG_AsInt(obj1
);
36881 if (PyErr_Occurred()) SWIG_fail
;
36883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36884 (arg1
)->SetFlexibleDirection(arg2
);
36886 wxPyEndAllowThreads(__tstate
);
36887 if (PyErr_Occurred()) SWIG_fail
;
36889 Py_INCREF(Py_None
); resultobj
= Py_None
;
36896 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36897 PyObject
*resultobj
;
36898 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36900 PyObject
* obj0
= 0 ;
36901 char *kwnames
[] = {
36902 (char *) "self", NULL
36905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36910 result
= (int)(arg1
)->GetFlexibleDirection();
36912 wxPyEndAllowThreads(__tstate
);
36913 if (PyErr_Occurred()) SWIG_fail
;
36915 resultobj
= SWIG_FromInt((int)result
);
36922 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36923 PyObject
*resultobj
;
36924 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36926 PyObject
* obj0
= 0 ;
36927 PyObject
* obj1
= 0 ;
36928 char *kwnames
[] = {
36929 (char *) "self",(char *) "mode", NULL
36932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36935 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36936 if (PyErr_Occurred()) SWIG_fail
;
36938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36939 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36941 wxPyEndAllowThreads(__tstate
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36944 Py_INCREF(Py_None
); resultobj
= Py_None
;
36951 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36952 PyObject
*resultobj
;
36953 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36955 PyObject
* obj0
= 0 ;
36956 char *kwnames
[] = {
36957 (char *) "self", NULL
36960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_FromInt((int)result
);
36977 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36978 PyObject
*resultobj
;
36979 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36980 wxArrayInt
*result
;
36981 PyObject
* obj0
= 0 ;
36982 char *kwnames
[] = {
36983 (char *) "self", NULL
36986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36992 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36993 result
= (wxArrayInt
*) &_result_ref
;
36996 wxPyEndAllowThreads(__tstate
);
36997 if (PyErr_Occurred()) SWIG_fail
;
37000 resultobj
= PyList_New(0);
37002 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37003 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37004 PyList_Append(resultobj
, val
);
37014 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37015 PyObject
*resultobj
;
37016 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37017 wxArrayInt
*result
;
37018 PyObject
* obj0
= 0 ;
37019 char *kwnames
[] = {
37020 (char *) "self", NULL
37023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37029 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37030 result
= (wxArrayInt
*) &_result_ref
;
37033 wxPyEndAllowThreads(__tstate
);
37034 if (PyErr_Occurred()) SWIG_fail
;
37037 resultobj
= PyList_New(0);
37039 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37040 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37041 PyList_Append(resultobj
, val
);
37051 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37054 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37056 return Py_BuildValue((char *)"");
37058 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37059 PyObject
*resultobj
;
37060 int arg1
= (int) 0 ;
37061 int arg2
= (int) 0 ;
37062 wxGBPosition
*result
;
37063 PyObject
* obj0
= 0 ;
37064 PyObject
* obj1
= 0 ;
37065 char *kwnames
[] = {
37066 (char *) "row",(char *) "col", NULL
37069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37071 arg1
= (int) SWIG_AsInt(obj0
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37075 arg2
= (int) SWIG_AsInt(obj1
);
37076 if (PyErr_Occurred()) SWIG_fail
;
37079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37080 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37082 wxPyEndAllowThreads(__tstate
);
37083 if (PyErr_Occurred()) SWIG_fail
;
37085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37092 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37093 PyObject
*resultobj
;
37094 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37096 PyObject
* obj0
= 0 ;
37097 char *kwnames
[] = {
37098 (char *) "self", NULL
37101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37108 wxPyEndAllowThreads(__tstate
);
37109 if (PyErr_Occurred()) SWIG_fail
;
37111 resultobj
= SWIG_FromInt((int)result
);
37118 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37119 PyObject
*resultobj
;
37120 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37122 PyObject
* obj0
= 0 ;
37123 char *kwnames
[] = {
37124 (char *) "self", NULL
37127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37134 wxPyEndAllowThreads(__tstate
);
37135 if (PyErr_Occurred()) SWIG_fail
;
37137 resultobj
= SWIG_FromInt((int)result
);
37144 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37145 PyObject
*resultobj
;
37146 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37148 PyObject
* obj0
= 0 ;
37149 PyObject
* obj1
= 0 ;
37150 char *kwnames
[] = {
37151 (char *) "self",(char *) "row", NULL
37154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37157 arg2
= (int) SWIG_AsInt(obj1
);
37158 if (PyErr_Occurred()) SWIG_fail
;
37160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37161 (arg1
)->SetRow(arg2
);
37163 wxPyEndAllowThreads(__tstate
);
37164 if (PyErr_Occurred()) SWIG_fail
;
37166 Py_INCREF(Py_None
); resultobj
= Py_None
;
37173 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37174 PyObject
*resultobj
;
37175 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37177 PyObject
* obj0
= 0 ;
37178 PyObject
* obj1
= 0 ;
37179 char *kwnames
[] = {
37180 (char *) "self",(char *) "col", NULL
37183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37186 arg2
= (int) SWIG_AsInt(obj1
);
37187 if (PyErr_Occurred()) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 (arg1
)->SetCol(arg2
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 Py_INCREF(Py_None
); resultobj
= Py_None
;
37202 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37203 PyObject
*resultobj
;
37204 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37205 wxGBPosition
*arg2
= 0 ;
37207 wxGBPosition temp2
;
37208 PyObject
* obj0
= 0 ;
37209 PyObject
* obj1
= 0 ;
37210 char *kwnames
[] = {
37211 (char *) "self",(char *) "other", NULL
37214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37219 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37223 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37225 wxPyEndAllowThreads(__tstate
);
37226 if (PyErr_Occurred()) SWIG_fail
;
37229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37237 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37238 PyObject
*resultobj
;
37239 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37240 wxGBPosition
*arg2
= 0 ;
37242 wxGBPosition temp2
;
37243 PyObject
* obj0
= 0 ;
37244 PyObject
* obj1
= 0 ;
37245 char *kwnames
[] = {
37246 (char *) "self",(char *) "other", NULL
37249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37254 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37258 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37260 wxPyEndAllowThreads(__tstate
);
37261 if (PyErr_Occurred()) SWIG_fail
;
37264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37272 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37273 PyObject
*resultobj
;
37274 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37275 int arg2
= (int) 0 ;
37276 int arg3
= (int) 0 ;
37277 PyObject
* obj0
= 0 ;
37278 PyObject
* obj1
= 0 ;
37279 PyObject
* obj2
= 0 ;
37280 char *kwnames
[] = {
37281 (char *) "self",(char *) "row",(char *) "col", NULL
37284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37288 arg2
= (int) SWIG_AsInt(obj1
);
37289 if (PyErr_Occurred()) SWIG_fail
;
37292 arg3
= (int) SWIG_AsInt(obj2
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37297 wxGBPosition_Set(arg1
,arg2
,arg3
);
37299 wxPyEndAllowThreads(__tstate
);
37300 if (PyErr_Occurred()) SWIG_fail
;
37302 Py_INCREF(Py_None
); resultobj
= Py_None
;
37309 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37310 PyObject
*resultobj
;
37311 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37313 PyObject
* obj0
= 0 ;
37314 char *kwnames
[] = {
37315 (char *) "self", NULL
37318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37323 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37325 wxPyEndAllowThreads(__tstate
);
37326 if (PyErr_Occurred()) SWIG_fail
;
37328 resultobj
= result
;
37335 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37338 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37340 return Py_BuildValue((char *)"");
37342 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37343 PyObject
*resultobj
;
37344 int arg1
= (int) 1 ;
37345 int arg2
= (int) 1 ;
37347 PyObject
* obj0
= 0 ;
37348 PyObject
* obj1
= 0 ;
37349 char *kwnames
[] = {
37350 (char *) "rowspan",(char *) "colspan", NULL
37353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37355 arg1
= (int) SWIG_AsInt(obj0
);
37356 if (PyErr_Occurred()) SWIG_fail
;
37359 arg2
= (int) SWIG_AsInt(obj1
);
37360 if (PyErr_Occurred()) SWIG_fail
;
37363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37364 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37366 wxPyEndAllowThreads(__tstate
);
37367 if (PyErr_Occurred()) SWIG_fail
;
37369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37376 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37377 PyObject
*resultobj
;
37378 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37380 PyObject
* obj0
= 0 ;
37381 char *kwnames
[] = {
37382 (char *) "self", NULL
37385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37390 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37392 wxPyEndAllowThreads(__tstate
);
37393 if (PyErr_Occurred()) SWIG_fail
;
37395 resultobj
= SWIG_FromInt((int)result
);
37402 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37403 PyObject
*resultobj
;
37404 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37406 PyObject
* obj0
= 0 ;
37407 char *kwnames
[] = {
37408 (char *) "self", NULL
37411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37418 wxPyEndAllowThreads(__tstate
);
37419 if (PyErr_Occurred()) SWIG_fail
;
37421 resultobj
= SWIG_FromInt((int)result
);
37428 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37429 PyObject
*resultobj
;
37430 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37432 PyObject
* obj0
= 0 ;
37433 PyObject
* obj1
= 0 ;
37434 char *kwnames
[] = {
37435 (char *) "self",(char *) "rowspan", NULL
37438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37441 arg2
= (int) SWIG_AsInt(obj1
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37445 (arg1
)->SetRowspan(arg2
);
37447 wxPyEndAllowThreads(__tstate
);
37448 if (PyErr_Occurred()) SWIG_fail
;
37450 Py_INCREF(Py_None
); resultobj
= Py_None
;
37457 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37458 PyObject
*resultobj
;
37459 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37461 PyObject
* obj0
= 0 ;
37462 PyObject
* obj1
= 0 ;
37463 char *kwnames
[] = {
37464 (char *) "self",(char *) "colspan", NULL
37467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37470 arg2
= (int) SWIG_AsInt(obj1
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37474 (arg1
)->SetColspan(arg2
);
37476 wxPyEndAllowThreads(__tstate
);
37477 if (PyErr_Occurred()) SWIG_fail
;
37479 Py_INCREF(Py_None
); resultobj
= Py_None
;
37486 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37487 PyObject
*resultobj
;
37488 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37489 wxGBSpan
*arg2
= 0 ;
37492 PyObject
* obj0
= 0 ;
37493 PyObject
* obj1
= 0 ;
37494 char *kwnames
[] = {
37495 (char *) "self",(char *) "other", NULL
37498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37503 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37507 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37509 wxPyEndAllowThreads(__tstate
);
37510 if (PyErr_Occurred()) SWIG_fail
;
37513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37521 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37522 PyObject
*resultobj
;
37523 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37524 wxGBSpan
*arg2
= 0 ;
37527 PyObject
* obj0
= 0 ;
37528 PyObject
* obj1
= 0 ;
37529 char *kwnames
[] = {
37530 (char *) "self",(char *) "other", NULL
37533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37538 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37542 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37544 wxPyEndAllowThreads(__tstate
);
37545 if (PyErr_Occurred()) SWIG_fail
;
37548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37556 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37557 PyObject
*resultobj
;
37558 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37559 int arg2
= (int) 1 ;
37560 int arg3
= (int) 1 ;
37561 PyObject
* obj0
= 0 ;
37562 PyObject
* obj1
= 0 ;
37563 PyObject
* obj2
= 0 ;
37564 char *kwnames
[] = {
37565 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37572 arg2
= (int) SWIG_AsInt(obj1
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37576 arg3
= (int) SWIG_AsInt(obj2
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 wxGBSpan_Set(arg1
,arg2
,arg3
);
37583 wxPyEndAllowThreads(__tstate
);
37584 if (PyErr_Occurred()) SWIG_fail
;
37586 Py_INCREF(Py_None
); resultobj
= Py_None
;
37593 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37594 PyObject
*resultobj
;
37595 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37597 PyObject
* obj0
= 0 ;
37598 char *kwnames
[] = {
37599 (char *) "self", NULL
37602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37612 resultobj
= result
;
37619 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37622 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37624 return Py_BuildValue((char *)"");
37626 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37627 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37632 static PyObject
*_wrap_DefaultSpan_get() {
37635 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37640 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37641 PyObject
*resultobj
;
37642 wxGBSizerItem
*result
;
37643 char *kwnames
[] = {
37647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37650 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37652 wxPyEndAllowThreads(__tstate
);
37653 if (PyErr_Occurred()) SWIG_fail
;
37655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37662 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37663 PyObject
*resultobj
;
37664 wxWindow
*arg1
= (wxWindow
*) 0 ;
37665 wxGBPosition
*arg2
= 0 ;
37666 wxGBSpan
*arg3
= 0 ;
37669 wxObject
*arg6
= (wxObject
*) 0 ;
37670 wxGBSizerItem
*result
;
37671 wxGBPosition temp2
;
37673 PyObject
* obj0
= 0 ;
37674 PyObject
* obj1
= 0 ;
37675 PyObject
* obj2
= 0 ;
37676 PyObject
* obj3
= 0 ;
37677 PyObject
* obj4
= 0 ;
37678 PyObject
* obj5
= 0 ;
37679 char *kwnames
[] = {
37680 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37688 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37692 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37694 arg4
= (int) SWIG_AsInt(obj3
);
37695 if (PyErr_Occurred()) SWIG_fail
;
37696 arg5
= (int) SWIG_AsInt(obj4
);
37697 if (PyErr_Occurred()) SWIG_fail
;
37698 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37702 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37704 wxPyEndAllowThreads(__tstate
);
37705 if (PyErr_Occurred()) SWIG_fail
;
37707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37714 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37715 PyObject
*resultobj
;
37716 wxSizer
*arg1
= (wxSizer
*) 0 ;
37717 wxGBPosition
*arg2
= 0 ;
37718 wxGBSpan
*arg3
= 0 ;
37721 wxObject
*arg6
= (wxObject
*) 0 ;
37722 wxGBSizerItem
*result
;
37723 wxGBPosition temp2
;
37725 PyObject
* obj0
= 0 ;
37726 PyObject
* obj1
= 0 ;
37727 PyObject
* obj2
= 0 ;
37728 PyObject
* obj3
= 0 ;
37729 PyObject
* obj4
= 0 ;
37730 PyObject
* obj5
= 0 ;
37731 char *kwnames
[] = {
37732 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37740 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37744 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37746 arg4
= (int) SWIG_AsInt(obj3
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37748 arg5
= (int) SWIG_AsInt(obj4
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37750 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37754 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37756 wxPyEndAllowThreads(__tstate
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37766 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37767 PyObject
*resultobj
;
37770 wxGBPosition
*arg3
= 0 ;
37771 wxGBSpan
*arg4
= 0 ;
37774 wxObject
*arg7
= (wxObject
*) 0 ;
37775 wxGBSizerItem
*result
;
37776 wxGBPosition temp3
;
37778 PyObject
* obj0
= 0 ;
37779 PyObject
* obj1
= 0 ;
37780 PyObject
* obj2
= 0 ;
37781 PyObject
* obj3
= 0 ;
37782 PyObject
* obj4
= 0 ;
37783 PyObject
* obj5
= 0 ;
37784 PyObject
* obj6
= 0 ;
37785 char *kwnames
[] = {
37786 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37790 arg1
= (int) SWIG_AsInt(obj0
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37792 arg2
= (int) SWIG_AsInt(obj1
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37796 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37800 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37802 arg5
= (int) SWIG_AsInt(obj4
);
37803 if (PyErr_Occurred()) SWIG_fail
;
37804 arg6
= (int) SWIG_AsInt(obj5
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37806 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37810 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37812 wxPyEndAllowThreads(__tstate
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37822 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37823 PyObject
*resultobj
;
37824 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37825 wxGBPosition result
;
37826 PyObject
* obj0
= 0 ;
37827 char *kwnames
[] = {
37828 (char *) "self", NULL
37831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37836 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37838 wxPyEndAllowThreads(__tstate
);
37839 if (PyErr_Occurred()) SWIG_fail
;
37842 wxGBPosition
* resultptr
;
37843 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37852 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37853 PyObject
*resultobj
;
37854 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37856 PyObject
* obj0
= 0 ;
37857 char *kwnames
[] = {
37858 (char *) "self", NULL
37861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37866 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37868 wxPyEndAllowThreads(__tstate
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37872 wxGBSpan
* resultptr
;
37873 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37882 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37883 PyObject
*resultobj
;
37884 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37885 wxGBPosition
*arg2
= 0 ;
37887 wxGBPosition temp2
;
37888 PyObject
* obj0
= 0 ;
37889 PyObject
* obj1
= 0 ;
37890 char *kwnames
[] = {
37891 (char *) "self",(char *) "pos", NULL
37894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37899 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37905 wxPyEndAllowThreads(__tstate
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37917 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37918 PyObject
*resultobj
;
37919 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37920 wxGBSpan
*arg2
= 0 ;
37923 PyObject
* obj0
= 0 ;
37924 PyObject
* obj1
= 0 ;
37925 char *kwnames
[] = {
37926 (char *) "self",(char *) "span", NULL
37929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37934 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37938 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37940 wxPyEndAllowThreads(__tstate
);
37941 if (PyErr_Occurred()) SWIG_fail
;
37944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37952 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37953 PyObject
*resultobj
;
37954 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37955 wxGBSizerItem
*arg2
= 0 ;
37957 PyObject
* obj0
= 0 ;
37958 PyObject
* obj1
= 0 ;
37960 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37966 if (arg2
== NULL
) {
37967 PyErr_SetString(PyExc_TypeError
,"null reference");
37971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37972 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37974 wxPyEndAllowThreads(__tstate
);
37975 if (PyErr_Occurred()) SWIG_fail
;
37978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37986 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37987 PyObject
*resultobj
;
37988 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37989 wxGBPosition
*arg2
= 0 ;
37990 wxGBSpan
*arg3
= 0 ;
37992 wxGBPosition temp2
;
37994 PyObject
* obj0
= 0 ;
37995 PyObject
* obj1
= 0 ;
37996 PyObject
* obj2
= 0 ;
37998 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38003 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38007 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38011 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38013 wxPyEndAllowThreads(__tstate
);
38014 if (PyErr_Occurred()) SWIG_fail
;
38017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38025 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
38030 argc
= PyObject_Length(args
);
38031 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38032 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38038 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38048 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38056 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
38064 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38073 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38077 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38080 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
38086 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
38091 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38092 PyObject
*resultobj
;
38093 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38096 PyObject
* obj0
= 0 ;
38097 PyObject
* obj1
= 0 ;
38098 PyObject
* obj2
= 0 ;
38099 char *kwnames
[] = {
38100 (char *) "self",(char *) "row",(char *) "col", NULL
38103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
38107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38109 if (arg2
== NULL
) {
38110 PyErr_SetString(PyExc_TypeError
,"null reference");
38113 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
38114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38116 if (arg3
== NULL
) {
38117 PyErr_SetString(PyExc_TypeError
,"null reference");
38121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38122 (arg1
)->GetEndPos(*arg2
,*arg3
);
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 Py_INCREF(Py_None
); resultobj
= Py_None
;
38134 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38135 PyObject
*resultobj
;
38136 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38137 wxGridBagSizer
*result
;
38138 PyObject
* obj0
= 0 ;
38139 char *kwnames
[] = {
38140 (char *) "self", NULL
38143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38148 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38150 wxPyEndAllowThreads(__tstate
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38160 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38161 PyObject
*resultobj
;
38162 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38163 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38164 PyObject
* obj0
= 0 ;
38165 PyObject
* obj1
= 0 ;
38166 char *kwnames
[] = {
38167 (char *) "self",(char *) "sizer", NULL
38170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38177 (arg1
)->SetGBSizer(arg2
);
38179 wxPyEndAllowThreads(__tstate
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38182 Py_INCREF(Py_None
); resultobj
= Py_None
;
38189 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38192 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38194 return Py_BuildValue((char *)"");
38196 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38197 PyObject
*resultobj
;
38198 int arg1
= (int) 0 ;
38199 int arg2
= (int) 0 ;
38200 wxGridBagSizer
*result
;
38201 PyObject
* obj0
= 0 ;
38202 PyObject
* obj1
= 0 ;
38203 char *kwnames
[] = {
38204 (char *) "vgap",(char *) "hgap", NULL
38207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38209 arg1
= (int) SWIG_AsInt(obj0
);
38210 if (PyErr_Occurred()) SWIG_fail
;
38213 arg2
= (int) SWIG_AsInt(obj1
);
38214 if (PyErr_Occurred()) SWIG_fail
;
38217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38218 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38220 wxPyEndAllowThreads(__tstate
);
38221 if (PyErr_Occurred()) SWIG_fail
;
38223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38230 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38231 PyObject
*resultobj
;
38232 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38233 PyObject
*arg2
= (PyObject
*) 0 ;
38234 wxGBPosition
*arg3
= 0 ;
38235 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38236 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38237 int arg5
= (int) 0 ;
38238 int arg6
= (int) 0 ;
38239 PyObject
*arg7
= (PyObject
*) NULL
;
38241 wxGBPosition temp3
;
38243 PyObject
* obj0
= 0 ;
38244 PyObject
* obj1
= 0 ;
38245 PyObject
* obj2
= 0 ;
38246 PyObject
* obj3
= 0 ;
38247 PyObject
* obj4
= 0 ;
38248 PyObject
* obj5
= 0 ;
38249 PyObject
* obj6
= 0 ;
38250 char *kwnames
[] = {
38251 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38260 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38265 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38269 arg5
= (int) SWIG_AsInt(obj4
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38273 arg6
= (int) SWIG_AsInt(obj5
);
38274 if (PyErr_Occurred()) SWIG_fail
;
38280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38281 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38283 wxPyEndAllowThreads(__tstate
);
38284 if (PyErr_Occurred()) SWIG_fail
;
38287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38295 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38296 PyObject
*resultobj
;
38297 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38298 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38300 PyObject
* obj0
= 0 ;
38301 PyObject
* obj1
= 0 ;
38302 char *kwnames
[] = {
38303 (char *) "self",(char *) "item", NULL
38306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38313 result
= (bool)(arg1
)->Add(arg2
);
38315 wxPyEndAllowThreads(__tstate
);
38316 if (PyErr_Occurred()) SWIG_fail
;
38319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38327 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38328 PyObject
*resultobj
;
38329 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38331 PyObject
* obj0
= 0 ;
38332 char *kwnames
[] = {
38333 (char *) "self", NULL
38336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38341 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38343 wxPyEndAllowThreads(__tstate
);
38344 if (PyErr_Occurred()) SWIG_fail
;
38347 wxSize
* resultptr
;
38348 resultptr
= new wxSize((wxSize
&) result
);
38349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38357 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38358 PyObject
*resultobj
;
38359 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38362 PyObject
* obj0
= 0 ;
38363 PyObject
* obj1
= 0 ;
38364 char *kwnames
[] = {
38365 (char *) "self",(char *) "sz", NULL
38368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38377 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38379 wxPyEndAllowThreads(__tstate
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38382 Py_INCREF(Py_None
); resultobj
= Py_None
;
38389 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38390 PyObject
*resultobj
;
38391 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38392 wxWindow
*arg2
= (wxWindow
*) 0 ;
38393 wxGBPosition result
;
38394 PyObject
* obj0
= 0 ;
38395 PyObject
* obj1
= 0 ;
38397 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (arg1
)->GetItemPosition(arg2
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38410 wxGBPosition
* resultptr
;
38411 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38420 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38421 PyObject
*resultobj
;
38422 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38423 wxSizer
*arg2
= (wxSizer
*) 0 ;
38424 wxGBPosition result
;
38425 PyObject
* obj0
= 0 ;
38426 PyObject
* obj1
= 0 ;
38428 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38435 result
= (arg1
)->GetItemPosition(arg2
);
38437 wxPyEndAllowThreads(__tstate
);
38438 if (PyErr_Occurred()) SWIG_fail
;
38441 wxGBPosition
* resultptr
;
38442 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38451 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38452 PyObject
*resultobj
;
38453 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38455 wxGBPosition result
;
38456 PyObject
* obj0
= 0 ;
38457 PyObject
* obj1
= 0 ;
38459 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38462 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 result
= (arg1
)->GetItemPosition(arg2
);
38468 wxPyEndAllowThreads(__tstate
);
38469 if (PyErr_Occurred()) SWIG_fail
;
38472 wxGBPosition
* resultptr
;
38473 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38482 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38487 argc
= PyObject_Length(args
);
38488 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38489 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38495 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38505 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38513 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38521 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38531 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38539 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38547 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38555 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38557 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38562 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38567 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38568 PyObject
*resultobj
;
38569 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38570 wxWindow
*arg2
= (wxWindow
*) 0 ;
38571 wxGBPosition
*arg3
= 0 ;
38573 wxGBPosition temp3
;
38574 PyObject
* obj0
= 0 ;
38575 PyObject
* obj1
= 0 ;
38576 PyObject
* obj2
= 0 ;
38578 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38585 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38589 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38603 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38604 PyObject
*resultobj
;
38605 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38606 wxSizer
*arg2
= (wxSizer
*) 0 ;
38607 wxGBPosition
*arg3
= 0 ;
38609 wxGBPosition temp3
;
38610 PyObject
* obj0
= 0 ;
38611 PyObject
* obj1
= 0 ;
38612 PyObject
* obj2
= 0 ;
38614 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38621 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38625 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38627 wxPyEndAllowThreads(__tstate
);
38628 if (PyErr_Occurred()) SWIG_fail
;
38631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38639 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38640 PyObject
*resultobj
;
38641 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38643 wxGBPosition
*arg3
= 0 ;
38645 wxGBPosition temp3
;
38646 PyObject
* obj0
= 0 ;
38647 PyObject
* obj1
= 0 ;
38648 PyObject
* obj2
= 0 ;
38650 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38653 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38654 if (PyErr_Occurred()) SWIG_fail
;
38657 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38661 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38663 wxPyEndAllowThreads(__tstate
);
38664 if (PyErr_Occurred()) SWIG_fail
;
38667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38675 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38680 argc
= PyObject_Length(args
);
38681 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38682 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38688 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38698 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38707 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38710 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38719 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38729 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38738 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38741 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38750 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38758 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38761 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38764 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38770 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38775 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38776 PyObject
*resultobj
;
38777 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38778 wxWindow
*arg2
= (wxWindow
*) 0 ;
38780 PyObject
* obj0
= 0 ;
38781 PyObject
* obj1
= 0 ;
38783 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38790 result
= (arg1
)->GetItemSpan(arg2
);
38792 wxPyEndAllowThreads(__tstate
);
38793 if (PyErr_Occurred()) SWIG_fail
;
38796 wxGBSpan
* resultptr
;
38797 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38806 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38807 PyObject
*resultobj
;
38808 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38809 wxSizer
*arg2
= (wxSizer
*) 0 ;
38811 PyObject
* obj0
= 0 ;
38812 PyObject
* obj1
= 0 ;
38814 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38821 result
= (arg1
)->GetItemSpan(arg2
);
38823 wxPyEndAllowThreads(__tstate
);
38824 if (PyErr_Occurred()) SWIG_fail
;
38827 wxGBSpan
* resultptr
;
38828 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38837 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38838 PyObject
*resultobj
;
38839 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38842 PyObject
* obj0
= 0 ;
38843 PyObject
* obj1
= 0 ;
38845 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38848 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38849 if (PyErr_Occurred()) SWIG_fail
;
38851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38852 result
= (arg1
)->GetItemSpan(arg2
);
38854 wxPyEndAllowThreads(__tstate
);
38855 if (PyErr_Occurred()) SWIG_fail
;
38858 wxGBSpan
* resultptr
;
38859 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38868 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38873 argc
= PyObject_Length(args
);
38874 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38875 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38881 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38891 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38899 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38907 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38917 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38925 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38933 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38941 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38943 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38948 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38953 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38954 PyObject
*resultobj
;
38955 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38956 wxWindow
*arg2
= (wxWindow
*) 0 ;
38957 wxGBSpan
*arg3
= 0 ;
38960 PyObject
* obj0
= 0 ;
38961 PyObject
* obj1
= 0 ;
38962 PyObject
* obj2
= 0 ;
38964 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38971 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38975 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38977 wxPyEndAllowThreads(__tstate
);
38978 if (PyErr_Occurred()) SWIG_fail
;
38981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38989 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38990 PyObject
*resultobj
;
38991 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38992 wxSizer
*arg2
= (wxSizer
*) 0 ;
38993 wxGBSpan
*arg3
= 0 ;
38996 PyObject
* obj0
= 0 ;
38997 PyObject
* obj1
= 0 ;
38998 PyObject
* obj2
= 0 ;
39000 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39007 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39011 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39013 wxPyEndAllowThreads(__tstate
);
39014 if (PyErr_Occurred()) SWIG_fail
;
39017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39025 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39026 PyObject
*resultobj
;
39027 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39029 wxGBSpan
*arg3
= 0 ;
39032 PyObject
* obj0
= 0 ;
39033 PyObject
* obj1
= 0 ;
39034 PyObject
* obj2
= 0 ;
39036 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39039 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39040 if (PyErr_Occurred()) SWIG_fail
;
39043 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39047 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39049 wxPyEndAllowThreads(__tstate
);
39050 if (PyErr_Occurred()) SWIG_fail
;
39053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39061 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39066 argc
= PyObject_Length(args
);
39067 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39068 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39074 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39084 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39093 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39096 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39105 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39115 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39124 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39127 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39136 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39144 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39147 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39150 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39156 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39161 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39162 PyObject
*resultobj
;
39163 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39164 wxWindow
*arg2
= (wxWindow
*) 0 ;
39165 wxGBSizerItem
*result
;
39166 PyObject
* obj0
= 0 ;
39167 PyObject
* obj1
= 0 ;
39169 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39176 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39178 wxPyEndAllowThreads(__tstate
);
39179 if (PyErr_Occurred()) SWIG_fail
;
39181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39188 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39189 PyObject
*resultobj
;
39190 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39191 wxSizer
*arg2
= (wxSizer
*) 0 ;
39192 wxGBSizerItem
*result
;
39193 PyObject
* obj0
= 0 ;
39194 PyObject
* obj1
= 0 ;
39196 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39203 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39215 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39220 argc
= PyObject_Length(args
);
39221 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39222 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39228 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39238 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39246 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39254 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39264 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39272 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39277 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39282 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39283 PyObject
*resultobj
;
39284 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39285 wxGBPosition
*arg2
= 0 ;
39286 wxGBSizerItem
*result
;
39287 wxGBPosition temp2
;
39288 PyObject
* obj0
= 0 ;
39289 PyObject
* obj1
= 0 ;
39290 char *kwnames
[] = {
39291 (char *) "self",(char *) "pos", NULL
39294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39299 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39303 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39305 wxPyEndAllowThreads(__tstate
);
39306 if (PyErr_Occurred()) SWIG_fail
;
39308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39315 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39316 PyObject
*resultobj
;
39317 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39318 wxPoint
*arg2
= 0 ;
39319 wxGBSizerItem
*result
;
39321 PyObject
* obj0
= 0 ;
39322 PyObject
* obj1
= 0 ;
39323 char *kwnames
[] = {
39324 (char *) "self",(char *) "pt", NULL
39327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39332 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39336 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39338 wxPyEndAllowThreads(__tstate
);
39339 if (PyErr_Occurred()) SWIG_fail
;
39341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39348 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39349 PyObject
*resultobj
;
39350 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39351 wxObject
*arg2
= (wxObject
*) 0 ;
39352 wxGBSizerItem
*result
;
39353 PyObject
* obj0
= 0 ;
39354 PyObject
* obj1
= 0 ;
39355 char *kwnames
[] = {
39356 (char *) "self",(char *) "userData", NULL
39359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
39360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
39363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39366 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
39368 wxPyEndAllowThreads(__tstate
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39378 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39379 PyObject
*resultobj
;
39380 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39381 PyObject
* obj0
= 0 ;
39382 char *kwnames
[] = {
39383 (char *) "self", NULL
39386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39391 (arg1
)->RecalcSizes();
39393 wxPyEndAllowThreads(__tstate
);
39394 if (PyErr_Occurred()) SWIG_fail
;
39396 Py_INCREF(Py_None
); resultobj
= Py_None
;
39403 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39404 PyObject
*resultobj
;
39405 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39407 PyObject
* obj0
= 0 ;
39408 char *kwnames
[] = {
39409 (char *) "self", NULL
39412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39417 result
= (arg1
)->CalcMin();
39419 wxPyEndAllowThreads(__tstate
);
39420 if (PyErr_Occurred()) SWIG_fail
;
39423 wxSize
* resultptr
;
39424 resultptr
= new wxSize((wxSize
&) result
);
39425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39433 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39434 PyObject
*resultobj
;
39435 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39436 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39437 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39439 PyObject
* obj0
= 0 ;
39440 PyObject
* obj1
= 0 ;
39441 PyObject
* obj2
= 0 ;
39443 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39449 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39454 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39456 wxPyEndAllowThreads(__tstate
);
39457 if (PyErr_Occurred()) SWIG_fail
;
39460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39468 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39469 PyObject
*resultobj
;
39470 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39471 wxGBPosition
*arg2
= 0 ;
39472 wxGBSpan
*arg3
= 0 ;
39473 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39475 wxGBPosition temp2
;
39477 PyObject
* obj0
= 0 ;
39478 PyObject
* obj1
= 0 ;
39479 PyObject
* obj2
= 0 ;
39480 PyObject
* obj3
= 0 ;
39482 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39487 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39491 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39494 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39499 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39501 wxPyEndAllowThreads(__tstate
);
39502 if (PyErr_Occurred()) SWIG_fail
;
39505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39513 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39518 argc
= PyObject_Length(args
);
39519 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39520 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39522 if ((argc
>= 2) && (argc
<= 3)) {
39526 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39536 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39545 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39549 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39557 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39562 if ((argc
>= 3) && (argc
<= 4)) {
39566 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39575 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39579 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39583 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39587 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39595 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39602 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39607 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39610 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39612 return Py_BuildValue((char *)"");
39614 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39615 PyObject
*resultobj
;
39616 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39618 wxWindow
*arg3
= (wxWindow
*) 0 ;
39620 int arg5
= (int) 0 ;
39621 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39622 PyObject
* obj0
= 0 ;
39623 PyObject
* obj1
= 0 ;
39624 PyObject
* obj2
= 0 ;
39625 PyObject
* obj3
= 0 ;
39626 PyObject
* obj4
= 0 ;
39627 PyObject
* obj5
= 0 ;
39628 char *kwnames
[] = {
39629 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39635 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39636 if (PyErr_Occurred()) SWIG_fail
;
39637 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39639 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39640 if (PyErr_Occurred()) SWIG_fail
;
39642 arg5
= (int) SWIG_AsInt(obj4
);
39643 if (PyErr_Occurred()) SWIG_fail
;
39646 arg6
= (int) SWIG_AsInt(obj5
);
39647 if (PyErr_Occurred()) SWIG_fail
;
39650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39651 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39653 wxPyEndAllowThreads(__tstate
);
39654 if (PyErr_Occurred()) SWIG_fail
;
39656 Py_INCREF(Py_None
); resultobj
= Py_None
;
39663 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39664 PyObject
*resultobj
;
39665 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39666 wxWindow
*arg2
= (wxWindow
*) 0 ;
39667 int arg3
= (int) 0 ;
39668 PyObject
* obj0
= 0 ;
39669 PyObject
* obj1
= 0 ;
39670 PyObject
* obj2
= 0 ;
39671 char *kwnames
[] = {
39672 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39681 arg3
= (int) SWIG_AsInt(obj2
);
39682 if (PyErr_Occurred()) SWIG_fail
;
39685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39686 (arg1
)->LeftOf(arg2
,arg3
);
39688 wxPyEndAllowThreads(__tstate
);
39689 if (PyErr_Occurred()) SWIG_fail
;
39691 Py_INCREF(Py_None
); resultobj
= Py_None
;
39698 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39699 PyObject
*resultobj
;
39700 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39701 wxWindow
*arg2
= (wxWindow
*) 0 ;
39702 int arg3
= (int) 0 ;
39703 PyObject
* obj0
= 0 ;
39704 PyObject
* obj1
= 0 ;
39705 PyObject
* obj2
= 0 ;
39706 char *kwnames
[] = {
39707 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39716 arg3
= (int) SWIG_AsInt(obj2
);
39717 if (PyErr_Occurred()) SWIG_fail
;
39720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39721 (arg1
)->RightOf(arg2
,arg3
);
39723 wxPyEndAllowThreads(__tstate
);
39724 if (PyErr_Occurred()) SWIG_fail
;
39726 Py_INCREF(Py_None
); resultobj
= Py_None
;
39733 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39734 PyObject
*resultobj
;
39735 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39736 wxWindow
*arg2
= (wxWindow
*) 0 ;
39737 int arg3
= (int) 0 ;
39738 PyObject
* obj0
= 0 ;
39739 PyObject
* obj1
= 0 ;
39740 PyObject
* obj2
= 0 ;
39741 char *kwnames
[] = {
39742 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39751 arg3
= (int) SWIG_AsInt(obj2
);
39752 if (PyErr_Occurred()) SWIG_fail
;
39755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39756 (arg1
)->Above(arg2
,arg3
);
39758 wxPyEndAllowThreads(__tstate
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 Py_INCREF(Py_None
); resultobj
= Py_None
;
39768 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39769 PyObject
*resultobj
;
39770 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39771 wxWindow
*arg2
= (wxWindow
*) 0 ;
39772 int arg3
= (int) 0 ;
39773 PyObject
* obj0
= 0 ;
39774 PyObject
* obj1
= 0 ;
39775 PyObject
* obj2
= 0 ;
39776 char *kwnames
[] = {
39777 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39786 arg3
= (int) SWIG_AsInt(obj2
);
39787 if (PyErr_Occurred()) SWIG_fail
;
39790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39791 (arg1
)->Below(arg2
,arg3
);
39793 wxPyEndAllowThreads(__tstate
);
39794 if (PyErr_Occurred()) SWIG_fail
;
39796 Py_INCREF(Py_None
); resultobj
= Py_None
;
39803 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39804 PyObject
*resultobj
;
39805 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39806 wxWindow
*arg2
= (wxWindow
*) 0 ;
39808 int arg4
= (int) 0 ;
39809 PyObject
* obj0
= 0 ;
39810 PyObject
* obj1
= 0 ;
39811 PyObject
* obj2
= 0 ;
39812 PyObject
* obj3
= 0 ;
39813 char *kwnames
[] = {
39814 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39822 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39823 if (PyErr_Occurred()) SWIG_fail
;
39825 arg4
= (int) SWIG_AsInt(obj3
);
39826 if (PyErr_Occurred()) SWIG_fail
;
39829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39830 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39832 wxPyEndAllowThreads(__tstate
);
39833 if (PyErr_Occurred()) SWIG_fail
;
39835 Py_INCREF(Py_None
); resultobj
= Py_None
;
39842 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39843 PyObject
*resultobj
;
39844 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39845 wxWindow
*arg2
= (wxWindow
*) 0 ;
39848 PyObject
* obj0
= 0 ;
39849 PyObject
* obj1
= 0 ;
39850 PyObject
* obj2
= 0 ;
39851 PyObject
* obj3
= 0 ;
39852 char *kwnames
[] = {
39853 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39861 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39862 if (PyErr_Occurred()) SWIG_fail
;
39863 arg4
= (int) SWIG_AsInt(obj3
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39867 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39869 wxPyEndAllowThreads(__tstate
);
39870 if (PyErr_Occurred()) SWIG_fail
;
39872 Py_INCREF(Py_None
); resultobj
= Py_None
;
39879 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39880 PyObject
*resultobj
;
39881 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39883 PyObject
* obj0
= 0 ;
39884 PyObject
* obj1
= 0 ;
39885 char *kwnames
[] = {
39886 (char *) "self",(char *) "val", NULL
39889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39892 arg2
= (int) SWIG_AsInt(obj1
);
39893 if (PyErr_Occurred()) SWIG_fail
;
39895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39896 (arg1
)->Absolute(arg2
);
39898 wxPyEndAllowThreads(__tstate
);
39899 if (PyErr_Occurred()) SWIG_fail
;
39901 Py_INCREF(Py_None
); resultobj
= Py_None
;
39908 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39909 PyObject
*resultobj
;
39910 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39911 PyObject
* obj0
= 0 ;
39912 char *kwnames
[] = {
39913 (char *) "self", NULL
39916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39921 (arg1
)->Unconstrained();
39923 wxPyEndAllowThreads(__tstate
);
39924 if (PyErr_Occurred()) SWIG_fail
;
39926 Py_INCREF(Py_None
); resultobj
= Py_None
;
39933 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39934 PyObject
*resultobj
;
39935 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39936 PyObject
* obj0
= 0 ;
39937 char *kwnames
[] = {
39938 (char *) "self", NULL
39941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39948 wxPyEndAllowThreads(__tstate
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39951 Py_INCREF(Py_None
); resultobj
= Py_None
;
39958 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39959 PyObject
*resultobj
;
39960 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39962 PyObject
* obj0
= 0 ;
39963 char *kwnames
[] = {
39964 (char *) "self", NULL
39967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39972 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39974 wxPyEndAllowThreads(__tstate
);
39975 if (PyErr_Occurred()) SWIG_fail
;
39978 resultobj
= wxPyMake_wxObject(result
);
39986 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39987 PyObject
*resultobj
;
39988 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39990 PyObject
* obj0
= 0 ;
39991 char *kwnames
[] = {
39992 (char *) "self", NULL
39995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40000 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40002 wxPyEndAllowThreads(__tstate
);
40003 if (PyErr_Occurred()) SWIG_fail
;
40005 resultobj
= SWIG_FromInt((int)result
);
40012 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40013 PyObject
*resultobj
;
40014 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40016 PyObject
* obj0
= 0 ;
40017 PyObject
* obj1
= 0 ;
40018 char *kwnames
[] = {
40019 (char *) "self",(char *) "which", NULL
40022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40025 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40026 if (PyErr_Occurred()) SWIG_fail
;
40028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40029 (arg1
)->SetEdge((wxEdge
)arg2
);
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 Py_INCREF(Py_None
); resultobj
= Py_None
;
40041 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40042 PyObject
*resultobj
;
40043 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40045 PyObject
* obj0
= 0 ;
40046 PyObject
* obj1
= 0 ;
40047 char *kwnames
[] = {
40048 (char *) "self",(char *) "v", NULL
40051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40054 arg2
= (int) SWIG_AsInt(obj1
);
40055 if (PyErr_Occurred()) SWIG_fail
;
40057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40058 (arg1
)->SetValue(arg2
);
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40063 Py_INCREF(Py_None
); resultobj
= Py_None
;
40070 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
;
40072 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40074 PyObject
* obj0
= 0 ;
40075 char *kwnames
[] = {
40076 (char *) "self", NULL
40079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 result
= (int)(arg1
)->GetMargin();
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 resultobj
= SWIG_FromInt((int)result
);
40096 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40097 PyObject
*resultobj
;
40098 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40100 PyObject
* obj0
= 0 ;
40101 PyObject
* obj1
= 0 ;
40102 char *kwnames
[] = {
40103 (char *) "self",(char *) "m", NULL
40106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40109 arg2
= (int) SWIG_AsInt(obj1
);
40110 if (PyErr_Occurred()) SWIG_fail
;
40112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40113 (arg1
)->SetMargin(arg2
);
40115 wxPyEndAllowThreads(__tstate
);
40116 if (PyErr_Occurred()) SWIG_fail
;
40118 Py_INCREF(Py_None
); resultobj
= Py_None
;
40125 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40126 PyObject
*resultobj
;
40127 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40129 PyObject
* obj0
= 0 ;
40130 char *kwnames
[] = {
40131 (char *) "self", NULL
40134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40139 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40141 wxPyEndAllowThreads(__tstate
);
40142 if (PyErr_Occurred()) SWIG_fail
;
40144 resultobj
= SWIG_FromInt((int)result
);
40151 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40152 PyObject
*resultobj
;
40153 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40155 PyObject
* obj0
= 0 ;
40156 char *kwnames
[] = {
40157 (char *) "self", NULL
40160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40167 wxPyEndAllowThreads(__tstate
);
40168 if (PyErr_Occurred()) SWIG_fail
;
40170 resultobj
= SWIG_FromInt((int)result
);
40177 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40178 PyObject
*resultobj
;
40179 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40181 PyObject
* obj0
= 0 ;
40182 char *kwnames
[] = {
40183 (char *) "self", NULL
40186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40191 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40193 wxPyEndAllowThreads(__tstate
);
40194 if (PyErr_Occurred()) SWIG_fail
;
40196 resultobj
= SWIG_FromInt((int)result
);
40203 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40204 PyObject
*resultobj
;
40205 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40207 PyObject
* obj0
= 0 ;
40208 char *kwnames
[] = {
40209 (char *) "self", NULL
40212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40217 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40219 wxPyEndAllowThreads(__tstate
);
40220 if (PyErr_Occurred()) SWIG_fail
;
40223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40231 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40232 PyObject
*resultobj
;
40233 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40235 PyObject
* obj0
= 0 ;
40236 PyObject
* obj1
= 0 ;
40237 char *kwnames
[] = {
40238 (char *) "self",(char *) "d", NULL
40241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40244 arg2
= (bool) SWIG_AsBool(obj1
);
40245 if (PyErr_Occurred()) SWIG_fail
;
40247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40248 (arg1
)->SetDone(arg2
);
40250 wxPyEndAllowThreads(__tstate
);
40251 if (PyErr_Occurred()) SWIG_fail
;
40253 Py_INCREF(Py_None
); resultobj
= Py_None
;
40260 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40261 PyObject
*resultobj
;
40262 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40264 PyObject
* obj0
= 0 ;
40265 char *kwnames
[] = {
40266 (char *) "self", NULL
40269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40274 result
= (int)(arg1
)->GetRelationship();
40276 wxPyEndAllowThreads(__tstate
);
40277 if (PyErr_Occurred()) SWIG_fail
;
40279 resultobj
= SWIG_FromInt((int)result
);
40286 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40287 PyObject
*resultobj
;
40288 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40290 PyObject
* obj0
= 0 ;
40291 PyObject
* obj1
= 0 ;
40292 char *kwnames
[] = {
40293 (char *) "self",(char *) "r", NULL
40296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40299 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40303 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40305 wxPyEndAllowThreads(__tstate
);
40306 if (PyErr_Occurred()) SWIG_fail
;
40308 Py_INCREF(Py_None
); resultobj
= Py_None
;
40315 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40316 PyObject
*resultobj
;
40317 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40318 wxWindow
*arg2
= (wxWindow
*) 0 ;
40320 PyObject
* obj0
= 0 ;
40321 PyObject
* obj1
= 0 ;
40322 char *kwnames
[] = {
40323 (char *) "self",(char *) "otherW", NULL
40326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40333 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40335 wxPyEndAllowThreads(__tstate
);
40336 if (PyErr_Occurred()) SWIG_fail
;
40339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40347 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40348 PyObject
*resultobj
;
40349 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40350 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40351 wxWindow
*arg3
= (wxWindow
*) 0 ;
40353 PyObject
* obj0
= 0 ;
40354 PyObject
* obj1
= 0 ;
40355 PyObject
* obj2
= 0 ;
40356 char *kwnames
[] = {
40357 (char *) "self",(char *) "constraints",(char *) "win", NULL
40360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40365 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40369 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40371 wxPyEndAllowThreads(__tstate
);
40372 if (PyErr_Occurred()) SWIG_fail
;
40375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40383 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40384 PyObject
*resultobj
;
40385 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40387 wxWindow
*arg3
= (wxWindow
*) 0 ;
40388 wxWindow
*arg4
= (wxWindow
*) 0 ;
40390 PyObject
* obj0
= 0 ;
40391 PyObject
* obj1
= 0 ;
40392 PyObject
* obj2
= 0 ;
40393 PyObject
* obj3
= 0 ;
40394 char *kwnames
[] = {
40395 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40401 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40402 if (PyErr_Occurred()) SWIG_fail
;
40403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40405 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40409 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40411 wxPyEndAllowThreads(__tstate
);
40412 if (PyErr_Occurred()) SWIG_fail
;
40414 resultobj
= SWIG_FromInt((int)result
);
40421 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40424 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40426 return Py_BuildValue((char *)"");
40428 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40429 PyObject
*resultobj
;
40430 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40431 wxIndividualLayoutConstraint
*result
;
40432 PyObject
* obj0
= 0 ;
40433 char *kwnames
[] = {
40434 (char *) "self", NULL
40437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40440 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40449 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40450 PyObject
*resultobj
;
40451 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40452 wxIndividualLayoutConstraint
*result
;
40453 PyObject
* obj0
= 0 ;
40454 char *kwnames
[] = {
40455 (char *) "self", NULL
40458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40461 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40470 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40471 PyObject
*resultobj
;
40472 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40473 wxIndividualLayoutConstraint
*result
;
40474 PyObject
* obj0
= 0 ;
40475 char *kwnames
[] = {
40476 (char *) "self", NULL
40479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40482 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40491 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40492 PyObject
*resultobj
;
40493 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40494 wxIndividualLayoutConstraint
*result
;
40495 PyObject
* obj0
= 0 ;
40496 char *kwnames
[] = {
40497 (char *) "self", NULL
40500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40503 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40512 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40513 PyObject
*resultobj
;
40514 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40515 wxIndividualLayoutConstraint
*result
;
40516 PyObject
* obj0
= 0 ;
40517 char *kwnames
[] = {
40518 (char *) "self", NULL
40521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40524 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40533 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40534 PyObject
*resultobj
;
40535 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40536 wxIndividualLayoutConstraint
*result
;
40537 PyObject
* obj0
= 0 ;
40538 char *kwnames
[] = {
40539 (char *) "self", NULL
40542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40545 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40554 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40555 PyObject
*resultobj
;
40556 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40557 wxIndividualLayoutConstraint
*result
;
40558 PyObject
* obj0
= 0 ;
40559 char *kwnames
[] = {
40560 (char *) "self", NULL
40563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40566 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40575 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40576 PyObject
*resultobj
;
40577 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40578 wxIndividualLayoutConstraint
*result
;
40579 PyObject
* obj0
= 0 ;
40580 char *kwnames
[] = {
40581 (char *) "self", NULL
40584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40587 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40596 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40597 PyObject
*resultobj
;
40598 wxLayoutConstraints
*result
;
40599 char *kwnames
[] = {
40603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40606 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40608 wxPyEndAllowThreads(__tstate
);
40609 if (PyErr_Occurred()) SWIG_fail
;
40611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40618 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40619 PyObject
*resultobj
;
40620 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40621 wxWindow
*arg2
= (wxWindow
*) 0 ;
40622 int *arg3
= (int *) 0 ;
40625 PyObject
* obj0
= 0 ;
40626 PyObject
* obj1
= 0 ;
40627 char *kwnames
[] = {
40628 (char *) "self",(char *) "win", NULL
40632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40639 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40641 wxPyEndAllowThreads(__tstate
);
40642 if (PyErr_Occurred()) SWIG_fail
;
40645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40648 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40649 resultobj
= t_output_helper(resultobj
,o
);
40657 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40658 PyObject
*resultobj
;
40659 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40661 PyObject
* obj0
= 0 ;
40662 char *kwnames
[] = {
40663 (char *) "self", NULL
40666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40671 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40673 wxPyEndAllowThreads(__tstate
);
40674 if (PyErr_Occurred()) SWIG_fail
;
40677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40685 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40688 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40690 return Py_BuildValue((char *)"");
40692 static PyMethodDef SwigMethods
[] = {
40693 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40694 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40695 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40698 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40719 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40732 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40747 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40798 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40826 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40844 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40846 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40854 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40855 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40867 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40878 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40883 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40889 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40899 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40909 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40913 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"new_EmptyImage", _wrap_new_EmptyImage
, METH_VARARGS
},
40919 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40984 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40987 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40989 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40991 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40993 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40995 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40997 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40999 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
41001 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
41003 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
41005 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
41007 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
41021 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
41039 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
41042 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
41045 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
41057 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
41062 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
41068 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
41074 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
41136 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
41143 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41178 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41188 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41198 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41200 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41202 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41205 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41209 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41212 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41215 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41217 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41222 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41230 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41234 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41237 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41239 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41243 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41260 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41262 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41265 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41267 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41271 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41275 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41283 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41286 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41289 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41293 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41300 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41305 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41310 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41354 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41371 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41375 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41385 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41434 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41435 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction
) _wrap_Window_SetDefaultBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction
) _wrap_Window_SetDefaultForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"Window_SetDefaultFont", (PyCFunction
) _wrap_Window_SetDefaultFont
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41542 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41580 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41594 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41597 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41652 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41675 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41679 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41722 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41730 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41737 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41741 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41747 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41748 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41749 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41759 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41764 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41776 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41783 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41788 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41789 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41790 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41791 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41792 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41793 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41794 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41795 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41796 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41797 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41798 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41799 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41800 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41801 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41802 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41803 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41804 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41805 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41806 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41807 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41808 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41809 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41810 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41811 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41812 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41813 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41814 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41815 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41816 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41817 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41818 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41819 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41820 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41821 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41822 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41823 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41824 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41825 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41826 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41827 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41828 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41829 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41830 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41831 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41832 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41833 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41834 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41835 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41836 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41837 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41838 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41839 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41840 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41841 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41842 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41843 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41844 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41845 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41846 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41847 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41848 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41849 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41850 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41851 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41852 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41853 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41854 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41855 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41856 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41857 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41858 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41859 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41860 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41861 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41862 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41863 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41864 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41865 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41866 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41867 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41868 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41869 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41870 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41871 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41872 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41873 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41874 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41875 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41876 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41877 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41878 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41879 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41880 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41881 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41882 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41883 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41884 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41885 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41886 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41887 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41888 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41889 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41890 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41891 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41892 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41893 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41894 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41895 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41896 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41897 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41898 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41899 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41900 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41901 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41902 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41903 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41904 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41905 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41906 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41907 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41908 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41909 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41910 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41911 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41912 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41913 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41914 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41915 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41916 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41917 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41918 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41919 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41920 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41921 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41922 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41923 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41924 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41925 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41926 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41927 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41928 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41929 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41930 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41931 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41932 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41933 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41934 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41935 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41936 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41937 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41938 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41939 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41940 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41945 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41947 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41948 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41950 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41951 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41953 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41954 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41956 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41957 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41959 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41960 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41962 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41963 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41965 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41966 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41968 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41969 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41971 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41972 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41974 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41975 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41977 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41978 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41980 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41981 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41983 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41984 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41986 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41987 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41989 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41990 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41992 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41993 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41995 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41996 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41998 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41999 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42001 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42002 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42004 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42005 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42007 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42008 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42010 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42011 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42013 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42014 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42016 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42017 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42019 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42020 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42022 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42023 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42025 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42026 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42028 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42029 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42031 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42032 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42034 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42035 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42037 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42038 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42040 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42041 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42043 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42044 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42046 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42047 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42049 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42050 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42052 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42053 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42055 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42056 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42058 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42059 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42061 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42062 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42064 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42065 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42067 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42068 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42070 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42071 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42073 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42074 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42076 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42077 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42079 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42080 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42082 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42083 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42085 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42086 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42088 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42089 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42091 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42092 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42094 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42095 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42097 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42100 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42101 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42103 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42104 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42106 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42107 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42109 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42110 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42112 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42113 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42115 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42116 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42118 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42119 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42121 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42122 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42124 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42125 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42127 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42128 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42130 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42131 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42133 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42134 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42136 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42137 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42139 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42140 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42142 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42143 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42145 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42146 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42148 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42149 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42151 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42152 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42154 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42155 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42157 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42158 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42160 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42161 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42163 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42164 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42166 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42167 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42169 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42170 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42172 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42173 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42175 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42176 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42178 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42179 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42181 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42182 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42184 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42185 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42187 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42188 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42190 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42191 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42193 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42194 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42196 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42197 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42199 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42202 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42205 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42206 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42208 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42209 return (void *)((wxObject
*) ((wxSizer
*) x
));
42211 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42212 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42214 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42215 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42217 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42218 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42220 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42221 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42223 static void *_p_wxImageTo_p_wxObject(void *x
) {
42224 return (void *)((wxObject
*) ((wxImage
*) x
));
42226 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42227 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42229 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42232 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42233 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42235 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42236 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42238 static void *_p_wxControlTo_p_wxObject(void *x
) {
42239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42241 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42242 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42244 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42245 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42247 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42248 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42250 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42251 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42253 static void *_p_wxEventTo_p_wxObject(void *x
) {
42254 return (void *)((wxObject
*) ((wxEvent
*) x
));
42256 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42257 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42259 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42260 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42262 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42263 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42265 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42266 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42268 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42269 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42271 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42272 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42274 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42277 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42278 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42280 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42283 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42284 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42286 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42289 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42290 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42292 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42295 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42298 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42301 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42302 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42304 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42305 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42307 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42308 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42310 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42311 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42313 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42314 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42316 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42317 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42319 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42320 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42322 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42323 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42325 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42326 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42328 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42329 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42331 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42332 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42334 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42335 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42337 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42338 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42340 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42341 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42343 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42344 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42346 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42347 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42349 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42352 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42353 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42355 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42356 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42358 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42359 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42361 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42362 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42364 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42365 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42367 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42368 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42370 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42371 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42373 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42376 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42377 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42379 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42380 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42382 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42385 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42386 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42388 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42389 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42391 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42392 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42394 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42395 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42397 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42398 return (void *)((wxWindow
*) ((wxControl
*) x
));
42400 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42401 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42403 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42404 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42406 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42407 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42409 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42410 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42412 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42413 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42415 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42416 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42418 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42419 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42421 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42422 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42424 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42425 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42427 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42428 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42430 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42431 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42433 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}};
42434 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}};
42435 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}};
42436 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}};
42437 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}};
42438 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}};
42439 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}};
42440 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}};
42441 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}};
42442 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}};
42443 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}};
42444 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}};
42445 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}};
42446 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}};
42447 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}};
42448 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}};
42449 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}};
42450 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}};
42451 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}};
42452 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}};
42453 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}};
42454 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}};
42455 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}};
42456 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}};
42457 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}};
42458 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}};
42459 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}};
42460 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}};
42461 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}};
42462 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}};
42463 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}};
42464 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}};
42465 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}};
42466 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}};
42467 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}};
42468 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}};
42469 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}};
42470 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}};
42471 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}};
42472 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}};
42473 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}};
42474 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}};
42475 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}};
42476 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}};
42477 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}};
42478 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}};
42479 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}};
42480 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}};
42481 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}};
42482 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}};
42483 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}};
42484 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}};
42485 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}};
42486 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}};
42487 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}};
42488 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}};
42489 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}};
42490 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}};
42491 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}};
42492 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}};
42493 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}};
42494 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}};
42495 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}};
42496 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}};
42497 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}};
42498 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}};
42499 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}};
42500 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}};
42501 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}};
42502 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}};
42503 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}};
42504 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}};
42505 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}};
42506 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}};
42507 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}};
42508 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}};
42509 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}};
42510 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}};
42511 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}};
42512 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}};
42513 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}};
42514 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}};
42515 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}};
42516 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}};
42517 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}};
42518 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}};
42519 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}};
42520 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}};
42521 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}};
42522 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}};
42523 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}};
42524 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}};
42525 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}};
42526 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}};
42527 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}};
42528 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}};
42529 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}};
42530 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}};
42531 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}};
42532 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}};
42533 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}};
42534 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}};
42535 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}};
42536 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}};
42537 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}};
42538 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}};
42539 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}};
42540 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}};
42541 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}};
42542 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}};
42543 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}};
42544 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}};
42545 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}};
42546 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}};
42547 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}};
42549 static swig_type_info
*swig_types_initial
[] = {
42550 _swigt__p_wxLayoutConstraints
,
42551 _swigt__p_wxRealPoint
,
42552 _swigt__p_wxSizerItem
,
42553 _swigt__p_wxGBSizerItem
,
42554 _swigt__p_wxScrollEvent
,
42555 _swigt__p_wxIndividualLayoutConstraint
,
42557 _swigt__p_wxBoxSizer
,
42558 _swigt__p_wxStaticBoxSizer
,
42559 _swigt__p_wxGridBagSizer
,
42560 _swigt__p_wxAcceleratorEntry
,
42561 _swigt__p_wxUpdateUIEvent
,
42564 _swigt__p_wxGridSizer
,
42565 _swigt__p_wxFlexGridSizer
,
42566 _swigt__p_wxInitDialogEvent
,
42567 _swigt__p_wxItemContainer
,
42568 _swigt__p_wxNcPaintEvent
,
42569 _swigt__p_wxPaintEvent
,
42570 _swigt__p_wxSysColourChangedEvent
,
42571 _swigt__p_wxMouseCaptureChangedEvent
,
42572 _swigt__p_wxDisplayChangedEvent
,
42573 _swigt__p_wxPaletteChangedEvent
,
42574 _swigt__p_wxControl
,
42576 _swigt__p_wxMenuBarBase
,
42577 _swigt__p_wxSetCursorEvent
,
42578 _swigt__p_wxFSFile
,
42580 _swigt__p_wxRegion
,
42581 _swigt__p_wxPoint2D
,
42585 _swigt__p_wxPySizer
,
42586 _swigt__p_wxVisualAttributes
,
42587 _swigt__p_wxNotifyEvent
,
42588 _swigt__p_wxPyEvent
,
42589 _swigt__p_wxPropagationDisabler
,
42590 _swigt__p_wxAppTraits
,
42591 _swigt__p_wxArrayString
,
42592 _swigt__p_wxShowEvent
,
42593 _swigt__p_wxToolTip
,
42594 _swigt__p_wxMaximizeEvent
,
42595 _swigt__p_wxIconizeEvent
,
42596 _swigt__p_wxActivateEvent
,
42597 _swigt__p_wxMoveEvent
,
42598 _swigt__p_wxSizeEvent
,
42599 _swigt__p_wxQueryNewPaletteEvent
,
42600 _swigt__p_wxWindowCreateEvent
,
42601 _swigt__p_wxIdleEvent
,
42602 _swigt__p_wxMenuItem
,
42603 _swigt__p_wxStaticBox
,
42605 _swigt__p_wxTIFFHandler
,
42606 _swigt__p_wxXPMHandler
,
42607 _swigt__p_wxPNMHandler
,
42608 _swigt__p_wxJPEGHandler
,
42609 _swigt__p_wxPCXHandler
,
42610 _swigt__p_wxGIFHandler
,
42611 _swigt__p_wxPNGHandler
,
42612 _swigt__p_wxANIHandler
,
42613 _swigt__p_wxMemoryFSHandler
,
42614 _swigt__p_wxEvtHandler
,
42615 _swigt__p_wxCURHandler
,
42616 _swigt__p_wxICOHandler
,
42617 _swigt__p_wxBMPHandler
,
42618 _swigt__p_wxImageHandler
,
42619 _swigt__p_wxFileSystemHandler
,
42620 _swigt__p_wxPyFileSystemHandler
,
42621 _swigt__p_wxInternetFSHandler
,
42622 _swigt__p_wxZipFSHandler
,
42624 _swigt__p_wxGBSpan
,
42625 _swigt__p_wxPropagateOnce
,
42626 _swigt__p_wxAcceleratorTable
,
42628 _swigt__p_wxGBPosition
,
42631 _swigt__p_wxScrollWinEvent
,
42632 _swigt__p_wxImageHistogram
,
42635 _swigt__p_wxCursor
,
42636 _swigt__p_wxObject
,
42637 _swigt__p_wxPyInputStream
,
42638 _swigt__p_wxOutputStream
,
42639 _swigt__p_wxInputStream
,
42640 _swigt__p_wxDateTime
,
42641 _swigt__p_wxKeyEvent
,
42642 _swigt__p_wxNavigationKeyEvent
,
42643 _swigt__p_wxWindowDestroyEvent
,
42644 _swigt__p_wxWindow
,
42645 _swigt__p_wxMenuBar
,
42646 _swigt__p_wxFileSystem
,
42647 _swigt__p_wxBitmap
,
42648 _swigt__p_wxMenuEvent
,
42649 _swigt__p_wxContextMenuEvent
,
42650 _swigt__p_unsigned_char
,
42651 _swigt__p_wxCloseEvent
,
42652 _swigt__p_wxEraseEvent
,
42653 _swigt__p_wxMouseEvent
,
42655 _swigt__p_wxCommandEvent
,
42656 _swigt__p_wxPyCommandEvent
,
42657 _swigt__p_wxPyDropTarget
,
42658 _swigt__p_wxChildFocusEvent
,
42659 _swigt__p_wxFocusEvent
,
42660 _swigt__p_wxDropFilesEvent
,
42661 _swigt__p_wxControlWithItems
,
42662 _swigt__p_wxColour
,
42663 _swigt__p_wxValidator
,
42664 _swigt__p_wxPyValidator
,
42669 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42671 static swig_const_info swig_const_table
[] = {
42681 SWIGEXPORT(void) SWIG_init(void) {
42682 static PyObject
*SWIG_globals
= 0;
42683 static int typeinit
= 0;
42686 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42687 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42688 d
= PyModule_GetDict(m
);
42691 for (i
= 0; swig_types_initial
[i
]; i
++) {
42692 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42696 SWIG_InstallConstants(d
,swig_const_table
);
42699 #ifndef wxPyUSE_EXPORT
42700 // Make our API structure a CObject so other modules can import it
42701 // from this module.
42702 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42703 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42707 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42708 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42709 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42710 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42711 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42712 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42713 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42714 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42715 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42716 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42717 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42718 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42719 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42720 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42721 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42722 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42723 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42724 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42725 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42726 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42727 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42728 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42729 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42730 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42731 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42732 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42733 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42734 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42735 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42736 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42737 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42738 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42739 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42740 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42741 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42742 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42743 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42744 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42745 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42746 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42747 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42748 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42749 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42750 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42751 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42752 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42753 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42754 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42755 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42756 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42757 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42758 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42759 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42760 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42761 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42762 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42763 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42764 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42765 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42766 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42767 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42768 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42769 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42770 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42771 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42772 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42773 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42774 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42775 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42776 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42777 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42778 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42779 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42780 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42781 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42782 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42783 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42784 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42785 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42786 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42787 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42788 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42789 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42790 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42791 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42792 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42793 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42794 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42795 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42796 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42797 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42798 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42799 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42800 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42801 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42802 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42803 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42804 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42805 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42806 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42807 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42808 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42809 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42810 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42811 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42812 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42813 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42814 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42815 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42816 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42817 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42818 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42819 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42820 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42821 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42822 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42823 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42824 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42825 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42826 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42827 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42828 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42829 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42830 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42831 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42832 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42833 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42834 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42835 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42836 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42837 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42838 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42839 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42840 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42841 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42842 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42843 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42844 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42845 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42846 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42847 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42848 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42849 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42850 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42851 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42852 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42853 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42854 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42855 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42856 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42857 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42858 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42859 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42860 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42861 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42862 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42863 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42864 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42865 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42866 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42867 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42868 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42869 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42870 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42871 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42872 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42873 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42874 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42875 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42876 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42877 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42878 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42879 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42880 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42881 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42882 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42883 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42884 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42885 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42886 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42887 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42888 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42889 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42890 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42891 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42892 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42893 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42894 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42895 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42896 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42897 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42898 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42899 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42900 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42901 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42902 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42903 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42904 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42905 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42906 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42907 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42908 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42909 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42910 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42911 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42912 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42913 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42914 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42915 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42916 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42917 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42918 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42919 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42920 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42921 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42922 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42923 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42924 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42925 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42926 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42927 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42928 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42929 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42930 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42931 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42932 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42933 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42934 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42935 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42936 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42937 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42938 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42939 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42940 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42941 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42942 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42943 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42944 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42945 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42946 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42947 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42948 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42949 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42950 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42951 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42952 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42953 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42954 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42955 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42956 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42957 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42958 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42959 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42960 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42961 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42962 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42963 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42964 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42965 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42966 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42967 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42968 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42969 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42970 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42971 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42972 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42973 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42974 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42975 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42976 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42977 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42978 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42979 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42980 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42981 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42982 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42983 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42984 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42985 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42986 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42987 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42988 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42989 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42990 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42991 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42992 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42993 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42994 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42995 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42996 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42997 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42998 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42999 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
43000 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
43001 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
43002 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
43003 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
43004 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
43005 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
43006 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
43007 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
43008 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
43009 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
43010 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
43011 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
43012 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
43013 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
43014 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
43015 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
43016 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
43017 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
43018 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
43019 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
43020 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
43021 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
43022 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
43023 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
43024 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
43025 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
43026 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
43027 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
43028 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
43029 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
43030 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
43031 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
43032 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
43033 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
43034 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
43035 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
43036 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
43037 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
43038 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
43039 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
43040 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
43041 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
43042 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
43043 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
43044 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
43045 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
43046 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
43047 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
43048 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
43049 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
43050 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
43051 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
43052 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
43053 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
43054 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
43055 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
43056 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
43057 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
43058 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
43059 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
43060 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
43061 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
43062 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
43063 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
43064 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
43065 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
43066 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
43067 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
43068 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
43069 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
43070 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
43071 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
43072 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
43073 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
43074 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
43075 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
43076 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
43077 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
43078 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
43079 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
43080 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
43081 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
43082 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
43083 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
43084 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
43085 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
43086 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
43087 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
43088 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
43089 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
43090 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
43091 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
43092 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
43093 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
43094 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
43095 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
43096 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
43097 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
43098 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
43099 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
43100 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
43101 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
43102 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
43103 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
43104 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
43105 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
43106 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
43107 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
43108 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
43109 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
43110 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
43111 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
43112 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
43113 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
43114 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
43115 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
43116 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
43117 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
43118 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
43119 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
43120 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
43121 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
43122 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
43123 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
43124 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
43125 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
43126 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
43127 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
43128 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
43129 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
43130 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
43131 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
43132 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
43133 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
43134 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
43135 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
43136 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
43137 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
43138 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
43139 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
43140 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
43141 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
43142 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
43143 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
43144 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
43145 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
43146 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
43147 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
43148 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
43149 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43150 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43151 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43152 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43153 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43154 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43155 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43156 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43157 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43158 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43159 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43160 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43161 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43162 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43163 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43164 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43165 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43166 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43167 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43168 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43169 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43170 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43171 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43172 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43173 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43174 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43175 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43176 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43177 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43178 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43179 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43180 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43181 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43182 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43183 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43184 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43185 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43186 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43187 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43188 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43189 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43190 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43191 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43192 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43193 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43194 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43195 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43196 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43197 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43198 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43199 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43200 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43201 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43202 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43203 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43204 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43205 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43206 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43207 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43208 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43209 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43210 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43211 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43212 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43213 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43214 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43215 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43216 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43217 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43218 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43219 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43220 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43221 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43222 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43223 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43224 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43225 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43226 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43227 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43228 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43229 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43230 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43231 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43232 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43233 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43234 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43235 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43236 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43237 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43238 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43239 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43240 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43241 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43242 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43243 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43244 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43245 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43246 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43247 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43248 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43249 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43250 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43251 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43252 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43253 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43254 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43255 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43256 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43257 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43258 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43259 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43260 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43261 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43262 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43263 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43264 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43265 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43266 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43267 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43268 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43269 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43270 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43271 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43272 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43273 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43274 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43275 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43276 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43277 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43278 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43280 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43283 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43285 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43286 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43287 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43288 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43289 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43290 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43291 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43292 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43293 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43294 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43295 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43296 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43297 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43298 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43299 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43300 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43301 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43302 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43303 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43304 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43305 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43306 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43307 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43308 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43309 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43310 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43311 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43312 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43313 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43314 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43315 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43316 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43317 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43318 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43319 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43320 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43321 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43322 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43323 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43324 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43325 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43326 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43327 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43328 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43329 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43330 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43331 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43332 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43333 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43334 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43335 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43336 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43337 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43338 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43339 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43340 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43341 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43342 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43343 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43344 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43345 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43346 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43347 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43348 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43349 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43350 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43351 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43352 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43353 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43354 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43355 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43356 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43357 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43358 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43359 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43360 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43361 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43362 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43363 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43364 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43365 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43366 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43367 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43368 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43369 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43370 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43371 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43372 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43373 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43374 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43375 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43376 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43377 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43378 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43379 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43380 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43381 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43382 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43383 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43384 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43385 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43386 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43387 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43388 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43389 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43390 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43391 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43392 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43393 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43394 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43395 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43396 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43397 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43398 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43399 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43400 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43401 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43402 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43403 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43404 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43405 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43406 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43407 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43408 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43409 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43410 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43413 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43414 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43415 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43416 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43417 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43418 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43419 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43420 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43421 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43422 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43423 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43424 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43425 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43426 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43427 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43428 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43429 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43430 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43431 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43432 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43433 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43434 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43435 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43436 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43437 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43438 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43439 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43440 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43441 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43442 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43443 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43444 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43445 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43446 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43447 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43448 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43449 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43450 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43451 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43452 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43453 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43454 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43455 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43456 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43457 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43458 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43459 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43460 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43461 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43462 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43463 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43464 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43466 // Initialize threading, some globals and such
43470 // Although these are defined in __version__ they need to be here too so
43471 // that an assert can be done to ensure that the wxPython and the wxWindows
43473 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43474 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43475 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));