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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
234 #define SWIGTYPE_p_wxRealPoint swig_types[1]
235 #define SWIGTYPE_p_wxSizerItem swig_types[2]
236 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
237 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
238 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
239 #define SWIGTYPE_p_wxSizer swig_types[6]
240 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
241 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
242 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
243 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
244 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
245 #define SWIGTYPE_p_wxMenu swig_types[12]
246 #define SWIGTYPE_p_wxEvent swig_types[13]
247 #define SWIGTYPE_p_wxGridSizer swig_types[14]
248 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
249 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
250 #define SWIGTYPE_p_wxItemContainer swig_types[17]
251 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
252 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
253 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
254 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
255 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
256 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
257 #define SWIGTYPE_p_wxControl swig_types[24]
258 #define SWIGTYPE_p_wxFont swig_types[25]
259 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
260 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
261 #define SWIGTYPE_p_wxFSFile swig_types[28]
262 #define SWIGTYPE_p_wxCaret swig_types[29]
263 #define SWIGTYPE_p_wxRegion swig_types[30]
264 #define SWIGTYPE_p_wxPoint2D swig_types[31]
265 #define SWIGTYPE_p_int swig_types[32]
266 #define SWIGTYPE_p_wxSize swig_types[33]
267 #define SWIGTYPE_p_wxDC swig_types[34]
268 #define SWIGTYPE_p_wxPySizer swig_types[35]
269 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyEvent swig_types[37]
271 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
272 #define SWIGTYPE_p_wxAppTraits swig_types[39]
273 #define SWIGTYPE_p_wxArrayString swig_types[40]
274 #define SWIGTYPE_p_wxShowEvent swig_types[41]
275 #define SWIGTYPE_p_wxToolTip swig_types[42]
276 #define SWIGTYPE_p_wxIconizeEvent swig_types[43]
277 #define SWIGTYPE_p_wxActivateEvent swig_types[44]
278 #define SWIGTYPE_p_wxMoveEvent swig_types[45]
279 #define SWIGTYPE_p_wxSizeEvent swig_types[46]
280 #define SWIGTYPE_p_wxMaximizeEvent swig_types[47]
281 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
282 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
283 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
284 #define SWIGTYPE_p_wxMenuItem swig_types[51]
285 #define SWIGTYPE_p_wxStaticBox swig_types[52]
286 #define SWIGTYPE_p_long swig_types[53]
287 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
288 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
289 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
290 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
291 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
292 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
293 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
294 #define SWIGTYPE_p_wxANIHandler swig_types[61]
295 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
296 #define SWIGTYPE_p_wxZipFSHandler swig_types[63]
297 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
298 #define SWIGTYPE_p_wxCURHandler swig_types[65]
299 #define SWIGTYPE_p_wxICOHandler swig_types[66]
300 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
301 #define SWIGTYPE_p_wxImageHandler swig_types[68]
302 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
303 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
304 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
305 #define SWIGTYPE_p_wxRect swig_types[72]
306 #define SWIGTYPE_p_wxGBSpan swig_types[73]
307 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
308 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
309 #define SWIGTYPE_p_char swig_types[76]
310 #define SWIGTYPE_p_wxGBPosition swig_types[77]
311 #define SWIGTYPE_p_wxImage swig_types[78]
312 #define SWIGTYPE_p_wxFrame swig_types[79]
313 #define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
314 #define SWIGTYPE_p_wxImageHistogram swig_types[81]
315 #define SWIGTYPE_p_byte swig_types[82]
316 #define SWIGTYPE_p_wxPoint swig_types[83]
317 #define SWIGTYPE_p_wxCursor swig_types[84]
318 #define SWIGTYPE_p_wxObject swig_types[85]
319 #define SWIGTYPE_p_wxPyInputStream swig_types[86]
320 #define SWIGTYPE_p_wxOutputStream swig_types[87]
321 #define SWIGTYPE_p_wxInputStream swig_types[88]
322 #define SWIGTYPE_p_wxDateTime swig_types[89]
323 #define SWIGTYPE_p_wxKeyEvent swig_types[90]
324 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
325 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
326 #define SWIGTYPE_p_wxWindow swig_types[93]
327 #define SWIGTYPE_p_wxMenuBar swig_types[94]
328 #define SWIGTYPE_p_wxString swig_types[95]
329 #define SWIGTYPE_p_wxFileSystem swig_types[96]
330 #define SWIGTYPE_p_wxBitmap swig_types[97]
331 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
332 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
333 #define SWIGTYPE_p_unsigned_char swig_types[100]
334 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
335 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
336 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
337 #define SWIGTYPE_p_wxPyApp swig_types[104]
338 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
339 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
340 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
341 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
342 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
343 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
344 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
345 #define SWIGTYPE_p_wxColour swig_types[112]
346 #define SWIGTYPE_p_wxValidator swig_types[113]
347 #define SWIGTYPE_p_wxPyValidator swig_types[114]
348 static swig_type_info
*swig_types
[116];
350 /* -------- TYPES TABLE (END) -------- */
353 /*-----------------------------------------------
355 ------------------------------------------------*/
356 #define SWIG_init init_core
358 #define SWIG_name "_core"
366 #define SWIGSTATIC(a) static inline a
368 #define SWIGSTATIC(a) static a
374 #ifdef HAVE_NUMERIC_CAST
375 #define numeric_cast(type,a) numeric_cast<type>(a)
377 #define numeric_cast(type,a) static_cast<type>(a)
380 #define numeric_cast(type,a) (type)(a)
386 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
387 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
388 #define SWIG_PyObj_FromShort PyInt_FromLong
389 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
390 #define SWIG_PyObj_FromInt PyInt_FromLong
391 #define SWIG_PyObj_FromLong PyInt_FromLong
392 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
393 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
394 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
395 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
398 #include "wx/wxPython/wxPython_int.h"
399 #include "wx/wxPython/pyclasses.h"
402 #ifndef wxPyUSE_EXPORT
403 // Helper functions for dealing with SWIG objects and such. These are
404 // located here so they know about the SWIG types and functions declared
405 // in the wrapper code.
407 #include <wx/hashmap.h>
408 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
411 // Maintains a hashmap of className to swig_type_info pointers. Given the
412 // name of a class either looks up the type info in the cache, or scans the
413 // SWIG tables for it.
414 extern PyObject
* wxPyPtrTypeMap
;
416 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
418 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
420 if (typeInfoCache
== NULL
)
421 typeInfoCache
= new wxPyTypeInfoHashMap
;
423 wxString
name(className
);
424 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
427 // it wasn't in the cache, so look it up from SWIG
428 name
.Append(wxT(" *"));
429 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
431 // if it still wasn't found, try looking for a mapped name
436 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
437 (char*)(const char*)name
.mbc_str())) != NULL
) {
438 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
439 name
.Append(wxT(" *"));
440 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
444 // and add it to the map if found
445 (*typeInfoCache
)[className
] = swigType
;
452 // Check if a class name is a type known to SWIG
453 bool wxPyCheckSwigType(const wxChar
* className
) {
455 swig_type_info
* swigType
= wxPyFindSwigType(className
);
456 return swigType
!= NULL
;
460 // Given a pointer to a C++ object and a class name, construct a Python proxy
462 PyObject
* wxPyConstructObject(void* ptr
,
463 const wxChar
* className
,
466 swig_type_info
* swigType
= wxPyFindSwigType(className
);
467 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
469 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
473 // Extract a pointer to the wrapped C++ object from a Python proxy object.
474 // Ensures that the proxy object is of the specified (or derived) type. If
475 // not able to perform the conversion then a Python exception is set and the
476 // error should be handled properly in the caller. Returns True on success.
477 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
478 const wxChar
* className
) {
480 swig_type_info
* swigType
= wxPyFindSwigType(className
);
481 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
483 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
487 // Make a SWIGified pointer object suitable for a .this attribute
488 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
490 PyObject
* robj
= NULL
;
492 swig_type_info
* swigType
= wxPyFindSwigType(className
);
493 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
495 #ifdef SWIG_COBJECT_TYPES
496 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
502 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
503 strcpy(r
, swigType
->name
);
504 robj
= PyString_FromString(result
);
514 // Export a C API in a struct. Other modules will be able to load this from
515 // the wx.core module and will then have safe access to these functions, even if
516 // they are located in another shared library.
517 static wxPyCoreAPI API
= {
519 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
520 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
521 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
522 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
523 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
524 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
525 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
526 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
527 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
528 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
529 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
530 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
531 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
532 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
533 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
534 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
535 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
537 (p_SWIG_PyObj_AsCharPtr_t
)SWIG_PyObj_AsCharPtr
,
538 (p_SWIG_PyObj_FromCharPtr_t
)SWIG_PyObj_FromCharPtr
,
539 (p_SWIG_PyObj_AsUnsignedLong_t
)SWIG_PyObj_AsUnsignedLong
,
540 (p_SWIG_PyObj_AsLongInRange_t
)SWIG_PyObj_AsLongInRange
,
541 (p_SWIG_PyObj_AsUnsignedLongInRange_t
)SWIG_PyObj_AsUnsignedLongInRange
,
542 (p_SWIG_PyObj_AsNewCharPtr_t
)SWIG_PyObj_AsNewCharPtr
,
543 (p_SWIG_PyObj_AsCharPtrAndSize_t
)SWIG_PyObj_AsCharPtrAndSize
,
544 (p_SWIG_PyObj_AsCharArray_t
)SWIG_PyObj_AsCharArray
,
545 (p_SWIG_PyObj_FromCharArray_t
)SWIG_PyObj_FromCharArray
,
546 (p_SWIG_PyObj_AsFloatConv_t
)SWIG_PyObj_AsFloatConv
,
553 wxPyBeginAllowThreads
,
555 wxPyBeginBlockThreads
,
569 wxBitmap_LIST_helper
,
570 wxString_LIST_helper
,
571 wxAcceleratorEntry_LIST_helper
,
580 wxPySimple_typecheck
,
583 wxPyCBH_setCallbackInfo
,
584 wxPyCBH_findCallback
,
585 wxPyCBH_callCallback
,
586 wxPyCBH_callCallbackObj
,
594 wxArrayString2PyList_helper
,
595 wxArrayInt2PyList_helper
,
599 wxPyOORClientData_dtor
,
601 wxPyCBInputStream_create
,
604 wxPySwigInstance_Check
612 enum wxHotkeyModifier
620 #define wxEVT_HOTKEY 9999
623 static const wxString
wxPyEmptyString(wxEmptyString
);
624 wxString
wxObject_GetClassName(wxObject
*self
){
625 return self
->GetClassInfo()->GetClassName();
627 void wxObject_Destroy(wxObject
*self
){
632 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
637 SWIG_PyObj_AsInt(PyObject
*obj
)
639 return numeric_cast(int,
640 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
644 SWIGSTATIC(PyObject
*)
645 SWIG_PyObj_FromBool(bool value
)
647 PyObject
*obj
= value
? Py_True
: Py_False
;
652 PyObject
*wxSize_Get(wxSize
*self
){
653 wxPyBeginBlockThreads();
654 PyObject
* tup
= PyTuple_New(2);
655 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
656 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
657 wxPyEndBlockThreads();
662 SWIG_PyObj_AsDouble(PyObject
*obj
)
664 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
666 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
668 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
670 if (PyErr_Occurred()) {
672 PyErr_SetString(PyExc_TypeError
, "a double is expected");
676 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
680 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
681 wxPyBeginBlockThreads();
682 PyObject
* tup
= PyTuple_New(2);
683 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
684 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
685 wxPyEndBlockThreads();
690 SWIG_PyObj_AsLong(PyObject
* obj
)
692 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
695 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
699 PyObject
*wxPoint_Get(wxPoint
*self
){
700 wxPyBeginBlockThreads();
701 PyObject
* tup
= PyTuple_New(2);
702 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
703 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
704 wxPyEndBlockThreads();
707 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
711 self
->height
= height
;
713 PyObject
*wxRect_Get(wxRect
*self
){
714 wxPyBeginBlockThreads();
715 PyObject
* tup
= PyTuple_New(4);
716 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
717 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
718 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
719 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
720 wxPyEndBlockThreads();
724 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
727 wxRect
dest(0,0,0,0);
730 reg1
.Intersect(reg2
);
731 dest
= reg1
.GetBox();
733 if (dest
!= wxRect(0,0,0,0)) {
734 wxPyBeginBlockThreads();
735 wxRect
* newRect
= new wxRect(dest
);
736 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
737 wxPyEndBlockThreads();
745 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
751 } else if (target
== Py_None
) {
755 if (!PyTuple_Check(target
)) {
757 target
= PyTuple_New(1);
758 PyTuple_SetItem(target
, 0, o2
);
761 PyTuple_SetItem(o3
, 0, o
);
764 target
= PySequence_Concat(o2
, o3
);
771 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
775 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
776 wxPyBeginBlockThreads();
777 PyObject
* tup
= PyTuple_New(2);
778 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
779 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
780 wxPyEndBlockThreads();
784 #include "wx/wxPython/pyistream.h"
786 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
787 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
789 return new wxPyInputStream(wxis
);
794 SWIGSTATIC(PyObject
*)
795 SWIG_PyObj_FromChar(char c
)
797 return PyString_FromStringAndSize(&c
,1);
801 SWIGSTATIC(PyObject
* )
802 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
804 return (value
> (unsigned long)(LONG_MAX
)) ?
805 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
810 SWIG_PyObj_AsChar(PyObject
*obj
)
813 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
814 c
= numeric_cast(char,
815 SWIG_PyObj_AsLongInRange(obj
, "char",CHAR_MIN
, CHAR_MAX
));
817 char* cptr
; size_t csize
;
818 SWIG_PyObj_AsCharPtrAndSize(obj
, 0, &cptr
, &csize
);
822 PyErr_SetString(PyExc_TypeError
, "a char is expected");
828 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
829 // We use only strings for the streams, not unicode
830 PyObject
* str
= PyObject_Str(obj
);
832 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
835 self
->Write(PyString_AS_STRING(str
),
836 PyString_GET_SIZE(str
));
840 #include "wx/wxPython/pyistream.h"
843 class wxPyFileSystemHandler
: public wxFileSystemHandler
846 wxPyFileSystemHandler() : wxFileSystemHandler() {}
848 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
849 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
850 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
851 DEC_PYCALLBACK_STRING__pure(FindNext
);
853 wxString
GetProtocol(const wxString
& location
) {
854 return wxFileSystemHandler::GetProtocol(location
);
857 wxString
GetLeftLocation(const wxString
& location
) {
858 return wxFileSystemHandler::GetLeftLocation(location
);
861 wxString
GetAnchor(const wxString
& location
) {
862 return wxFileSystemHandler::GetAnchor(location
);
865 wxString
GetRightLocation(const wxString
& location
) {
866 return wxFileSystemHandler::GetRightLocation(location
);
869 wxString
GetMimeTypeFromExt(const wxString
& location
) {
870 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
877 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
878 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
879 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
880 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
884 SWIG_PyObj_AsBool(PyObject
*obj
)
886 return PyObject_IsTrue(obj
) ? true : false;
890 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
891 wxFileName fname
= wxFileSystem::URLToFileName(url
);
892 return fname
.GetFullPath();
896 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
899 wxMemoryFSHandler::AddFile(filename
, image
, type
);
902 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
903 const wxBitmap
& bitmap
,
905 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
908 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
910 wxMemoryFSHandler::AddFile(filename
,
911 // TODO: Verify data type
912 (void*)PyString_AsString(data
),
913 (size_t)PyString_Size(data
));
917 #include "wx/wxPython/pyistream.h"
920 SWIGSTATIC(unsigned char)
921 SWIG_PyObj_AsUnsignedChar(PyObject
*obj
)
923 return numeric_cast(unsigned char,
924 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned char", UCHAR_MAX
));
927 wxImage
*new_wxImage(int width
,int height
,bool clear
){
928 if (width
> 0 && height
> 0)
929 return new wxImage(width
, height
, clear
);
933 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
934 return new wxImage(bitmap
.ConvertToImage());
936 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
937 // Copy the source data so the wxImage can clean it up later
938 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
943 memcpy(copy
, data
, width
*height
*3);
944 return new wxImage(width
, height
, copy
, False
);
946 PyObject
*wxImage_GetData(wxImage
*self
){
947 unsigned char* data
= self
->GetData();
948 int len
= self
->GetWidth() * self
->GetHeight() * 3;
950 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
953 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
954 unsigned char* dataPtr
;
956 if (! PyString_Check(data
)) {
957 PyErr_SetString(PyExc_TypeError
, "Expected string object");
961 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
962 dataPtr
= (unsigned char*) malloc(len
);
963 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
964 self
->SetData(dataPtr
);
965 // wxImage takes ownership of dataPtr...
967 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
968 unsigned char* data
= self
->GetData();
969 int len
= self
->GetWidth() * self
->GetHeight() * 3;
971 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
974 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
975 unsigned char* buffer
;
978 wxPyBeginBlockThreads();
979 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
982 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
983 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
986 self
->SetData(buffer
);
988 wxPyEndBlockThreads();
990 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
991 unsigned char* data
= self
->GetAlpha();
995 int len
= self
->GetWidth() * self
->GetHeight();
997 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1001 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1002 unsigned char* dataPtr
;
1004 if (! PyString_Check(data
)) {
1005 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1009 size_t len
= self
->GetWidth() * self
->GetHeight();
1010 dataPtr
= (unsigned char*) malloc(len
);
1011 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1012 self
->SetAlpha(dataPtr
);
1013 // wxImage takes ownership of dataPtr...
1015 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1016 unsigned char* data
= self
->GetAlpha();
1017 int len
= self
->GetWidth() * self
->GetHeight();
1019 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1022 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1023 unsigned char* buffer
;
1026 wxPyBeginBlockThreads();
1027 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1030 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1031 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1034 self
->SetAlpha(buffer
);
1036 wxPyEndBlockThreads();
1038 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1039 wxBitmap
bitmap(*self
);
1042 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1043 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1044 wxBitmap
bitmap( mono
, 1 );
1047 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1048 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1049 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1050 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1051 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1052 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1053 if (PyCallable_Check(func
)) {
1054 self
->Connect(id
, lastId
, eventType
,
1055 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1056 new wxPyCallback(func
));
1058 else if (func
== Py_None
) {
1059 self
->Disconnect(id
, lastId
, eventType
,
1060 (wxObjectEventFunction
)
1061 &wxPyCallback::EventThunker
);
1064 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1067 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1068 return self
->Disconnect(id
, lastId
, eventType
,
1069 (wxObjectEventFunction
)
1070 &wxPyCallback::EventThunker
);
1072 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1073 if (_self
&& _self
!= Py_None
) {
1074 self
->SetClientObject(new wxPyOORClientData(_self
));
1077 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1079 self
->SetClientObject(NULL
); // This will delete it too
1083 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1085 return self
->m_uniChar
;
1091 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
1094 SWIGSTATIC(unsigned int)
1095 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
1097 return numeric_cast(unsigned int,
1098 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
1101 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1102 self
->m_size
= size
;
1104 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1107 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1108 int count
= self
->GetNumberOfFiles();
1109 wxString
* files
= self
->GetFiles();
1110 PyObject
* list
= PyList_New(count
);
1113 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1117 for (int i
=0; i
<count
; i
++) {
1118 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1124 wxPyApp
*new_wxPyApp(){
1125 wxPythonApp
= new wxPyApp();
1129 void wxApp_CleanUp() {
1134 wxPyApp
* wxGetApp() {
1135 return (wxPyApp
*)wxTheApp
;
1140 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1141 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1142 wxWindowList
& list
= self
->GetChildren();
1143 return wxPy_ConvertList(&list
);
1145 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1152 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1159 long wxWindow_GetHandle(wxWindow
*self
){
1160 return wxPyGetWinHandle(self
);
1163 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1164 return wxWindow::FindWindowById(id
, parent
);
1167 wxWindow
* wxFindWindowByName( const wxString
& name
,
1168 const wxWindow
*parent
= NULL
) {
1169 return wxWindow::FindWindowByName(name
, parent
);
1172 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1173 const wxWindow
*parent
= NULL
) {
1174 return wxWindow::FindWindowByLabel(label
, parent
);
1178 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1180 wxWindow
* win
= new wxWindow
;
1182 win
->SubclassWin(hWnd
);
1185 wxPyRaiseNotImplemented();
1191 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1192 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1193 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1195 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1197 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1198 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1199 wxMenuItemList
& list
= self
->GetMenuItems();
1200 return wxPy_ConvertList(&list
);
1202 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1203 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1205 wxPyClientData
* data
= new wxPyClientData(clientData
);
1206 return self
->Append(item
, data
);
1208 return self
->Append(item
);
1210 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1212 wxPyClientData
* data
= new wxPyClientData(clientData
);
1213 return self
->Insert(item
, pos
, data
);
1215 return self
->Insert(item
, pos
);
1217 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1218 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1220 Py_INCREF(data
->m_obj
);
1227 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1228 wxPyClientData
* data
= new wxPyClientData(clientData
);
1229 self
->SetClientObject(n
, data
);
1235 SWIG_PyObj_AsFloat(PyObject
*obj
)
1237 return SWIG_PyObj_AsFloatConv(obj
, SWIG_PyObj_AsDouble
);
1240 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1241 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1243 Py_INCREF(data
->m_obj
);
1251 // Figure out the type of the sizer item
1253 struct wxPySizerItemInfo
{
1255 : window(NULL
), sizer(NULL
), gotSize(False
),
1256 size(wxDefaultSize
), gotPos(False
), pos(-1)
1267 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1269 wxPySizerItemInfo info
;
1271 wxSize
* sizePtr
= &size
;
1273 // Find out what the type of the item is
1275 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1280 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1284 // try wxSize or (w,h)
1285 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1286 info
.size
= *sizePtr
;
1287 info
.gotSize
= True
;
1291 if (checkIdx
&& PyInt_Check(item
)) {
1292 info
.pos
= PyInt_AsLong(item
);
1298 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1299 // no expected type, figure out what kind of error message to generate
1300 if ( !checkSize
&& !checkIdx
)
1301 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1302 else if ( checkSize
&& !checkIdx
)
1303 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1304 else if ( !checkSize
&& checkIdx
)
1305 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1307 // can this one happen?
1308 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1314 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1315 self
->SetClientObject(new wxPyOORClientData(_self
));
1317 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1319 wxPyUserData
* data
= NULL
;
1320 wxPyBeginBlockThreads();
1321 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1322 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1323 data
= new wxPyUserData(userData
);
1324 wxPyEndBlockThreads();
1326 // Now call the real Add method if a valid item type was found
1328 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1329 else if ( info
.sizer
)
1330 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1331 else if (info
.gotSize
)
1332 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1333 proportion
, flag
, border
, data
);
1335 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1337 wxPyUserData
* data
= NULL
;
1338 wxPyBeginBlockThreads();
1339 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1340 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1341 data
= new wxPyUserData(userData
);
1342 wxPyEndBlockThreads();
1344 // Now call the real Insert method if a valid item type was found
1346 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1347 else if ( info
.sizer
)
1348 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1349 else if (info
.gotSize
)
1350 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1351 proportion
, flag
, border
, data
);
1353 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1355 wxPyUserData
* data
= NULL
;
1356 wxPyBeginBlockThreads();
1357 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1358 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1359 data
= new wxPyUserData(userData
);
1360 wxPyEndBlockThreads();
1362 // Now call the real Prepend method if a valid item type was found
1364 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1365 else if ( info
.sizer
)
1366 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1367 else if (info
.gotSize
)
1368 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1369 proportion
, flag
, border
, data
);
1371 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1372 wxPyBeginBlockThreads();
1373 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1374 wxPyEndBlockThreads();
1376 return self
->Remove(info
.window
);
1377 else if ( info
.sizer
)
1378 return self
->Remove(info
.sizer
);
1379 else if ( info
.gotPos
)
1380 return self
->Remove(info
.pos
);
1384 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1385 wxPyBeginBlockThreads();
1386 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1387 wxPyEndBlockThreads();
1389 self
->SetItemMinSize(info
.window
, size
);
1390 else if ( info
.sizer
)
1391 self
->SetItemMinSize(info
.sizer
, size
);
1392 else if ( info
.gotPos
)
1393 self
->SetItemMinSize(info
.pos
, size
);
1395 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1396 wxSizerItemList
& list
= self
->GetChildren();
1397 return wxPy_ConvertList(&list
);
1399 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1400 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1402 self
->Show(info
.window
, show
);
1403 else if ( info
.sizer
)
1404 self
->Show(info
.sizer
, show
);
1406 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1407 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1409 self
->Hide(info
.window
);
1410 else if ( info
.sizer
)
1411 self
->Hide(info
.sizer
);
1413 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1414 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1416 return self
->IsShown(info
.window
);
1417 else if ( info
.sizer
)
1418 return self
->IsShown(info
.sizer
);
1424 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1425 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1426 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1431 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1433 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1436 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1438 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1442 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1446 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1447 wxPyBeginBlockThreads();
1448 PyObject
* tup
= PyTuple_New(2);
1449 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1450 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1451 wxPyEndBlockThreads();
1454 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1455 self
->SetRowspan(rowspan
);
1456 self
->SetColspan(colspan
);
1458 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1459 wxPyBeginBlockThreads();
1460 PyObject
* tup
= PyTuple_New(2);
1461 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1462 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1463 wxPyEndBlockThreads();
1466 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1468 wxPyUserData
* data
= NULL
;
1469 wxPyBeginBlockThreads();
1470 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1471 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1472 data
= new wxPyUserData(userData
);
1473 wxPyEndBlockThreads();
1475 // Now call the real Add method if a valid item type was found
1477 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1478 else if ( info
.sizer
)
1479 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1480 else if (info
.gotSize
)
1481 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1482 pos
, span
, flag
, border
, data
);
1490 static int _wrap_EmptyString_set(PyObject
*) {
1491 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1496 static PyObject
*_wrap_EmptyString_get() {
1501 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1503 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1510 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
*resultobj
;
1512 wxObject
*arg1
= (wxObject
*) 0 ;
1514 PyObject
* obj0
= 0 ;
1516 (char *) "self", NULL
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 result
= wxObject_GetClassName(arg1
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) SWIG_fail
;
1530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1541 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1543 wxObject
*arg1
= (wxObject
*) 0 ;
1544 PyObject
* obj0
= 0 ;
1546 (char *) "self", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 wxObject_Destroy(arg1
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1558 Py_INCREF(Py_None
); resultobj
= Py_None
;
1565 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1568 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1570 return Py_BuildValue((char *)"");
1572 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
*resultobj
;
1574 wxSize
*arg1
= (wxSize
*) 0 ;
1576 PyObject
* obj0
= 0 ;
1577 PyObject
* obj1
= 0 ;
1579 (char *) "self",(char *) "x", NULL
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1585 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1588 if (arg1
) (arg1
)->x
= arg2
;
1590 Py_INCREF(Py_None
); resultobj
= Py_None
;
1597 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1599 wxSize
*arg1
= (wxSize
*) 0 ;
1601 PyObject
* obj0
= 0 ;
1603 (char *) "self", NULL
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1608 result
= (int) ((arg1
)->x
);
1610 resultobj
= SWIG_PyObj_FromInt((int)result
);
1617 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxSize
*arg1
= (wxSize
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1622 PyObject
* obj1
= 0 ;
1624 (char *) "self",(char *) "y", NULL
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1630 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 if (arg1
) (arg1
)->y
= arg2
;
1635 Py_INCREF(Py_None
); resultobj
= Py_None
;
1642 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
*resultobj
;
1644 wxSize
*arg1
= (wxSize
*) 0 ;
1646 PyObject
* obj0
= 0 ;
1648 (char *) "self", NULL
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1653 result
= (int) ((arg1
)->y
);
1655 resultobj
= SWIG_PyObj_FromInt((int)result
);
1662 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 int arg1
= (int) 0 ;
1665 int arg2
= (int) 0 ;
1667 PyObject
* obj0
= 0 ;
1668 PyObject
* obj1
= 0 ;
1670 (char *) "w",(char *) "h", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1676 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1682 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1700 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxSize
*arg1
= (wxSize
*) 0 ;
1703 PyObject
* obj0
= 0 ;
1705 (char *) "self", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 Py_INCREF(Py_None
); resultobj
= Py_None
;
1724 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
*resultobj
;
1726 wxSize
*arg1
= (wxSize
*) 0 ;
1730 PyObject
* obj0
= 0 ;
1731 PyObject
* obj1
= 0 ;
1733 (char *) "self",(char *) "sz", NULL
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1740 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1744 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1746 wxPyEndAllowThreads(__tstate
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1749 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1756 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
*resultobj
;
1758 wxSize
*arg1
= (wxSize
*) 0 ;
1762 PyObject
* obj0
= 0 ;
1763 PyObject
* obj1
= 0 ;
1765 (char *) "self",(char *) "sz", NULL
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1772 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1788 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
*resultobj
;
1790 wxSize
*arg1
= (wxSize
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1795 PyObject
* obj1
= 0 ;
1797 (char *) "self",(char *) "sz", NULL
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1804 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1815 resultptr
= new wxSize((wxSize
&) result
);
1816 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1824 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
*resultobj
;
1826 wxSize
*arg1
= (wxSize
*) 0 ;
1830 PyObject
* obj0
= 0 ;
1831 PyObject
* obj1
= 0 ;
1833 (char *) "self",(char *) "sz", NULL
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1840 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1851 resultptr
= new wxSize((wxSize
&) result
);
1852 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1860 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxSize
*arg1
= (wxSize
*) 0 ;
1865 PyObject
* obj0
= 0 ;
1866 PyObject
* obj1
= 0 ;
1868 (char *) "self",(char *) "sz", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 (arg1
)->IncTo((wxSize
const &)*arg2
);
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1884 Py_INCREF(Py_None
); resultobj
= Py_None
;
1891 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxSize
*arg1
= (wxSize
*) 0 ;
1896 PyObject
* obj0
= 0 ;
1897 PyObject
* obj1
= 0 ;
1899 (char *) "self",(char *) "sz", NULL
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1906 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 (arg1
)->DecTo((wxSize
const &)*arg2
);
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 Py_INCREF(Py_None
); resultobj
= Py_None
;
1922 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxSize
*arg1
= (wxSize
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1928 PyObject
* obj1
= 0 ;
1929 PyObject
* obj2
= 0 ;
1931 (char *) "self",(char *) "w",(char *) "h", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1937 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1941 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 (arg1
)->Set(arg2
,arg3
);
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1958 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxSize
*arg1
= (wxSize
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1963 PyObject
* obj1
= 0 ;
1965 (char *) "self",(char *) "w", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1971 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 (arg1
)->SetWidth(arg2
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 Py_INCREF(Py_None
); resultobj
= Py_None
;
1988 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxSize
*arg1
= (wxSize
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1993 PyObject
* obj1
= 0 ;
1995 (char *) "self",(char *) "h", NULL
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
1999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2001 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 (arg1
)->SetHeight(arg2
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) SWIG_fail
;
2011 Py_INCREF(Py_None
); resultobj
= Py_None
;
2018 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
*resultobj
;
2020 wxSize
*arg1
= (wxSize
*) 0 ;
2022 PyObject
* obj0
= 0 ;
2024 (char *) "self", NULL
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 resultobj
= SWIG_PyObj_FromInt((int)result
);
2043 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxSize
*arg1
= (wxSize
*) 0 ;
2047 PyObject
* obj0
= 0 ;
2049 (char *) "self", NULL
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 resultobj
= SWIG_PyObj_FromInt((int)result
);
2068 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxSize
*arg1
= (wxSize
*) 0 ;
2072 PyObject
* obj0
= 0 ;
2074 (char *) "self", NULL
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 result
= (PyObject
*)wxSize_Get(arg1
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2093 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2096 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2098 return Py_BuildValue((char *)"");
2100 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "x", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2113 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 if (arg1
) (arg1
)->x
= arg2
;
2118 Py_INCREF(Py_None
); resultobj
= Py_None
;
2125 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2131 (char *) "self", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2136 result
= (double) ((arg1
)->x
);
2138 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2145 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2147 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2149 PyObject
* obj0
= 0 ;
2150 PyObject
* obj1
= 0 ;
2152 (char *) "self",(char *) "y", NULL
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2158 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 if (arg1
) (arg1
)->y
= arg2
;
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2170 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2174 PyObject
* obj0
= 0 ;
2176 (char *) "self", NULL
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2181 result
= (double) ((arg1
)->y
);
2183 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2190 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 double arg1
= (double) 0.0 ;
2193 double arg2
= (double) 0.0 ;
2194 wxRealPoint
*result
;
2195 PyObject
* obj0
= 0 ;
2196 PyObject
* obj1
= 0 ;
2198 (char *) "x",(char *) "y", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2204 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2210 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2228 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2231 PyObject
* obj0
= 0 ;
2233 (char *) "self", NULL
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2245 Py_INCREF(Py_None
); resultobj
= Py_None
;
2252 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2255 wxRealPoint
*arg2
= 0 ;
2258 PyObject
* obj0
= 0 ;
2259 PyObject
* obj1
= 0 ;
2261 (char *) "self",(char *) "pt", NULL
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2268 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2284 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2287 wxRealPoint
*arg2
= 0 ;
2290 PyObject
* obj0
= 0 ;
2291 PyObject
* obj1
= 0 ;
2293 (char *) "self",(char *) "pt", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2300 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2316 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2319 wxRealPoint
*arg2
= 0 ;
2322 PyObject
* obj0
= 0 ;
2323 PyObject
* obj1
= 0 ;
2325 (char *) "self",(char *) "pt", NULL
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2332 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2342 wxRealPoint
* resultptr
;
2343 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2344 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2352 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2355 wxRealPoint
*arg2
= 0 ;
2358 PyObject
* obj0
= 0 ;
2359 PyObject
* obj1
= 0 ;
2361 (char *) "self",(char *) "pt", NULL
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2368 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2378 wxRealPoint
* resultptr
;
2379 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2380 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2388 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2390 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2395 PyObject
* obj2
= 0 ;
2397 (char *) "self",(char *) "x",(char *) "y", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2403 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2407 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 wxRealPoint_Set(arg1
,arg2
,arg3
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2417 Py_INCREF(Py_None
); resultobj
= Py_None
;
2424 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2428 PyObject
* obj0
= 0 ;
2430 (char *) "self", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2449 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2452 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2454 return Py_BuildValue((char *)"");
2456 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxPoint
*arg1
= (wxPoint
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "self",(char *) "x", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2469 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 if (arg1
) (arg1
)->x
= arg2
;
2474 Py_INCREF(Py_None
); resultobj
= Py_None
;
2481 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 wxPoint
*arg1
= (wxPoint
*) 0 ;
2485 PyObject
* obj0
= 0 ;
2487 (char *) "self", NULL
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2492 result
= (int) ((arg1
)->x
);
2494 resultobj
= SWIG_PyObj_FromInt((int)result
);
2501 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxPoint
*arg1
= (wxPoint
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2506 PyObject
* obj1
= 0 ;
2508 (char *) "self",(char *) "y", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2514 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 if (arg1
) (arg1
)->y
= arg2
;
2519 Py_INCREF(Py_None
); resultobj
= Py_None
;
2526 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxPoint
*arg1
= (wxPoint
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2537 result
= (int) ((arg1
)->y
);
2539 resultobj
= SWIG_PyObj_FromInt((int)result
);
2546 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 int arg1
= (int) 0 ;
2549 int arg2
= (int) 0 ;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2554 (char *) "x",(char *) "y", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2560 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2566 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2584 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxPoint
*arg1
= (wxPoint
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "self", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2601 Py_INCREF(Py_None
); resultobj
= Py_None
;
2608 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxPoint
*arg1
= (wxPoint
*) 0 ;
2614 PyObject
* obj0
= 0 ;
2615 PyObject
* obj1
= 0 ;
2617 (char *) "self",(char *) "pt", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2640 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxPoint
*arg1
= (wxPoint
*) 0 ;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "self",(char *) "pt", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2656 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2672 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 wxPoint
*arg1
= (wxPoint
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2679 PyObject
* obj1
= 0 ;
2681 (char *) "self",(char *) "pt", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2698 wxPoint
* resultptr
;
2699 resultptr
= new wxPoint((wxPoint
&) result
);
2700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2708 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxPoint
*arg1
= (wxPoint
*) 0 ;
2714 PyObject
* obj0
= 0 ;
2715 PyObject
* obj1
= 0 ;
2717 (char *) "self",(char *) "pt", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2724 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2734 wxPoint
* resultptr
;
2735 resultptr
= new wxPoint((wxPoint
&) result
);
2736 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2744 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
*resultobj
;
2746 wxPoint
*arg1
= (wxPoint
*) 0 ;
2750 PyObject
* obj0
= 0 ;
2751 PyObject
* obj1
= 0 ;
2753 (char *) "self",(char *) "pt", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2766 result
= (wxPoint
*) &_result_ref
;
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2779 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxPoint
*arg1
= (wxPoint
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2786 PyObject
* obj1
= 0 ;
2788 (char *) "self",(char *) "pt", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2801 result
= (wxPoint
*) &_result_ref
;
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) SWIG_fail
;
2807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2814 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
*resultobj
;
2816 wxPoint
*arg1
= (wxPoint
*) 0 ;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2821 PyObject
* obj2
= 0 ;
2823 (char *) "self",(char *) "x",(char *) "y", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2829 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2833 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 wxPoint_Set(arg1
,arg2
,arg3
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 Py_INCREF(Py_None
); resultobj
= Py_None
;
2850 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2852 wxPoint
*arg1
= (wxPoint
*) 0 ;
2854 PyObject
* obj0
= 0 ;
2856 (char *) "self", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= (PyObject
*)wxPoint_Get(arg1
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2875 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2878 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2880 return Py_BuildValue((char *)"");
2882 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 int arg1
= (int) 0 ;
2885 int arg2
= (int) 0 ;
2886 int arg3
= (int) 0 ;
2887 int arg4
= (int) 0 ;
2889 PyObject
* obj0
= 0 ;
2890 PyObject
* obj1
= 0 ;
2891 PyObject
* obj2
= 0 ;
2892 PyObject
* obj3
= 0 ;
2894 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2900 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2906 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2912 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2918 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2936 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2943 PyObject
* obj0
= 0 ;
2944 PyObject
* obj1
= 0 ;
2946 (char *) "topLeft",(char *) "bottomRight", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2952 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2972 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2979 PyObject
* obj0
= 0 ;
2980 PyObject
* obj1
= 0 ;
2982 (char *) "pos",(char *) "size", NULL
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2988 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2992 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3001 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
3008 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
*resultobj
;
3010 wxRect
*arg1
= (wxRect
*) 0 ;
3011 PyObject
* obj0
= 0 ;
3013 (char *) "self", NULL
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 Py_INCREF(Py_None
); resultobj
= Py_None
;
3032 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxRect
*arg1
= (wxRect
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3038 (char *) "self", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 result
= (int)((wxRect
const *)arg1
)->GetX();
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 resultobj
= SWIG_PyObj_FromInt((int)result
);
3057 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxRect
*arg1
= (wxRect
*) 0 ;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3064 (char *) "self",(char *) "x", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3070 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3080 Py_INCREF(Py_None
); resultobj
= Py_None
;
3087 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxRect
*arg1
= (wxRect
*) 0 ;
3091 PyObject
* obj0
= 0 ;
3093 (char *) "self", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 result
= (int)(arg1
)->GetY();
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3105 resultobj
= SWIG_PyObj_FromInt((int)result
);
3112 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxRect
*arg1
= (wxRect
*) 0 ;
3116 PyObject
* obj0
= 0 ;
3117 PyObject
* obj1
= 0 ;
3119 (char *) "self",(char *) "y", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3125 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3135 Py_INCREF(Py_None
); resultobj
= Py_None
;
3142 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxRect
*arg1
= (wxRect
*) 0 ;
3146 PyObject
* obj0
= 0 ;
3148 (char *) "self", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3160 resultobj
= SWIG_PyObj_FromInt((int)result
);
3167 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxRect
*arg1
= (wxRect
*) 0 ;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3174 (char *) "self",(char *) "w", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3180 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 (arg1
)->SetWidth(arg2
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3190 Py_INCREF(Py_None
); resultobj
= Py_None
;
3197 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxRect
*arg1
= (wxRect
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3203 (char *) "self", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3215 resultobj
= SWIG_PyObj_FromInt((int)result
);
3222 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
;
3224 wxRect
*arg1
= (wxRect
*) 0 ;
3226 PyObject
* obj0
= 0 ;
3227 PyObject
* obj1
= 0 ;
3229 (char *) "self",(char *) "h", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3235 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 (arg1
)->SetHeight(arg2
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3252 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxRect
*arg1
= (wxRect
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3258 (char *) "self", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= ((wxRect
const *)arg1
)->GetPosition();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 wxPoint
* resultptr
;
3272 resultptr
= new wxPoint((wxPoint
&) result
);
3273 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3281 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxRect
*arg1
= (wxRect
*) 0 ;
3286 PyObject
* obj0
= 0 ;
3287 PyObject
* obj1
= 0 ;
3289 (char *) "self",(char *) "p", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxRect
*arg1
= (wxRect
*) 0 ;
3316 PyObject
* obj0
= 0 ;
3318 (char *) "self", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 result
= ((wxRect
const *)arg1
)->GetSize();
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3332 resultptr
= new wxSize((wxSize
&) result
);
3333 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3341 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxRect
*arg1
= (wxRect
*) 0 ;
3346 PyObject
* obj0
= 0 ;
3347 PyObject
* obj1
= 0 ;
3349 (char *) "self",(char *) "s", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3356 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 (arg1
)->SetSize((wxSize
const &)*arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxRect
*arg1
= (wxRect
*) 0 ;
3376 PyObject
* obj0
= 0 ;
3378 (char *) "self", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3391 wxPoint
* resultptr
;
3392 resultptr
= new wxPoint((wxPoint
&) result
);
3393 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3401 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
;
3403 wxRect
*arg1
= (wxRect
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "p", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxRect
*arg1
= (wxRect
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3438 (char *) "self", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3451 wxPoint
* resultptr
;
3452 resultptr
= new wxPoint((wxPoint
&) result
);
3453 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3461 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxRect
*arg1
= (wxRect
*) 0 ;
3466 PyObject
* obj0
= 0 ;
3467 PyObject
* obj1
= 0 ;
3469 (char *) "self",(char *) "p", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxRect
*arg1
= (wxRect
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3498 (char *) "self", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= SWIG_PyObj_FromInt((int)result
);
3517 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxRect
*arg1
= (wxRect
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3523 (char *) "self", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (int)((wxRect
const *)arg1
)->GetTop();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_PyObj_FromInt((int)result
);
3542 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxRect
*arg1
= (wxRect
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3548 (char *) "self", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 resultobj
= SWIG_PyObj_FromInt((int)result
);
3567 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxRect
*arg1
= (wxRect
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3573 (char *) "self", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (int)((wxRect
const *)arg1
)->GetRight();
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3585 resultobj
= SWIG_PyObj_FromInt((int)result
);
3592 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxRect
*arg1
= (wxRect
*) 0 ;
3596 PyObject
* obj0
= 0 ;
3597 PyObject
* obj1
= 0 ;
3599 (char *) "self",(char *) "left", NULL
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3605 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 (arg1
)->SetLeft(arg2
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 Py_INCREF(Py_None
); resultobj
= Py_None
;
3622 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxRect
*arg1
= (wxRect
*) 0 ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3629 (char *) "self",(char *) "right", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3635 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->SetRight(arg2
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3652 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxRect
*arg1
= (wxRect
*) 0 ;
3656 PyObject
* obj0
= 0 ;
3657 PyObject
* obj1
= 0 ;
3659 (char *) "self",(char *) "top", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 (arg1
)->SetTop(arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 Py_INCREF(Py_None
); resultobj
= Py_None
;
3682 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxRect
*arg1
= (wxRect
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3687 PyObject
* obj1
= 0 ;
3689 (char *) "self",(char *) "bottom", NULL
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3695 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 (arg1
)->SetBottom(arg2
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3712 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxRect
*arg1
= (wxRect
*) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3720 PyObject
* obj2
= 0 ;
3722 (char *) "self",(char *) "dx",(char *) "dy", NULL
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3728 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3739 result
= (wxRect
*) &_result_ref
;
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3752 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxRect
*arg1
= (wxRect
*) 0 ;
3758 PyObject
* obj0
= 0 ;
3759 PyObject
* obj1
= 0 ;
3760 PyObject
* obj2
= 0 ;
3762 (char *) "self",(char *) "dx",(char *) "dy", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3768 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3772 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3779 result
= (wxRect
*) &_result_ref
;
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3792 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxRect
*arg1
= (wxRect
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3801 (char *) "self",(char *) "dx",(char *) "dy", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3811 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 (arg1
)->Offset(arg2
,arg3
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 Py_INCREF(Py_None
); resultobj
= Py_None
;
3828 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxRect
*arg1
= (wxRect
*) 0 ;
3833 PyObject
* obj0
= 0 ;
3834 PyObject
* obj1
= 0 ;
3836 (char *) "self",(char *) "pt", NULL
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 (arg1
)->Offset((wxPoint
const &)*arg2
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 Py_INCREF(Py_None
); resultobj
= Py_None
;
3859 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxRect
*arg1
= (wxRect
*) 0 ;
3865 PyObject
* obj0
= 0 ;
3866 PyObject
* obj1
= 0 ;
3868 (char *) "self",(char *) "rect", NULL
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3875 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3881 result
= (wxRect
*) &_result_ref
;
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3894 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxRect
*arg1
= (wxRect
*) 0 ;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3903 (char *) "self",(char *) "rect", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3910 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3921 resultptr
= new wxRect((wxRect
&) result
);
3922 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3930 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxRect
*arg1
= (wxRect
*) 0 ;
3936 PyObject
* obj0
= 0 ;
3937 PyObject
* obj1
= 0 ;
3939 (char *) "self",(char *) "rect", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3946 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3952 result
= (wxRect
*) &_result_ref
;
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3965 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxRect
*arg1
= (wxRect
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3974 (char *) "self",(char *) "rect", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3981 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3997 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxRect
*arg1
= (wxRect
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4004 PyObject
* obj1
= 0 ;
4006 (char *) "self",(char *) "rect", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4013 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4029 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxRect
*arg1
= (wxRect
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4036 PyObject
* obj1
= 0 ;
4037 PyObject
* obj2
= 0 ;
4039 (char *) "self",(char *) "x",(char *) "y", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4045 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4066 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4068 wxRect
*arg1
= (wxRect
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4075 (char *) "self",(char *) "pt", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4098 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxRect
*arg1
= (wxRect
*) 0 ;
4104 PyObject
* obj0
= 0 ;
4105 PyObject
* obj1
= 0 ;
4107 (char *) "self",(char *) "rect", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4130 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxRect
*arg1
= (wxRect
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4137 (char *) "self",(char *) "x", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4143 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 if (arg1
) (arg1
)->x
= arg2
;
4148 Py_INCREF(Py_None
); resultobj
= Py_None
;
4155 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
;
4157 wxRect
*arg1
= (wxRect
*) 0 ;
4159 PyObject
* obj0
= 0 ;
4161 (char *) "self", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4166 result
= (int) ((arg1
)->x
);
4168 resultobj
= SWIG_PyObj_FromInt((int)result
);
4175 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxRect
*arg1
= (wxRect
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4182 (char *) "self",(char *) "y", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4188 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 if (arg1
) (arg1
)->y
= arg2
;
4193 Py_INCREF(Py_None
); resultobj
= Py_None
;
4200 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
*resultobj
;
4202 wxRect
*arg1
= (wxRect
*) 0 ;
4204 PyObject
* obj0
= 0 ;
4206 (char *) "self", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4211 result
= (int) ((arg1
)->y
);
4213 resultobj
= SWIG_PyObj_FromInt((int)result
);
4220 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxRect
*arg1
= (wxRect
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4227 (char *) "self",(char *) "width", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4233 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 if (arg1
) (arg1
)->width
= arg2
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxRect
*arg1
= (wxRect
*) 0 ;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "self", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4256 result
= (int) ((arg1
)->width
);
4258 resultobj
= SWIG_PyObj_FromInt((int)result
);
4265 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxRect
*arg1
= (wxRect
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4272 (char *) "self",(char *) "height", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4278 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 if (arg1
) (arg1
)->height
= arg2
;
4283 Py_INCREF(Py_None
); resultobj
= Py_None
;
4290 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4292 wxRect
*arg1
= (wxRect
*) 0 ;
4294 PyObject
* obj0
= 0 ;
4296 (char *) "self", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4301 result
= (int) ((arg1
)->height
);
4303 resultobj
= SWIG_PyObj_FromInt((int)result
);
4310 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxRect
*arg1
= (wxRect
*) 0 ;
4313 int arg2
= (int) 0 ;
4314 int arg3
= (int) 0 ;
4315 int arg4
= (int) 0 ;
4316 int arg5
= (int) 0 ;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4319 PyObject
* obj2
= 0 ;
4320 PyObject
* obj3
= 0 ;
4321 PyObject
* obj4
= 0 ;
4323 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4330 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4336 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4342 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4348 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 Py_INCREF(Py_None
); resultobj
= Py_None
;
4366 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxRect
*arg1
= (wxRect
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4372 (char *) "self", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 result
= (PyObject
*)wxRect_Get(arg1
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4391 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4394 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4396 return Py_BuildValue((char *)"");
4398 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 wxRect
*arg1
= (wxRect
*) 0 ;
4401 wxRect
*arg2
= (wxRect
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4406 (char *) "r1",(char *) "r2", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4426 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 double arg1
= (double) 0.0 ;
4429 double arg2
= (double) 0.0 ;
4431 PyObject
* obj0
= 0 ;
4432 PyObject
* obj1
= 0 ;
4434 (char *) "x",(char *) "y", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4440 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4446 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4464 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxPoint2D
*arg1
= 0 ;
4469 PyObject
* obj0
= 0 ;
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4477 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4493 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4498 PyObject
* obj0
= 0 ;
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4506 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4522 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4525 int *arg2
= (int *) 0 ;
4526 int *arg3
= (int *) 0 ;
4529 PyObject
* obj0
= 0 ;
4531 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 Py_INCREF(Py_None
); resultobj
= Py_None
;
4547 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4548 resultobj
= t_output_helper(resultobj
,o
);
4551 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4552 resultobj
= t_output_helper(resultobj
,o
);
4560 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4563 int *arg2
= (int *) 0 ;
4564 int *arg3
= (int *) 0 ;
4567 PyObject
* obj0
= 0 ;
4569 (char *) "self", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 Py_INCREF(Py_None
); resultobj
= Py_None
;
4585 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4586 resultobj
= t_output_helper(resultobj
,o
);
4589 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4590 resultobj
= t_output_helper(resultobj
,o
);
4598 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
;
4600 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4602 PyObject
* obj0
= 0 ;
4604 (char *) "self", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4623 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "self", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4648 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4655 (char *) "self",(char *) "length", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4661 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 (arg1
)->SetVectorLength(arg2
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 Py_INCREF(Py_None
); resultobj
= Py_None
;
4678 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4685 (char *) "self",(char *) "degrees", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4691 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->SetVectorAngle(arg2
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4711 wxPoint2D
*arg2
= 0 ;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4717 (char *) "self",(char *) "pt", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4724 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4740 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4743 wxPoint2D
*arg2
= 0 ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4749 (char *) "self",(char *) "pt", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4756 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4772 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4775 wxPoint2D
*arg2
= 0 ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4781 (char *) "self",(char *) "vec", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4788 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4804 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4807 wxPoint2D
*arg2
= 0 ;
4810 PyObject
* obj0
= 0 ;
4811 PyObject
* obj1
= 0 ;
4813 (char *) "self",(char *) "vec", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4820 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4836 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
;
4838 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4842 (char *) "self", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (arg1
)->operator -();
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4855 wxPoint2D
* resultptr
;
4856 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4857 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4865 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4868 wxPoint2D
*arg2
= 0 ;
4871 PyObject
* obj0
= 0 ;
4872 PyObject
* obj1
= 0 ;
4874 (char *) "self",(char *) "pt", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4881 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4887 result
= (wxPoint2D
*) &_result_ref
;
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4900 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4903 wxPoint2D
*arg2
= 0 ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "pt", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4916 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4922 result
= (wxPoint2D
*) &_result_ref
;
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4935 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4938 wxPoint2D
*arg2
= 0 ;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4944 (char *) "self",(char *) "pt", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4951 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4957 result
= (wxPoint2D
*) &_result_ref
;
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4970 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4973 wxPoint2D
*arg2
= 0 ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4979 (char *) "self",(char *) "pt", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4986 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4992 result
= (wxPoint2D
*) &_result_ref
;
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
5005 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5007 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5008 wxPoint2D
*arg2
= 0 ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5014 (char *) "self",(char *) "pt", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5021 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5037 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
;
5039 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5040 wxPoint2D
*arg2
= 0 ;
5043 PyObject
* obj0
= 0 ;
5044 PyObject
* obj1
= 0 ;
5046 (char *) "self",(char *) "pt", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5053 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5069 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5076 (char *) "self",(char *) "m_x", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5082 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 if (arg1
) (arg1
)->m_x
= arg2
;
5087 Py_INCREF(Py_None
); resultobj
= Py_None
;
5094 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5100 (char *) "self", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5105 result
= (double) ((arg1
)->m_x
);
5107 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5114 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5119 PyObject
* obj1
= 0 ;
5121 (char *) "self",(char *) "m_y", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5127 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 if (arg1
) (arg1
)->m_y
= arg2
;
5132 Py_INCREF(Py_None
); resultobj
= Py_None
;
5139 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5145 (char *) "self", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5150 result
= (double) ((arg1
)->m_y
);
5152 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5159 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5162 double arg2
= (double) 0 ;
5163 double arg3
= (double) 0 ;
5164 PyObject
* obj0
= 0 ;
5165 PyObject
* obj1
= 0 ;
5166 PyObject
* obj2
= 0 ;
5168 (char *) "self",(char *) "x",(char *) "y", NULL
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5175 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5181 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 wxPoint2D_Set(arg1
,arg2
,arg3
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 Py_INCREF(Py_None
); resultobj
= Py_None
;
5199 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
*resultobj
;
5201 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5203 PyObject
* obj0
= 0 ;
5205 (char *) "self", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5224 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5227 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5229 return Py_BuildValue((char *)"");
5231 static int _wrap_DefaultPosition_set(PyObject
*) {
5232 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5237 static PyObject
*_wrap_DefaultPosition_get() {
5240 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
5245 static int _wrap_DefaultSize_set(PyObject
*) {
5246 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5251 static PyObject
*_wrap_DefaultSize_get() {
5254 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
5259 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 PyObject
*arg1
= (PyObject
*) 0 ;
5262 wxPyInputStream
*result
;
5263 PyObject
* obj0
= 0 ;
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
5284 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5289 (char *) "self", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 Py_INCREF(Py_None
); resultobj
= Py_None
;
5308 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5313 (char *) "self", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 Py_INCREF(Py_None
); resultobj
= Py_None
;
5332 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= (bool)(arg1
)->eof();
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5357 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5360 int arg2
= (int) -1 ;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5365 (char *) "self",(char *) "size", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5372 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= (PyObject
*)(arg1
)->read(arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5390 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5393 int arg2
= (int) -1 ;
5395 PyObject
* obj0
= 0 ;
5396 PyObject
* obj1
= 0 ;
5398 (char *) "self",(char *) "size", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5405 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (PyObject
*)(arg1
)->readline(arg2
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5423 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5426 int arg2
= (int) -1 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5431 (char *) "self",(char *) "sizehint", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5438 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5456 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5460 int arg3
= (int) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5463 PyObject
* obj2
= 0 ;
5465 (char *) "self",(char *) "offset",(char *) "whence", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5471 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5476 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 (arg1
)->seek(arg2
,arg3
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 Py_INCREF(Py_None
); resultobj
= Py_None
;
5494 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "self", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= (int)(arg1
)->tell();
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= SWIG_PyObj_FromInt((int)result
);
5519 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (char)(arg1
)->Peek();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= SWIG_PyObj_FromChar((char)result
);
5544 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5550 (char *) "self", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (char)(arg1
)->GetC();
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_PyObj_FromChar((char)result
);
5569 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5575 (char *) "self", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (size_t)(arg1
)->LastRead();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5594 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5598 PyObject
* obj0
= 0 ;
5600 (char *) "self", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (bool)(arg1
)->CanRead();
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5619 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5625 (char *) "self", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)(arg1
)->Eof();
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5644 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
;
5646 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5652 (char *) "self",(char *) "c", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5658 arg2
= (char) SWIG_PyObj_AsChar(obj1
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (bool)(arg1
)->Ungetch(arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5675 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5679 int arg3
= (int) wxFromStart
;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 PyObject
* obj2
= 0 ;
5685 (char *) "self",(char *) "pos",(char *) "mode", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5691 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5696 arg3
= (wxSeekMode
) SWIG_PyObj_AsInt(obj2
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_PyObj_FromLong((long)result
);
5714 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5720 (char *) "self", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (long)(arg1
)->TellI();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_PyObj_FromLong((long)result
);
5739 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5742 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5744 return Py_BuildValue((char *)"");
5746 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5749 PyObject
*arg2
= (PyObject
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "obj", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 wxOutputStream_write(arg1
,arg2
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 Py_INCREF(Py_None
); resultobj
= Py_None
;
5773 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5776 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5778 return Py_BuildValue((char *)"");
5780 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5783 wxString
*arg2
= 0 ;
5784 wxString
*arg3
= 0 ;
5785 wxString
*arg4
= 0 ;
5788 wxPyInputStream
*temp1
;
5790 bool temp2
= False
;
5791 bool temp3
= False
;
5792 bool temp4
= False
;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5796 PyObject
* obj2
= 0 ;
5797 PyObject
* obj3
= 0 ;
5798 PyObject
* obj4
= 0 ;
5800 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5805 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5806 arg1
= temp1
->m_wxis
;
5809 PyErr_Clear(); // clear the failure of the wxPyConvert above
5810 arg1
= wxPyCBInputStream_create(obj0
, False
);
5812 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5819 arg2
= wxString_in_helper(obj1
);
5820 if (arg2
== NULL
) SWIG_fail
;
5824 arg3
= wxString_in_helper(obj2
);
5825 if (arg3
== NULL
) SWIG_fail
;
5829 arg4
= wxString_in_helper(obj3
);
5830 if (arg4
== NULL
) SWIG_fail
;
5833 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= wxPyMake_wxObject(result
);
5883 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 Py_INCREF(Py_None
); resultobj
= Py_None
;
5907 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5910 wxInputStream
*result
;
5911 PyObject
* obj0
= 0 ;
5913 (char *) "self", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (wxInputStream
*)(arg1
)->GetStream();
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 wxPyInputStream
* _ptr
= NULL
;
5929 _ptr
= new wxPyInputStream(result
);
5931 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5939 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "self", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5954 result
= (wxString
*) &_result_ref
;
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5964 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5973 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5977 PyObject
* obj0
= 0 ;
5979 (char *) "self", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 wxString
const &_result_ref
= (arg1
)->GetLocation();
5988 result
= (wxString
*) &_result_ref
;
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5998 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6007 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6022 result
= (wxString
*) &_result_ref
;
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6032 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6041 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6047 (char *) "self", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (arg1
)->GetModificationTime();
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 wxDateTime
* resultptr
;
6061 resultptr
= new wxDateTime((wxDateTime
&) result
);
6062 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
6070 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6073 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6075 return Py_BuildValue((char *)"");
6077 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6082 return Py_BuildValue((char *)"");
6084 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxPyFileSystemHandler
*result
;
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6106 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6109 PyObject
*arg2
= (PyObject
*) 0 ;
6110 PyObject
*arg3
= (PyObject
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6113 PyObject
* obj2
= 0 ;
6115 (char *) "self",(char *) "self",(char *) "_class", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 Py_INCREF(Py_None
); resultobj
= Py_None
;
6136 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6139 wxString
*arg2
= 0 ;
6141 bool temp2
= False
;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6145 (char *) "self",(char *) "location", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6151 arg2
= wxString_in_helper(obj1
);
6152 if (arg2
== NULL
) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6177 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6180 wxFileSystem
*arg2
= 0 ;
6181 wxString
*arg3
= 0 ;
6183 bool temp3
= False
;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6186 PyObject
* obj2
= 0 ;
6188 (char *) "self",(char *) "fs",(char *) "location", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6195 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6198 arg3
= wxString_in_helper(obj2
);
6199 if (arg3
== NULL
) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= wxPyMake_wxObject(result
);
6226 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6229 wxString
*arg2
= 0 ;
6230 int arg3
= (int) 0 ;
6232 bool temp2
= False
;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6235 PyObject
* obj2
= 0 ;
6237 (char *) "self",(char *) "spec",(char *) "flags", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6243 arg2
= wxString_in_helper(obj1
);
6244 if (arg2
== NULL
) SWIG_fail
;
6249 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6281 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (arg1
)->FindNext();
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6312 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6315 wxString
*arg2
= 0 ;
6317 bool temp2
= False
;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6321 (char *) "self",(char *) "location", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6327 arg2
= wxString_in_helper(obj1
);
6328 if (arg2
== NULL
) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6359 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6362 wxString
*arg2
= 0 ;
6364 bool temp2
= False
;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6368 (char *) "self",(char *) "location", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6374 arg2
= wxString_in_helper(obj1
);
6375 if (arg2
== NULL
) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6406 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6409 wxString
*arg2
= 0 ;
6411 bool temp2
= False
;
6412 PyObject
* obj0
= 0 ;
6413 PyObject
* obj1
= 0 ;
6415 (char *) "self",(char *) "location", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6421 arg2
= wxString_in_helper(obj1
);
6422 if (arg2
== NULL
) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6453 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
;
6455 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6456 wxString
*arg2
= 0 ;
6458 bool temp2
= False
;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6462 (char *) "self",(char *) "location", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6468 arg2
= wxString_in_helper(obj1
);
6469 if (arg2
== NULL
) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6500 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6503 wxString
*arg2
= 0 ;
6505 bool temp2
= False
;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6509 (char *) "self",(char *) "location", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6515 arg2
= wxString_in_helper(obj1
);
6516 if (arg2
== NULL
) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6547 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6550 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6552 return Py_BuildValue((char *)"");
6554 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxFileSystem
*result
;
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= (wxFileSystem
*)new wxFileSystem();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= wxPyMake_wxObject(result
);
6578 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6581 PyObject
* obj0
= 0 ;
6583 (char *) "self", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6605 wxString
*arg2
= 0 ;
6606 bool arg3
= (bool) False
;
6607 bool temp2
= False
;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6610 PyObject
* obj2
= 0 ;
6612 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6618 arg2
= wxString_in_helper(obj1
);
6619 if (arg2
== NULL
) SWIG_fail
;
6624 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6650 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6654 PyObject
* obj0
= 0 ;
6656 (char *) "self", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (arg1
)->GetPath();
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6681 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6684 wxString
*arg2
= 0 ;
6686 bool temp2
= False
;
6687 PyObject
* obj0
= 0 ;
6688 PyObject
* obj1
= 0 ;
6690 (char *) "self",(char *) "location", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6696 arg2
= wxString_in_helper(obj1
);
6697 if (arg2
== NULL
) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= wxPyMake_wxObject(result
);
6724 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6727 wxString
*arg2
= 0 ;
6728 int arg3
= (int) 0 ;
6730 bool temp2
= False
;
6731 PyObject
* obj0
= 0 ;
6732 PyObject
* obj1
= 0 ;
6733 PyObject
* obj2
= 0 ;
6735 (char *) "self",(char *) "spec",(char *) "flags", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6741 arg2
= wxString_in_helper(obj1
);
6742 if (arg2
== NULL
) SWIG_fail
;
6747 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6779 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (arg1
)->FindNext();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6810 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6813 PyObject
* obj0
= 0 ;
6815 (char *) "handler", NULL
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 wxFileSystem::AddHandler(arg1
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 Py_INCREF(Py_None
); resultobj
= Py_None
;
6834 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 wxFileSystem::CleanUpHandlers();
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 Py_INCREF(Py_None
); resultobj
= Py_None
;
6855 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxString
*arg1
= 0 ;
6859 bool temp1
= False
;
6860 PyObject
* obj0
= 0 ;
6862 (char *) "filename", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6867 arg1
= wxString_in_helper(obj0
);
6868 if (arg1
== NULL
) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6899 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6902 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6904 return Py_BuildValue((char *)"");
6906 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxString
*arg1
= 0 ;
6910 bool temp1
= False
;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "url", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6918 arg1
= wxString_in_helper(obj0
);
6919 if (arg1
== NULL
) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6950 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
;
6952 wxInternetFSHandler
*result
;
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6972 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6975 wxString
*arg2
= 0 ;
6977 bool temp2
= False
;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6981 (char *) "self",(char *) "location", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6987 arg2
= wxString_in_helper(obj1
);
6988 if (arg2
== NULL
) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7013 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7015 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7016 wxFileSystem
*arg2
= 0 ;
7017 wxString
*arg3
= 0 ;
7019 bool temp3
= False
;
7020 PyObject
* obj0
= 0 ;
7021 PyObject
* obj1
= 0 ;
7022 PyObject
* obj2
= 0 ;
7024 (char *) "self",(char *) "fs",(char *) "location", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7034 arg3
= wxString_in_helper(obj2
);
7035 if (arg3
== NULL
) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= wxPyMake_wxObject(result
);
7062 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7065 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7067 return Py_BuildValue((char *)"");
7069 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxZipFSHandler
*result
;
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
7091 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7094 wxString
*arg2
= 0 ;
7096 bool temp2
= False
;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "location", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7106 arg2
= wxString_in_helper(obj1
);
7107 if (arg2
== NULL
) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7132 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7135 wxFileSystem
*arg2
= 0 ;
7136 wxString
*arg3
= 0 ;
7138 bool temp3
= False
;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 PyObject
* obj2
= 0 ;
7143 (char *) "self",(char *) "fs",(char *) "location", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7153 arg3
= wxString_in_helper(obj2
);
7154 if (arg3
== NULL
) SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= wxPyMake_wxObject(result
);
7181 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7184 wxString
*arg2
= 0 ;
7185 int arg3
= (int) 0 ;
7187 bool temp2
= False
;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7190 PyObject
* obj2
= 0 ;
7192 (char *) "self",(char *) "spec",(char *) "flags", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7198 arg2
= wxString_in_helper(obj1
);
7199 if (arg2
== NULL
) SWIG_fail
;
7204 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7236 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7242 (char *) "self", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (arg1
)->FindNext();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7267 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7270 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7272 return Py_BuildValue((char *)"");
7274 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxString
*arg1
= 0 ;
7279 bool temp1
= False
;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 PyObject
* obj2
= 0 ;
7284 (char *) "filename",(char *) "image",(char *) "type", NULL
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7289 arg1
= wxString_in_helper(obj0
);
7290 if (arg1
== NULL
) SWIG_fail
;
7293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7295 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7298 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7323 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxString
*arg1
= 0 ;
7326 wxBitmap
*arg2
= 0 ;
7328 bool temp1
= False
;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7331 PyObject
* obj2
= 0 ;
7333 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7338 arg1
= wxString_in_helper(obj0
);
7339 if (arg1
== NULL
) SWIG_fail
;
7342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7344 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7347 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxString
*arg1
= 0 ;
7375 PyObject
*arg2
= (PyObject
*) 0 ;
7376 bool temp1
= False
;
7377 PyObject
* obj0
= 0 ;
7378 PyObject
* obj1
= 0 ;
7380 (char *) "filename",(char *) "data", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7385 arg1
= wxString_in_helper(obj0
);
7386 if (arg1
== NULL
) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxMemoryFSHandler
*result
;
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
7434 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxString
*arg1
= 0 ;
7437 bool temp1
= False
;
7438 PyObject
* obj0
= 0 ;
7440 (char *) "filename", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7445 arg1
= wxString_in_helper(obj0
);
7446 if (arg1
== NULL
) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7474 wxString
*arg2
= 0 ;
7476 bool temp2
= False
;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj1
= 0 ;
7480 (char *) "self",(char *) "location", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7486 arg2
= wxString_in_helper(obj1
);
7487 if (arg2
== NULL
) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7512 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7515 wxFileSystem
*arg2
= 0 ;
7516 wxString
*arg3
= 0 ;
7518 bool temp3
= False
;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7521 PyObject
* obj2
= 0 ;
7523 (char *) "self",(char *) "fs",(char *) "location", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7533 arg3
= wxString_in_helper(obj2
);
7534 if (arg3
== NULL
) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= wxPyMake_wxObject(result
);
7561 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7564 wxString
*arg2
= 0 ;
7565 int arg3
= (int) 0 ;
7567 bool temp2
= False
;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj1
= 0 ;
7570 PyObject
* obj2
= 0 ;
7572 (char *) "self",(char *) "spec",(char *) "flags", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7578 arg2
= wxString_in_helper(obj1
);
7579 if (arg2
== NULL
) SWIG_fail
;
7584 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7616 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "self", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= (arg1
)->FindNext();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7647 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7650 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7652 return Py_BuildValue((char *)"");
7654 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7660 (char *) "self", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (arg1
)->GetName();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7685 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7691 (char *) "self", NULL
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (arg1
)->GetExtension();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7716 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (long)(arg1
)->GetType();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_PyObj_FromLong((long)result
);
7741 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (arg1
)->GetMimeType();
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7772 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7775 wxString
*arg2
= 0 ;
7777 bool temp2
= False
;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7781 (char *) "self",(char *) "name", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7787 arg2
= wxString_in_helper(obj1
);
7788 if (arg2
== NULL
) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7813 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7816 wxString
*arg2
= 0 ;
7817 bool temp2
= False
;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "name", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7827 arg2
= wxString_in_helper(obj1
);
7828 if (arg2
== NULL
) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 (arg1
)->SetName((wxString
const &)*arg2
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 Py_INCREF(Py_None
); resultobj
= Py_None
;
7853 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7856 wxString
*arg2
= 0 ;
7857 bool temp2
= False
;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7861 (char *) "self",(char *) "extension", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7867 arg2
= wxString_in_helper(obj1
);
7868 if (arg2
== NULL
) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 (arg1
)->SetExtension((wxString
const &)*arg2
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 Py_INCREF(Py_None
); resultobj
= Py_None
;
7893 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7900 (char *) "self",(char *) "type", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
7904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7906 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 (arg1
)->SetType(arg2
);
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 Py_INCREF(Py_None
); resultobj
= Py_None
;
7923 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7926 wxString
*arg2
= 0 ;
7927 bool temp2
= False
;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7931 (char *) "self",(char *) "mimetype", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7937 arg2
= wxString_in_helper(obj1
);
7938 if (arg2
== NULL
) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7963 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7966 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7968 return Py_BuildValue((char *)"");
7970 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxImageHistogram
*result
;
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (wxImageHistogram
*)new wxImageHistogram();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7992 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 unsigned char arg1
;
7995 unsigned char arg2
;
7996 unsigned char arg3
;
7997 unsigned long result
;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 PyObject
* obj2
= 0 ;
8002 (char *) "r",(char *) "g",(char *) "b", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8007 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8011 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
8032 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8035 unsigned char *arg2
= (unsigned char *) 0 ;
8036 unsigned char *arg3
= (unsigned char *) 0 ;
8037 unsigned char *arg4
= (unsigned char *) 0 ;
8038 unsigned char arg5
= (unsigned char) 1 ;
8039 unsigned char arg6
= (unsigned char) 0 ;
8040 unsigned char arg7
= (unsigned char) 0 ;
8042 unsigned char temp2
;
8043 unsigned char temp3
;
8044 unsigned char temp4
;
8045 PyObject
* obj0
= 0 ;
8046 PyObject
* obj1
= 0 ;
8047 PyObject
* obj2
= 0 ;
8048 PyObject
* obj3
= 0 ;
8050 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8060 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8066 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8072 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8085 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8086 resultobj
= t_output_helper(resultobj
,o
);
8089 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8090 resultobj
= t_output_helper(resultobj
,o
);
8093 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8094 resultobj
= t_output_helper(resultobj
,o
);
8102 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8105 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8107 return Py_BuildValue((char *)"");
8109 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxString
*arg1
= 0 ;
8112 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8113 int arg3
= (int) -1 ;
8115 bool temp1
= False
;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8120 (char *) "name",(char *) "type",(char *) "index", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8125 arg1
= wxString_in_helper(obj0
);
8126 if (arg1
== NULL
) SWIG_fail
;
8131 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8137 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8163 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxImage
*arg1
= (wxImage
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8168 (char *) "self", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8187 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
;
8189 wxString
*arg1
= 0 ;
8190 wxString
*arg2
= 0 ;
8191 int arg3
= (int) -1 ;
8193 bool temp1
= False
;
8194 bool temp2
= False
;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8197 PyObject
* obj2
= 0 ;
8199 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8204 arg1
= wxString_in_helper(obj0
);
8205 if (arg1
== NULL
) SWIG_fail
;
8209 arg2
= wxString_in_helper(obj1
);
8210 if (arg2
== NULL
) SWIG_fail
;
8215 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8249 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxInputStream
*arg1
= 0 ;
8252 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8253 int arg3
= (int) -1 ;
8255 wxPyInputStream
*temp1
;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8259 PyObject
* obj2
= 0 ;
8261 (char *) "stream",(char *) "type",(char *) "index", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8266 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8267 arg1
= temp1
->m_wxis
;
8270 PyErr_Clear(); // clear the failure of the wxPyConvert above
8271 arg1
= wxPyCBInputStream_create(obj0
, False
);
8273 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8281 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8287 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8313 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxInputStream
*arg1
= 0 ;
8316 wxString
*arg2
= 0 ;
8317 int arg3
= (int) -1 ;
8319 wxPyInputStream
*temp1
;
8321 bool temp2
= False
;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8324 PyObject
* obj2
= 0 ;
8326 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8331 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8332 arg1
= temp1
->m_wxis
;
8335 PyErr_Clear(); // clear the failure of the wxPyConvert above
8336 arg1
= wxPyCBInputStream_create(obj0
, False
);
8338 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8345 arg2
= wxString_in_helper(obj1
);
8346 if (arg2
== NULL
) SWIG_fail
;
8351 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8385 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 int arg1
= (int) 0 ;
8388 int arg2
= (int) 0 ;
8389 bool arg3
= (bool) True
;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8393 PyObject
* obj2
= 0 ;
8395 (char *) "width",(char *) "height",(char *) "clear", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8401 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8407 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8413 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8431 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxBitmap
*arg1
= 0 ;
8435 PyObject
* obj0
= 0 ;
8437 (char *) "bitmap", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8459 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8463 unsigned char *arg3
= (unsigned char *) 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 PyObject
* obj2
= 0 ;
8469 (char *) "width",(char *) "height",(char *) "data", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8474 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8478 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8496 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxImage
*arg1
= (wxImage
*) 0 ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8503 PyObject
* obj2
= 0 ;
8505 (char *) "self",(char *) "width",(char *) "height", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 (arg1
)->Create(arg2
,arg3
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8532 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxImage
*arg1
= (wxImage
*) 0 ;
8535 PyObject
* obj0
= 0 ;
8537 (char *) "self", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 Py_INCREF(Py_None
); resultobj
= Py_None
;
8556 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxImage
*arg1
= (wxImage
*) 0 ;
8561 SwigValueWrapper
< wxImage
> result
;
8562 PyObject
* obj0
= 0 ;
8563 PyObject
* obj1
= 0 ;
8564 PyObject
* obj2
= 0 ;
8566 (char *) "self",(char *) "width",(char *) "height", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8572 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8576 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (arg1
)->Scale(arg2
,arg3
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8587 wxImage
* resultptr
;
8588 resultptr
= new wxImage((wxImage
&) result
);
8589 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8597 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxImage
*arg1
= (wxImage
*) 0 ;
8602 SwigValueWrapper
< wxImage
> result
;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 PyObject
* obj2
= 0 ;
8607 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8613 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8628 wxImage
* resultptr
;
8629 resultptr
= new wxImage((wxImage
&) result
);
8630 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8638 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxImage
*arg1
= (wxImage
*) 0 ;
8644 PyObject
* obj0
= 0 ;
8645 PyObject
* obj1
= 0 ;
8646 PyObject
* obj2
= 0 ;
8648 (char *) "self",(char *) "width",(char *) "height", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8654 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8658 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8665 result
= (wxImage
*) &_result_ref
;
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
8678 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxImage
*arg1
= (wxImage
*) 0 ;
8683 unsigned char arg4
;
8684 unsigned char arg5
;
8685 unsigned char arg6
;
8686 PyObject
* obj0
= 0 ;
8687 PyObject
* obj1
= 0 ;
8688 PyObject
* obj2
= 0 ;
8689 PyObject
* obj3
= 0 ;
8690 PyObject
* obj4
= 0 ;
8691 PyObject
* obj5
= 0 ;
8693 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8699 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8711 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8715 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 Py_INCREF(Py_None
); resultobj
= Py_None
;
8732 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxImage
*arg1
= (wxImage
*) 0 ;
8737 unsigned char result
;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8742 (char *) "self",(char *) "x",(char *) "y", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8748 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8769 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
;
8771 wxImage
*arg1
= (wxImage
*) 0 ;
8774 unsigned char result
;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8777 PyObject
* obj2
= 0 ;
8779 (char *) "self",(char *) "x",(char *) "y", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8785 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8806 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxImage
*arg1
= (wxImage
*) 0 ;
8811 unsigned char result
;
8812 PyObject
* obj0
= 0 ;
8813 PyObject
* obj1
= 0 ;
8814 PyObject
* obj2
= 0 ;
8816 (char *) "self",(char *) "x",(char *) "y", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8822 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8826 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8843 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
;
8845 wxImage
*arg1
= (wxImage
*) 0 ;
8848 unsigned char arg4
;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8851 PyObject
* obj2
= 0 ;
8852 PyObject
* obj3
= 0 ;
8854 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8860 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8864 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 Py_INCREF(Py_None
); resultobj
= Py_None
;
8885 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxImage
*arg1
= (wxImage
*) 0 ;
8890 unsigned char result
;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8895 (char *) "self",(char *) "x",(char *) "y", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8922 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxImage
*arg1
= (wxImage
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8928 (char *) "self", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (bool)(arg1
)->HasAlpha();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8947 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxImage
*arg1
= (wxImage
*) 0 ;
8950 byte
*arg2
= (byte
*) 0 ;
8951 byte
*arg3
= (byte
*) 0 ;
8952 byte
*arg4
= (byte
*) 0 ;
8953 byte arg5
= (byte
) 0 ;
8954 byte arg6
= (byte
) 0 ;
8955 byte arg7
= (byte
) 0 ;
8960 PyObject
* obj0
= 0 ;
8961 PyObject
* obj1
= 0 ;
8962 PyObject
* obj2
= 0 ;
8963 PyObject
* obj3
= 0 ;
8965 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8975 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8981 arg6
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8987 arg7
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9000 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9001 resultobj
= t_output_helper(resultobj
,o
);
9004 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9005 resultobj
= t_output_helper(resultobj
,o
);
9008 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9009 resultobj
= t_output_helper(resultobj
,o
);
9017 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxImage
*arg1
= (wxImage
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9028 PyObject
* obj3
= 0 ;
9029 PyObject
* obj4
= 0 ;
9031 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9041 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9045 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj4
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9066 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxString
*arg1
= 0 ;
9070 bool temp1
= False
;
9071 PyObject
* obj0
= 0 ;
9073 (char *) "name", NULL
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9078 arg1
= wxString_in_helper(obj0
);
9079 if (arg1
== NULL
) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9104 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxString
*arg1
= 0 ;
9107 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9109 bool temp1
= False
;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9113 (char *) "name",(char *) "type", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9118 arg1
= wxString_in_helper(obj0
);
9119 if (arg1
== NULL
) SWIG_fail
;
9124 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_PyObj_FromInt((int)result
);
9150 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxImage
*arg1
= (wxImage
*) 0 ;
9153 wxString
*arg2
= 0 ;
9154 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9155 int arg4
= (int) -1 ;
9157 bool temp2
= False
;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 PyObject
* obj2
= 0 ;
9161 PyObject
* obj3
= 0 ;
9163 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9169 arg2
= wxString_in_helper(obj1
);
9170 if (arg2
== NULL
) SWIG_fail
;
9175 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9181 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9207 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxImage
*arg1
= (wxImage
*) 0 ;
9210 wxString
*arg2
= 0 ;
9211 wxString
*arg3
= 0 ;
9212 int arg4
= (int) -1 ;
9214 bool temp2
= False
;
9215 bool temp3
= False
;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 PyObject
* obj2
= 0 ;
9219 PyObject
* obj3
= 0 ;
9221 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9227 arg2
= wxString_in_helper(obj1
);
9228 if (arg2
== NULL
) SWIG_fail
;
9232 arg3
= wxString_in_helper(obj2
);
9233 if (arg3
== NULL
) SWIG_fail
;
9238 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9272 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxImage
*arg1
= (wxImage
*) 0 ;
9275 wxString
*arg2
= 0 ;
9278 bool temp2
= False
;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9281 PyObject
* obj2
= 0 ;
9283 (char *) "self",(char *) "name",(char *) "type", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9289 arg2
= wxString_in_helper(obj1
);
9290 if (arg2
== NULL
) SWIG_fail
;
9294 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9319 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxImage
*arg1
= (wxImage
*) 0 ;
9322 wxString
*arg2
= 0 ;
9323 wxString
*arg3
= 0 ;
9325 bool temp2
= False
;
9326 bool temp3
= False
;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 PyObject
* obj2
= 0 ;
9331 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9337 arg2
= wxString_in_helper(obj1
);
9338 if (arg2
== NULL
) SWIG_fail
;
9342 arg3
= wxString_in_helper(obj2
);
9343 if (arg3
== NULL
) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9376 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxInputStream
*arg1
= 0 ;
9380 wxPyInputStream
*temp1
;
9382 PyObject
* obj0
= 0 ;
9384 (char *) "stream", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9389 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9390 arg1
= temp1
->m_wxis
;
9393 PyErr_Clear(); // clear the failure of the wxPyConvert above
9394 arg1
= wxPyCBInputStream_create(obj0
, False
);
9396 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (bool)wxImage::CanRead(*arg1
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9424 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxImage
*arg1
= (wxImage
*) 0 ;
9427 wxInputStream
*arg2
= 0 ;
9428 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9429 int arg4
= (int) -1 ;
9431 wxPyInputStream
*temp2
;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 PyObject
* obj2
= 0 ;
9436 PyObject
* obj3
= 0 ;
9438 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9444 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9445 arg2
= temp2
->m_wxis
;
9448 PyErr_Clear(); // clear the failure of the wxPyConvert above
9449 arg2
= wxPyCBInputStream_create(obj1
, False
);
9451 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9459 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9465 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9491 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxImage
*arg1
= (wxImage
*) 0 ;
9494 wxInputStream
*arg2
= 0 ;
9495 wxString
*arg3
= 0 ;
9496 int arg4
= (int) -1 ;
9498 wxPyInputStream
*temp2
;
9500 bool temp3
= False
;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9503 PyObject
* obj2
= 0 ;
9504 PyObject
* obj3
= 0 ;
9506 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9512 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9513 arg2
= temp2
->m_wxis
;
9516 PyErr_Clear(); // clear the failure of the wxPyConvert above
9517 arg2
= wxPyCBInputStream_create(obj1
, False
);
9519 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9526 arg3
= wxString_in_helper(obj2
);
9527 if (arg3
== NULL
) SWIG_fail
;
9532 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9566 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxImage
*arg1
= (wxImage
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (bool)(arg1
)->Ok();
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9591 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxImage
*arg1
= (wxImage
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9597 (char *) "self", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (int)(arg1
)->GetWidth();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_PyObj_FromInt((int)result
);
9616 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxImage
*arg1
= (wxImage
*) 0 ;
9620 PyObject
* obj0
= 0 ;
9622 (char *) "self", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (int)(arg1
)->GetHeight();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_PyObj_FromInt((int)result
);
9641 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxImage
*arg1
= (wxImage
*) 0 ;
9645 SwigValueWrapper
< wxImage
> result
;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9650 (char *) "self",(char *) "rect", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9657 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9667 wxImage
* resultptr
;
9668 resultptr
= new wxImage((wxImage
&) result
);
9669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9677 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxImage
*arg1
= (wxImage
*) 0 ;
9680 SwigValueWrapper
< wxImage
> result
;
9681 PyObject
* obj0
= 0 ;
9683 (char *) "self", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (arg1
)->Copy();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 wxImage
* resultptr
;
9697 resultptr
= new wxImage((wxImage
&) result
);
9698 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9706 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxImage
*arg1
= (wxImage
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 PyObject
* obj2
= 0 ;
9715 PyObject
* obj3
= 0 ;
9717 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9727 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 Py_INCREF(Py_None
); resultobj
= Py_None
;
9748 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxImage
*arg1
= (wxImage
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9754 (char *) "self", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (PyObject
*)wxImage_GetData(arg1
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9773 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxImage
*arg1
= (wxImage
*) 0 ;
9776 PyObject
*arg2
= (PyObject
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9780 (char *) "self",(char *) "data", NULL
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
9784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 wxImage_SetData(arg1
,arg2
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 Py_INCREF(Py_None
); resultobj
= Py_None
;
9800 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxImage
*arg1
= (wxImage
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 (char *) "self", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9825 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxImage
*arg1
= (wxImage
*) 0 ;
9828 PyObject
*arg2
= (PyObject
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9830 PyObject
* obj1
= 0 ;
9832 (char *) "self",(char *) "data", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 wxImage_SetDataBuffer(arg1
,arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 Py_INCREF(Py_None
); resultobj
= Py_None
;
9852 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxImage
*arg1
= (wxImage
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9858 (char *) "self", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
9862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9877 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxImage
*arg1
= (wxImage
*) 0 ;
9880 PyObject
*arg2
= (PyObject
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9884 (char *) "self",(char *) "data", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 wxImage_SetAlphaData(arg1
,arg2
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 Py_INCREF(Py_None
); resultobj
= Py_None
;
9904 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxImage
*arg1
= (wxImage
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "self", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9929 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxImage
*arg1
= (wxImage
*) 0 ;
9932 PyObject
*arg2
= (PyObject
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9936 (char *) "self",(char *) "data", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 wxImage_SetAlphaBuffer(arg1
,arg2
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 Py_INCREF(Py_None
); resultobj
= Py_None
;
9956 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxImage
*arg1
= (wxImage
*) 0 ;
9959 unsigned char arg2
;
9960 unsigned char arg3
;
9961 unsigned char arg4
;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 PyObject
* obj2
= 0 ;
9965 PyObject
* obj3
= 0 ;
9967 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9973 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 Py_INCREF(Py_None
); resultobj
= Py_None
;
9998 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxImage
*arg1
= (wxImage
*) 0 ;
10001 unsigned char result
;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= (unsigned char)(arg1
)->GetMaskRed();
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10023 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxImage
*arg1
= (wxImage
*) 0 ;
10026 unsigned char result
;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (unsigned char)(arg1
)->GetMaskGreen();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10048 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxImage
*arg1
= (wxImage
*) 0 ;
10051 unsigned char result
;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (unsigned char)(arg1
)->GetMaskBlue();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10073 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxImage
*arg1
= (wxImage
*) 0 ;
10076 bool arg2
= (bool) True
;
10077 PyObject
* obj0
= 0 ;
10078 PyObject
* obj1
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "self",(char *) "mask", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10087 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 (arg1
)->SetMask(arg2
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 Py_INCREF(Py_None
); resultobj
= Py_None
;
10105 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxImage
*arg1
= (wxImage
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (bool)(arg1
)->HasMask();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10130 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxImage
*arg1
= (wxImage
*) 0 ;
10134 wxPoint
*arg3
= 0 ;
10135 bool arg4
= (bool) True
;
10136 wxPoint
*arg5
= (wxPoint
*) NULL
;
10137 SwigValueWrapper
< wxImage
> result
;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 PyObject
* obj2
= 0 ;
10142 PyObject
* obj3
= 0 ;
10143 PyObject
* obj4
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10151 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10156 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10160 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10165 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10175 wxImage
* resultptr
;
10176 resultptr
= new wxImage((wxImage
&) result
);
10177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10185 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxImage
*arg1
= (wxImage
*) 0 ;
10188 bool arg2
= (bool) True
;
10189 SwigValueWrapper
< wxImage
> result
;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self",(char *) "clockwise", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10200 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (arg1
)->Rotate90(arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 wxImage
* resultptr
;
10213 resultptr
= new wxImage((wxImage
&) result
);
10214 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10222 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxImage
*arg1
= (wxImage
*) 0 ;
10225 bool arg2
= (bool) True
;
10226 SwigValueWrapper
< wxImage
> result
;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self",(char *) "horizontally", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10237 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (arg1
)->Mirror(arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10249 wxImage
* resultptr
;
10250 resultptr
= new wxImage((wxImage
&) result
);
10251 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10259 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxImage
*arg1
= (wxImage
*) 0 ;
10262 unsigned char arg2
;
10263 unsigned char arg3
;
10264 unsigned char arg4
;
10265 unsigned char arg5
;
10266 unsigned char arg6
;
10267 unsigned char arg7
;
10268 PyObject
* obj0
= 0 ;
10269 PyObject
* obj1
= 0 ;
10270 PyObject
* obj2
= 0 ;
10271 PyObject
* obj3
= 0 ;
10272 PyObject
* obj4
= 0 ;
10273 PyObject
* obj5
= 0 ;
10274 PyObject
* obj6
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10282 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10286 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10294 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj6
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 Py_INCREF(Py_None
); resultobj
= Py_None
;
10319 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxImage
*arg1
= (wxImage
*) 0 ;
10322 unsigned char arg2
;
10323 unsigned char arg3
;
10324 unsigned char arg4
;
10325 SwigValueWrapper
< wxImage
> result
;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 PyObject
* obj2
= 0 ;
10329 PyObject
* obj3
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10337 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10356 wxImage
* resultptr
;
10357 resultptr
= new wxImage((wxImage
&) result
);
10358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10366 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxImage
*arg1
= (wxImage
*) 0 ;
10369 wxString
*arg2
= 0 ;
10370 wxString
*arg3
= 0 ;
10371 bool temp2
= False
;
10372 bool temp3
= False
;
10373 PyObject
* obj0
= 0 ;
10374 PyObject
* obj1
= 0 ;
10375 PyObject
* obj2
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "name",(char *) "value", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10383 arg2
= wxString_in_helper(obj1
);
10384 if (arg2
== NULL
) SWIG_fail
;
10388 arg3
= wxString_in_helper(obj2
);
10389 if (arg3
== NULL
) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 Py_INCREF(Py_None
); resultobj
= Py_None
;
10422 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxImage
*arg1
= (wxImage
*) 0 ;
10425 wxString
*arg2
= 0 ;
10427 bool temp2
= False
;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 PyObject
* obj2
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "name",(char *) "value", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10438 arg2
= wxString_in_helper(obj1
);
10439 if (arg2
== NULL
) SWIG_fail
;
10443 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 Py_INCREF(Py_None
); resultobj
= Py_None
;
10468 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
;
10470 wxImage
*arg1
= (wxImage
*) 0 ;
10471 wxString
*arg2
= 0 ;
10473 bool temp2
= False
;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self",(char *) "name", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10483 arg2
= wxString_in_helper(obj1
);
10484 if (arg2
== NULL
) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10515 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxImage
*arg1
= (wxImage
*) 0 ;
10518 wxString
*arg2
= 0 ;
10520 bool temp2
= False
;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self",(char *) "name", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10530 arg2
= wxString_in_helper(obj1
);
10531 if (arg2
== NULL
) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_PyObj_FromInt((int)result
);
10556 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxImage
*arg1
= (wxImage
*) 0 ;
10559 wxString
*arg2
= 0 ;
10561 bool temp2
= False
;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self",(char *) "name", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10571 arg2
= wxString_in_helper(obj1
);
10572 if (arg2
== NULL
) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10597 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxImage
*arg1
= (wxImage
*) 0 ;
10600 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10601 unsigned long result
;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self",(char *) "stopafter", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10612 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10630 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxImage
*arg1
= (wxImage
*) 0 ;
10633 wxImageHistogram
*arg2
= 0 ;
10634 unsigned long result
;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self",(char *) "h", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10644 if (arg2
== NULL
) {
10645 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10661 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10664 PyObject
* obj0
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "handler", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 wxImage::AddHandler(arg1
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 Py_INCREF(Py_None
); resultobj
= Py_None
;
10685 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "handler", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 wxImage::InsertHandler(arg1
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxString
*arg1
= 0 ;
10713 bool temp1
= False
;
10714 PyObject
* obj0
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "name", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10721 arg1
= wxString_in_helper(obj0
);
10722 if (arg1
== NULL
) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10747 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
;
10750 char *kwnames
[] = {
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= wxImage::GetImageExtWildcard();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10775 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxImage
*arg1
= (wxImage
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= wxImage_ConvertToBitmap(arg1
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10794 wxBitmap
* resultptr
;
10795 resultptr
= new wxBitmap((wxBitmap
&) result
);
10796 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10804 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxImage
*arg1
= (wxImage
*) 0 ;
10807 unsigned char arg2
;
10808 unsigned char arg3
;
10809 unsigned char arg4
;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 PyObject
* obj2
= 0 ;
10814 PyObject
* obj3
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10822 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 wxBitmap
* resultptr
;
10842 resultptr
= new wxBitmap((wxBitmap
&) result
);
10843 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10851 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
10853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10854 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
10856 return Py_BuildValue((char *)"");
10858 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 char *kwnames
[] = {
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 wxInitAllImageHandlers();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static int _wrap_NullImage_set(PyObject
*) {
10880 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
10885 static PyObject
*_wrap_NullImage_get() {
10888 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
10893 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
10894 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
10899 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
10904 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10906 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10913 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
10914 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10919 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10924 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10926 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10933 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
10934 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10939 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10944 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10946 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10953 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
10954 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10959 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10964 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10966 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10973 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
10974 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10979 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10984 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10986 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10993 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
;
10995 wxBMPHandler
*result
;
10996 char *kwnames
[] = {
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (wxBMPHandler
*)new wxBMPHandler();
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
11015 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11018 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11020 return Py_BuildValue((char *)"");
11022 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxICOHandler
*result
;
11025 char *kwnames
[] = {
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (wxICOHandler
*)new wxICOHandler();
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
11044 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11047 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11049 return Py_BuildValue((char *)"");
11051 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxCURHandler
*result
;
11054 char *kwnames
[] = {
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (wxCURHandler
*)new wxCURHandler();
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
11073 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11076 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11078 return Py_BuildValue((char *)"");
11080 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxANIHandler
*result
;
11083 char *kwnames
[] = {
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (wxANIHandler
*)new wxANIHandler();
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
11102 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11105 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11107 return Py_BuildValue((char *)"");
11109 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxPNGHandler
*result
;
11112 char *kwnames
[] = {
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (wxPNGHandler
*)new wxPNGHandler();
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
11131 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11134 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11136 return Py_BuildValue((char *)"");
11138 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxGIFHandler
*result
;
11141 char *kwnames
[] = {
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 result
= (wxGIFHandler
*)new wxGIFHandler();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
11160 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11163 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11165 return Py_BuildValue((char *)"");
11167 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxPCXHandler
*result
;
11170 char *kwnames
[] = {
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (wxPCXHandler
*)new wxPCXHandler();
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
11189 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11192 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11194 return Py_BuildValue((char *)"");
11196 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxJPEGHandler
*result
;
11199 char *kwnames
[] = {
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
11218 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11221 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11223 return Py_BuildValue((char *)"");
11225 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxPNMHandler
*result
;
11228 char *kwnames
[] = {
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (wxPNMHandler
*)new wxPNMHandler();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
11247 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11250 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11252 return Py_BuildValue((char *)"");
11254 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxXPMHandler
*result
;
11257 char *kwnames
[] = {
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (wxXPMHandler
*)new wxXPMHandler();
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
11276 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11279 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11281 return Py_BuildValue((char *)"");
11283 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxTIFFHandler
*result
;
11286 char *kwnames
[] = {
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
11305 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11308 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11310 return Py_BuildValue((char *)"");
11312 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxEvtHandler
*result
;
11315 char *kwnames
[] = {
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxEvtHandler
*)new wxEvtHandler();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= wxPyMake_wxObject(result
);
11336 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11339 wxEvtHandler
*result
;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= wxPyMake_wxObject(result
);
11363 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11366 wxEvtHandler
*result
;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= wxPyMake_wxObject(result
);
11390 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11393 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self",(char *) "handler", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 (arg1
)->SetNextHandler(arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 Py_INCREF(Py_None
); resultobj
= Py_None
;
11417 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11420 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 PyObject
* obj1
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "self",(char *) "handler", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 (arg1
)->SetPreviousHandler(arg2
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 Py_INCREF(Py_None
); resultobj
= Py_None
;
11444 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11448 PyObject
* obj0
= 0 ;
11449 char *kwnames
[] = {
11450 (char *) "self", NULL
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11469 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "enabled", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11482 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SetEvtHandlerEnabled(arg2
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11502 wxEvent
*arg2
= 0 ;
11504 PyObject
* obj0
= 0 ;
11505 PyObject
* obj1
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self",(char *) "event", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11513 if (arg2
== NULL
) {
11514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11530 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11533 wxEvent
*arg2
= 0 ;
11534 PyObject
* obj0
= 0 ;
11535 PyObject
* obj1
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self",(char *) "event", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11543 if (arg2
== NULL
) {
11544 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 (arg1
)->AddPendingEvent(*arg2
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 Py_INCREF(Py_None
); resultobj
= Py_None
;
11560 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "self", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 (arg1
)->ProcessPendingEvents();
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 Py_INCREF(Py_None
); resultobj
= Py_None
;
11584 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11586 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11590 PyObject
*arg5
= (PyObject
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 PyObject
* obj1
= 0 ;
11593 PyObject
* obj2
= 0 ;
11594 PyObject
* obj3
= 0 ;
11595 PyObject
* obj4
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11603 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11611 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 Py_INCREF(Py_None
); resultobj
= Py_None
;
11629 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11633 int arg3
= (int) -1 ;
11634 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 PyObject
* obj3
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11652 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11658 arg4
= (wxEventType
) SWIG_PyObj_AsInt(obj3
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11676 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11679 PyObject
*arg2
= (PyObject
*) 0 ;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "_self", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 wxEvtHandler__setOORInfo(arg1
,arg2
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11706 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11708 return Py_BuildValue((char *)"");
11710 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxEventType result
;
11713 char *kwnames
[] = {
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 result
= (wxEventType
)wxNewEventType();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= SWIG_PyObj_FromInt((int)result
);
11732 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxEvent
*arg1
= (wxEvent
*) 0 ;
11735 PyObject
* obj0
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 Py_INCREF(Py_None
); resultobj
= Py_None
;
11756 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxEvent
*arg1
= (wxEvent
*) 0 ;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self",(char *) "typ", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11769 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 (arg1
)->SetEventType(arg2
);
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 Py_INCREF(Py_None
); resultobj
= Py_None
;
11786 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxEvent
*arg1
= (wxEvent
*) 0 ;
11789 wxEventType result
;
11790 PyObject
* obj0
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_PyObj_FromInt((int)result
);
11811 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11813 wxEvent
*arg1
= (wxEvent
*) 0 ;
11815 PyObject
* obj0
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= wxPyMake_wxObject(result
);
11838 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxEvent
*arg1
= (wxEvent
*) 0 ;
11841 wxObject
*arg2
= (wxObject
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self",(char *) "obj", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->SetEventObject(arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 Py_INCREF(Py_None
); resultobj
= Py_None
;
11865 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxEvent
*arg1
= (wxEvent
*) 0 ;
11869 PyObject
* obj0
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_PyObj_FromLong((long)result
);
11890 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxEvent
*arg1
= (wxEvent
*) 0 ;
11893 long arg2
= (long) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 PyObject
* obj1
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self",(char *) "ts", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11904 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 (arg1
)->SetTimestamp(arg2
);
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 Py_INCREF(Py_None
); resultobj
= Py_None
;
11922 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxEvent
*arg1
= (wxEvent
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 char *kwnames
[] = {
11928 (char *) "self", NULL
11931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
11932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (int)((wxEvent
const *)arg1
)->GetId();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= SWIG_PyObj_FromInt((int)result
);
11947 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxEvent
*arg1
= (wxEvent
*) 0 ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "self",(char *) "Id", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11960 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->SetId(arg2
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 Py_INCREF(Py_None
); resultobj
= Py_None
;
11977 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxEvent
*arg1
= (wxEvent
*) 0 ;
11981 PyObject
* obj0
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12002 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxEvent
*arg1
= (wxEvent
*) 0 ;
12005 bool arg2
= (bool) True
;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "skip", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12016 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 (arg1
)->Skip(arg2
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 Py_INCREF(Py_None
); resultobj
= Py_None
;
12034 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxEvent
*arg1
= (wxEvent
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12059 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxEvent
*arg1
= (wxEvent
*) 0 ;
12063 PyObject
* obj0
= 0 ;
12064 char *kwnames
[] = {
12065 (char *) "self", NULL
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12084 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxEvent
*arg1
= (wxEvent
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= (int)(arg1
)->StopPropagation();
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= SWIG_PyObj_FromInt((int)result
);
12109 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxEvent
*arg1
= (wxEvent
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self",(char *) "propagationLevel", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 (arg1
)->ResumePropagation(arg2
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 Py_INCREF(Py_None
); resultobj
= Py_None
;
12139 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxEvent
*arg1
= (wxEvent
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (wxEvent
*)(arg1
)->Clone();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12164 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12167 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12169 return Py_BuildValue((char *)"");
12171 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxEvent
*arg1
= 0 ;
12174 wxPropagationDisabler
*result
;
12175 PyObject
* obj0
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "event", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12182 if (arg1
== NULL
) {
12183 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
12199 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 Py_INCREF(Py_None
); resultobj
= Py_None
;
12223 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12226 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12228 return Py_BuildValue((char *)"");
12230 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxEvent
*arg1
= 0 ;
12233 wxPropagateOnce
*result
;
12234 PyObject
* obj0
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "event", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12241 if (arg1
== NULL
) {
12242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
12258 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12261 PyObject
* obj0
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 Py_INCREF(Py_None
); resultobj
= Py_None
;
12282 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12285 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12287 return Py_BuildValue((char *)"");
12289 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12292 int arg2
= (int) 0 ;
12293 wxCommandEvent
*result
;
12294 PyObject
* obj0
= 0 ;
12295 PyObject
* obj1
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "commandType",(char *) "winid", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12303 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12309 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
12327 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= SWIG_PyObj_FromInt((int)result
);
12352 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12355 wxString
*arg2
= 0 ;
12356 bool temp2
= False
;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self",(char *) "s", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12366 arg2
= wxString_in_helper(obj1
);
12367 if (arg2
== NULL
) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 (arg1
)->SetString((wxString
const &)*arg2
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12423 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12448 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12473 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12477 PyObject
* obj0
= 0 ;
12478 PyObject
* obj1
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self",(char *) "extraLong", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12486 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 (arg1
)->SetExtraLong(arg2
);
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 Py_INCREF(Py_None
); resultobj
= Py_None
;
12503 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12507 PyObject
* obj0
= 0 ;
12508 char *kwnames
[] = {
12509 (char *) "self", NULL
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= SWIG_PyObj_FromLong((long)result
);
12528 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "i", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12541 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 (arg1
)->SetInt(arg2
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_PyObj_FromLong((long)result
);
12583 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12608 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12611 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12613 return Py_BuildValue((char *)"");
12615 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
;
12617 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12618 int arg2
= (int) 0 ;
12619 wxNotifyEvent
*result
;
12620 PyObject
* obj0
= 0 ;
12621 PyObject
* obj1
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "commandType",(char *) "winid", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12629 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12635 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
12653 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 Py_INCREF(Py_None
); resultobj
= Py_None
;
12677 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12680 PyObject
* obj0
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 Py_INCREF(Py_None
); resultobj
= Py_None
;
12701 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12702 PyObject
*resultobj
;
12703 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (bool)(arg1
)->IsAllowed();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12726 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12729 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12731 return Py_BuildValue((char *)"");
12733 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12736 int arg2
= (int) 0 ;
12737 int arg3
= (int) 0 ;
12738 int arg4
= (int) 0 ;
12739 wxScrollEvent
*result
;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 PyObject
* obj2
= 0 ;
12743 PyObject
* obj3
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12751 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12763 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12769 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
12787 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_PyObj_FromInt((int)result
);
12812 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= SWIG_PyObj_FromInt((int)result
);
12837 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self",(char *) "orient", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12850 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 (arg1
)->SetOrientation(arg2
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 Py_INCREF(Py_None
); resultobj
= Py_None
;
12867 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "pos", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12880 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetPosition(arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12900 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
12902 return Py_BuildValue((char *)"");
12904 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12907 int arg2
= (int) 0 ;
12908 int arg3
= (int) 0 ;
12909 wxScrollWinEvent
*result
;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12920 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12932 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
12950 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12954 PyObject
* obj0
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "self", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_PyObj_FromInt((int)result
);
12975 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12979 PyObject
* obj0
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_PyObj_FromInt((int)result
);
13000 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13004 PyObject
* obj0
= 0 ;
13005 PyObject
* obj1
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self",(char *) "orient", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13013 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 (arg1
)->SetOrientation(arg2
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 Py_INCREF(Py_None
); resultobj
= Py_None
;
13030 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
;
13032 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self",(char *) "pos", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 (arg1
)->SetPosition(arg2
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 Py_INCREF(Py_None
); resultobj
= Py_None
;
13060 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13063 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13065 return Py_BuildValue((char *)"");
13067 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13070 wxMouseEvent
*result
;
13071 PyObject
* obj0
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "mouseType", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13079 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= wxPyMake_wxObject(result
);
13099 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13124 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13127 int arg2
= (int) wxMOUSE_BTN_ANY
;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self",(char *) "but", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13139 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13157 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13160 int arg2
= (int) wxMOUSE_BTN_ANY
;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self",(char *) "but", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13172 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13190 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13193 int arg2
= (int) wxMOUSE_BTN_ANY
;
13195 PyObject
* obj0
= 0 ;
13196 PyObject
* obj1
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self",(char *) "but", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13205 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13223 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 PyObject
* obj1
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self",(char *) "but", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13254 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "but", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13268 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13285 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13289 PyObject
* obj0
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_PyObj_FromInt((int)result
);
13310 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13335 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13360 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13385 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13410 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13435 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13460 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13485 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13510 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13514 PyObject
* obj0
= 0 ;
13515 char *kwnames
[] = {
13516 (char *) "self", NULL
13519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13535 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13560 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13585 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13589 PyObject
* obj0
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13610 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13635 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
;
13637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13639 PyObject
* obj0
= 0 ;
13640 char *kwnames
[] = {
13641 (char *) "self", NULL
13644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (bool)(arg1
)->LeftIsDown();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13660 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 result
= (bool)(arg1
)->MiddleIsDown();
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13685 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (bool)(arg1
)->RightIsDown();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13710 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13735 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13760 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13785 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13789 PyObject
* obj0
= 0 ;
13790 char *kwnames
[] = {
13791 (char *) "self", NULL
13794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
13795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13810 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (arg1
)->GetPosition();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13829 wxPoint
* resultptr
;
13830 resultptr
= new wxPoint((wxPoint
&) result
);
13831 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13839 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13842 long *arg2
= (long *) 0 ;
13843 long *arg3
= (long *) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 (arg1
)->GetPosition(arg2
,arg3
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 Py_INCREF(Py_None
); resultobj
= Py_None
;
13864 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13865 resultobj
= t_output_helper(resultobj
,o
);
13868 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13869 resultobj
= t_output_helper(resultobj
,o
);
13877 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "dc", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13891 if (arg2
== NULL
) {
13892 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13902 wxPoint
* resultptr
;
13903 resultptr
= new wxPoint((wxPoint
&) result
);
13904 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13912 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_PyObj_FromInt((int)result
);
13937 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13941 PyObject
* obj0
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_PyObj_FromInt((int)result
);
13962 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= SWIG_PyObj_FromInt((int)result
);
13987 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_PyObj_FromInt((int)result
);
14012 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_PyObj_FromInt((int)result
);
14037 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14062 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self",(char *) "m_x", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14075 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 if (arg1
) (arg1
)->m_x
= arg2
;
14080 Py_INCREF(Py_None
); resultobj
= Py_None
;
14087 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14091 PyObject
* obj0
= 0 ;
14092 char *kwnames
[] = {
14093 (char *) "self", NULL
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14098 result
= (int) ((arg1
)->m_x
);
14100 resultobj
= SWIG_PyObj_FromInt((int)result
);
14107 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self",(char *) "m_y", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14120 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 if (arg1
) (arg1
)->m_y
= arg2
;
14125 Py_INCREF(Py_None
); resultobj
= Py_None
;
14132 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 char *kwnames
[] = {
14138 (char *) "self", NULL
14141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14143 result
= (int) ((arg1
)->m_y
);
14145 resultobj
= SWIG_PyObj_FromInt((int)result
);
14152 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self",(char *) "m_leftDown", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14165 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14177 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14188 result
= (bool) ((arg1
)->m_leftDown
);
14190 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14197 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self",(char *) "m_middleDown", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14210 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14213 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14215 Py_INCREF(Py_None
); resultobj
= Py_None
;
14222 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14233 result
= (bool) ((arg1
)->m_middleDown
);
14235 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14242 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self",(char *) "m_rightDown", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14255 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14260 Py_INCREF(Py_None
); resultobj
= Py_None
;
14267 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14278 result
= (bool) ((arg1
)->m_rightDown
);
14280 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14287 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "m_controlDown", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14300 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14305 Py_INCREF(Py_None
); resultobj
= Py_None
;
14312 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14323 result
= (bool) ((arg1
)->m_controlDown
);
14325 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14332 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self",(char *) "m_shiftDown", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14345 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14350 Py_INCREF(Py_None
); resultobj
= Py_None
;
14357 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
;
14359 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14368 result
= (bool) ((arg1
)->m_shiftDown
);
14370 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14377 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
;
14379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self",(char *) "m_altDown", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14390 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 if (arg1
) (arg1
)->m_altDown
= arg2
;
14395 Py_INCREF(Py_None
); resultobj
= Py_None
;
14402 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14413 result
= (bool) ((arg1
)->m_altDown
);
14415 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14422 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self",(char *) "m_metaDown", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14435 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14440 Py_INCREF(Py_None
); resultobj
= Py_None
;
14447 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14451 PyObject
* obj0
= 0 ;
14452 char *kwnames
[] = {
14453 (char *) "self", NULL
14456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14458 result
= (bool) ((arg1
)->m_metaDown
);
14460 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14467 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 PyObject
* obj1
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self",(char *) "m_wheelRotation", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14480 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14485 Py_INCREF(Py_None
); resultobj
= Py_None
;
14492 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14503 result
= (int) ((arg1
)->m_wheelRotation
);
14505 resultobj
= SWIG_PyObj_FromInt((int)result
);
14512 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14516 PyObject
* obj0
= 0 ;
14517 PyObject
* obj1
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "m_wheelDelta", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14525 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14530 Py_INCREF(Py_None
); resultobj
= Py_None
;
14537 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14548 result
= (int) ((arg1
)->m_wheelDelta
);
14550 resultobj
= SWIG_PyObj_FromInt((int)result
);
14557 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "self",(char *) "m_linesPerAction", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14570 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14575 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14593 result
= (int) ((arg1
)->m_linesPerAction
);
14595 resultobj
= SWIG_PyObj_FromInt((int)result
);
14602 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14605 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14607 return Py_BuildValue((char *)"");
14609 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 int arg1
= (int) 0 ;
14612 int arg2
= (int) 0 ;
14613 wxSetCursorEvent
*result
;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "x",(char *) "y", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14623 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14629 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
14647 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14651 PyObject
* obj0
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= SWIG_PyObj_FromInt((int)result
);
14672 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_PyObj_FromInt((int)result
);
14697 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14700 wxCursor
*arg2
= 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self",(char *) "cursor", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14709 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14710 if (arg2
== NULL
) {
14711 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14727 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14742 result
= (wxCursor
*) &_result_ref
;
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
14755 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
14765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14780 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14783 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
14785 return Py_BuildValue((char *)"");
14787 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14790 wxKeyEvent
*result
;
14791 PyObject
* obj0
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "keyType", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
14799 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
14817 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14842 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14867 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14892 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14917 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14942 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_PyObj_FromInt((int)result
);
14967 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (int)wxKeyEvent_GetUniChar(arg1
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_PyObj_FromInt((int)result
);
14992 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
;
14994 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14995 unsigned int result
;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15017 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15020 unsigned int result
;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15042 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (arg1
)->GetPosition();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 wxPoint
* resultptr
;
15062 resultptr
= new wxPoint((wxPoint
&) result
);
15063 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15071 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15074 long *arg2
= (long *) 0 ;
15075 long *arg3
= (long *) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 (arg1
)->GetPosition(arg2
,arg3
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 Py_INCREF(Py_None
); resultobj
= Py_None
;
15096 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15097 resultobj
= t_output_helper(resultobj
,o
);
15100 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15101 resultobj
= t_output_helper(resultobj
,o
);
15109 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_PyObj_FromInt((int)result
);
15134 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15138 PyObject
* obj0
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self", NULL
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= SWIG_PyObj_FromInt((int)result
);
15159 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "m_x", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15172 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 if (arg1
) (arg1
)->m_x
= arg2
;
15177 Py_INCREF(Py_None
); resultobj
= Py_None
;
15184 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15195 result
= (int) ((arg1
)->m_x
);
15197 resultobj
= SWIG_PyObj_FromInt((int)result
);
15204 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self",(char *) "m_y", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 if (arg1
) (arg1
)->m_y
= arg2
;
15222 Py_INCREF(Py_None
); resultobj
= Py_None
;
15229 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15240 result
= (int) ((arg1
)->m_y
);
15242 resultobj
= SWIG_PyObj_FromInt((int)result
);
15249 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self",(char *) "m_keyCode", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15262 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15267 Py_INCREF(Py_None
); resultobj
= Py_None
;
15274 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15285 result
= (long) ((arg1
)->m_keyCode
);
15287 resultobj
= SWIG_PyObj_FromLong((long)result
);
15294 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 PyObject
* obj1
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self",(char *) "m_controlDown", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15307 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15312 Py_INCREF(Py_None
); resultobj
= Py_None
;
15319 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15330 result
= (bool) ((arg1
)->m_controlDown
);
15332 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15339 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "m_shiftDown", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15352 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15357 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 char *kwnames
[] = {
15370 (char *) "self", NULL
15373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15375 result
= (bool) ((arg1
)->m_shiftDown
);
15377 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15384 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 PyObject
* obj1
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "self",(char *) "m_altDown", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15397 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 if (arg1
) (arg1
)->m_altDown
= arg2
;
15402 Py_INCREF(Py_None
); resultobj
= Py_None
;
15409 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15420 result
= (bool) ((arg1
)->m_altDown
);
15422 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15429 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "m_metaDown", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15442 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15447 Py_INCREF(Py_None
); resultobj
= Py_None
;
15454 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15458 PyObject
* obj0
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "self", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15465 result
= (bool) ((arg1
)->m_metaDown
);
15467 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15474 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self",(char *) "m_scanCode", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15487 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15492 Py_INCREF(Py_None
); resultobj
= Py_None
;
15499 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15503 PyObject
* obj0
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15510 result
= (bool) ((arg1
)->m_scanCode
);
15512 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15519 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15522 unsigned int arg2
;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self",(char *) "m_rawCode", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15532 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15537 Py_INCREF(Py_None
); resultobj
= Py_None
;
15544 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15547 unsigned int result
;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15555 result
= (unsigned int) ((arg1
)->m_rawCode
);
15557 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15564 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15567 unsigned int arg2
;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 char *kwnames
[] = {
15571 (char *) "self",(char *) "m_rawFlags", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15577 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15582 Py_INCREF(Py_None
); resultobj
= Py_None
;
15589 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15592 unsigned int result
;
15593 PyObject
* obj0
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15600 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15602 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15609 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15612 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15614 return Py_BuildValue((char *)"");
15616 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15619 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15620 int arg2
= (int) 0 ;
15621 wxSizeEvent
*result
;
15623 PyObject
* obj0
= 0 ;
15624 PyObject
* obj1
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "sz",(char *) "winid", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15633 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15638 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
15656 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 wxSize
* resultptr
;
15676 resultptr
= new wxSize((wxSize
&) result
);
15677 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15685 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15687 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 wxRect
* resultptr
;
15705 resultptr
= new wxRect((wxRect
&) result
);
15706 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15714 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self",(char *) "rect", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15727 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 (arg1
)->SetRect(arg2
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 Py_INCREF(Py_None
); resultobj
= Py_None
;
15743 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self",(char *) "size", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15756 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 wxSizeEvent_SetSize(arg1
,arg2
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 Py_INCREF(Py_None
); resultobj
= Py_None
;
15772 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15775 wxSize
*arg2
= (wxSize
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self",(char *) "m_size", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15785 if (arg1
) (arg1
)->m_size
= *arg2
;
15787 Py_INCREF(Py_None
); resultobj
= Py_None
;
15794 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "self", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
15804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15805 result
= (wxSize
*)& ((arg1
)->m_size
);
15807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15814 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15817 wxRect
*arg2
= (wxRect
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 PyObject
* obj1
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self",(char *) "m_rect", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15826 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15827 if (arg1
) (arg1
)->m_rect
= *arg2
;
15829 Py_INCREF(Py_None
); resultobj
= Py_None
;
15836 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15847 result
= (wxRect
*)& ((arg1
)->m_rect
);
15849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
15856 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15859 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
15861 return Py_BuildValue((char *)"");
15863 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
15866 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
15867 int arg2
= (int) 0 ;
15868 wxMoveEvent
*result
;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "pos",(char *) "winid", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15880 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
15885 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
15903 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 wxPoint
* resultptr
;
15923 resultptr
= new wxPoint((wxPoint
&) result
);
15924 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15932 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15936 PyObject
* obj0
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15951 wxRect
* resultptr
;
15952 resultptr
= new wxRect((wxRect
&) result
);
15953 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15961 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15966 PyObject
* obj0
= 0 ;
15967 PyObject
* obj1
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self",(char *) "rect", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15974 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 (arg1
)->SetRect(arg2
);
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 Py_INCREF(Py_None
); resultobj
= Py_None
;
15990 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self",(char *) "pos", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16003 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 wxMoveEvent_SetPosition(arg1
,arg2
);
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 Py_INCREF(Py_None
); resultobj
= Py_None
;
16019 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16022 wxPoint
*arg2
= (wxPoint
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self",(char *) "m_pos", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16032 if (arg1
) (arg1
)->m_pos
= *arg2
;
16034 Py_INCREF(Py_None
); resultobj
= Py_None
;
16041 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16045 PyObject
* obj0
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16052 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16054 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16061 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16064 wxRect
*arg2
= (wxRect
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self",(char *) "m_rect", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16074 if (arg1
) (arg1
)->m_rect
= *arg2
;
16076 Py_INCREF(Py_None
); resultobj
= Py_None
;
16083 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16094 result
= (wxRect
*)& ((arg1
)->m_rect
);
16096 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
16103 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16106 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16108 return Py_BuildValue((char *)"");
16110 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 int arg1
= (int) 0 ;
16113 wxPaintEvent
*result
;
16114 PyObject
* obj0
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "Id", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16122 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
16140 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16143 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16145 return Py_BuildValue((char *)"");
16147 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 int arg1
= (int) 0 ;
16150 wxNcPaintEvent
*result
;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "winid", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16159 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
16177 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16180 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16182 return Py_BuildValue((char *)"");
16184 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 int arg1
= (int) 0 ;
16187 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16188 wxEraseEvent
*result
;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "Id",(char *) "dc", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16198 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
16219 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= wxPyMake_wxObject(result
);
16246 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16249 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16251 return Py_BuildValue((char *)"");
16253 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16256 int arg2
= (int) 0 ;
16257 wxFocusEvent
*result
;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "type",(char *) "winid", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16267 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16273 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
16291 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= wxPyMake_wxObject(result
);
16318 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
;
16320 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16321 wxWindow
*arg2
= (wxWindow
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "win", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 (arg1
)->SetWindow(arg2
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 Py_INCREF(Py_None
); resultobj
= Py_None
;
16345 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16348 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16350 return Py_BuildValue((char *)"");
16352 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxWindow
*arg1
= (wxWindow
*) NULL
;
16355 wxChildFocusEvent
*result
;
16356 PyObject
* obj0
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "win", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
16379 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 resultobj
= wxPyMake_wxObject(result
);
16406 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16409 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16411 return Py_BuildValue((char *)"");
16413 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16416 bool arg2
= (bool) True
;
16417 int arg3
= (int) 0 ;
16418 wxActivateEvent
*result
;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 PyObject
* obj2
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "type",(char *) "active",(char *) "Id", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16429 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16435 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16441 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
16459 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16484 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16487 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16489 return Py_BuildValue((char *)"");
16491 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 int arg1
= (int) 0 ;
16494 wxInitDialogEvent
*result
;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "Id", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16503 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
16521 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16524 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16526 return Py_BuildValue((char *)"");
16528 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16531 int arg2
= (int) 0 ;
16532 wxMenu
*arg3
= (wxMenu
*) NULL
;
16533 wxMenuEvent
*result
;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 PyObject
* obj2
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "type",(char *) "winid",(char *) "menu", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16544 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16550 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16555 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
16571 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= SWIG_PyObj_FromInt((int)result
);
16596 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16621 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= wxPyMake_wxObject(result
);
16648 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16651 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16653 return Py_BuildValue((char *)"");
16655 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16658 int arg2
= (int) 0 ;
16659 wxCloseEvent
*result
;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "type",(char *) "winid", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16669 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16675 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
16693 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self",(char *) "logOff", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16706 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->SetLoggingOff(arg2
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 Py_INCREF(Py_None
); resultobj
= Py_None
;
16723 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16727 PyObject
* obj0
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16748 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16751 bool arg2
= (bool) True
;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "veto", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16762 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 (arg1
)->Veto(arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 Py_INCREF(Py_None
); resultobj
= Py_None
;
16780 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "canVeto", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16793 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 (arg1
)->SetCanVeto(arg2
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 Py_INCREF(Py_None
); resultobj
= Py_None
;
16810 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
16820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16835 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
16845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16860 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16863 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
16865 return Py_BuildValue((char *)"");
16867 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 int arg1
= (int) 0 ;
16870 bool arg2
= (bool) False
;
16871 wxShowEvent
*result
;
16872 PyObject
* obj0
= 0 ;
16873 PyObject
* obj1
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "winid",(char *) "show", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16881 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16887 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
16905 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
;
16907 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self",(char *) "show", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16918 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 (arg1
)->SetShow(arg2
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 Py_INCREF(Py_None
); resultobj
= Py_None
;
16935 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16960 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16963 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
16965 return Py_BuildValue((char *)"");
16967 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 int arg1
= (int) 0 ;
16970 bool arg2
= (bool) True
;
16971 wxIconizeEvent
*result
;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "id",(char *) "iconized", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16981 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16987 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
17005 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17009 PyObject
* obj0
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (bool)(arg1
)->Iconized();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17030 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17033 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17035 return Py_BuildValue((char *)"");
17037 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 int arg1
= (int) 0 ;
17040 wxMaximizeEvent
*result
;
17041 PyObject
* obj0
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "id", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17049 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
17067 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17070 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17072 return Py_BuildValue((char *)"");
17074 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= (arg1
)->GetPosition();
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17093 wxPoint
* resultptr
;
17094 resultptr
= new wxPoint((wxPoint
&) result
);
17095 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17103 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17107 PyObject
* obj0
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17116 result
= (int)(arg1
)->GetNumberOfFiles();
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 resultobj
= SWIG_PyObj_FromInt((int)result
);
17128 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= result
;
17153 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17156 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17158 return Py_BuildValue((char *)"");
17160 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 int arg1
= (int) 0 ;
17163 wxUpdateUIEvent
*result
;
17164 PyObject
* obj0
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "commandId", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17172 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
17190 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17215 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17240 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17244 PyObject
* obj0
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17271 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17275 PyObject
* obj0
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17296 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17321 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17346 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "check", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17359 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 (arg1
)->Check(arg2
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 Py_INCREF(Py_None
); resultobj
= Py_None
;
17376 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17380 PyObject
* obj0
= 0 ;
17381 PyObject
* obj1
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "self",(char *) "enable", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17389 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 (arg1
)->Enable(arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 Py_INCREF(Py_None
); resultobj
= Py_None
;
17406 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17409 wxString
*arg2
= 0 ;
17410 bool temp2
= False
;
17411 PyObject
* obj0
= 0 ;
17412 PyObject
* obj1
= 0 ;
17413 char *kwnames
[] = {
17414 (char *) "self",(char *) "text", NULL
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17420 arg2
= wxString_in_helper(obj1
);
17421 if (arg2
== NULL
) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->SetText((wxString
const &)*arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 Py_INCREF(Py_None
); resultobj
= Py_None
;
17446 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "updateInterval", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17456 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 Py_INCREF(Py_None
); resultobj
= Py_None
;
17473 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17476 char *kwnames
[] = {
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= SWIG_PyObj_FromLong((long)result
);
17495 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxWindow
*arg1
= (wxWindow
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "win", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17520 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 char *kwnames
[] = {
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 wxUpdateUIEvent::ResetUpdateTime();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 Py_INCREF(Py_None
); resultobj
= Py_None
;
17541 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17544 PyObject
* obj0
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "mode", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17551 arg1
= (wxUpdateUIMode
) SWIG_PyObj_AsInt(obj0
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17571 char *kwnames
[] = {
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (int)wxUpdateUIEvent::GetMode();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_PyObj_FromInt((int)result
);
17590 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17593 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17595 return Py_BuildValue((char *)"");
17597 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxSysColourChangedEvent
*result
;
17600 char *kwnames
[] = {
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17619 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17622 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17624 return Py_BuildValue((char *)"");
17626 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 int arg1
= (int) 0 ;
17629 wxWindow
*arg2
= (wxWindow
*) NULL
;
17630 wxMouseCaptureChangedEvent
*result
;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "winid",(char *) "gainedCapture", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17640 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17661 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= wxPyMake_wxObject(result
);
17688 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17691 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17693 return Py_BuildValue((char *)"");
17695 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxDisplayChangedEvent
*result
;
17698 char *kwnames
[] = {
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17717 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17720 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17722 return Py_BuildValue((char *)"");
17724 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 int arg1
= (int) 0 ;
17727 wxPaletteChangedEvent
*result
;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "id", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
17736 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
17754 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17757 wxWindow
*arg2
= (wxWindow
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self",(char *) "win", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 (arg1
)->SetChangedWindow(arg2
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 Py_INCREF(Py_None
); resultobj
= Py_None
;
17781 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
;
17783 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 resultobj
= wxPyMake_wxObject(result
);
17808 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17811 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
17813 return Py_BuildValue((char *)"");
17815 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 int arg1
= (int) 0 ;
17818 wxQueryNewPaletteEvent
*result
;
17819 PyObject
* obj0
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "winid", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
17827 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
17845 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self",(char *) "realized", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17858 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 (arg1
)->SetPaletteRealized(arg2
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 Py_INCREF(Py_None
); resultobj
= Py_None
;
17875 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17900 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17903 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
17905 return Py_BuildValue((char *)"");
17907 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxNavigationKeyEvent
*result
;
17910 char *kwnames
[] = {
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
17929 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17954 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "bForward", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17967 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->SetDirection(arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18009 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self",(char *) "bIs", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18022 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 (arg1
)->SetWindowChange(arg2
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 Py_INCREF(Py_None
); resultobj
= Py_None
;
18039 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
;
18041 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "self", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= wxPyMake_wxObject(result
);
18066 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18068 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18069 wxWindow
*arg2
= (wxWindow
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "win", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 (arg1
)->SetCurrentFocus(arg2
);
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18086 Py_INCREF(Py_None
); resultobj
= Py_None
;
18093 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18096 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18098 return Py_BuildValue((char *)"");
18100 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxWindow
*arg1
= (wxWindow
*) NULL
;
18103 wxWindowCreateEvent
*result
;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "win", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
18127 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= wxPyMake_wxObject(result
);
18154 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18157 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18159 return Py_BuildValue((char *)"");
18161 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxWindow
*arg1
= (wxWindow
*) NULL
;
18164 wxWindowDestroyEvent
*result
;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "win", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18188 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= wxPyMake_wxObject(result
);
18215 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18218 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18220 return Py_BuildValue((char *)"");
18222 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18225 int arg2
= (int) 0 ;
18226 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18227 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18228 wxContextMenuEvent
*result
;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 PyObject
* obj2
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "type",(char *) "winid",(char *) "pt", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18240 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18246 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18253 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
18270 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
;
18272 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18274 PyObject
* obj0
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18285 result
= (wxPoint
*) &_result_ref
;
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
18298 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18301 wxPoint
*arg2
= 0 ;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "pos", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18332 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18334 return Py_BuildValue((char *)"");
18336 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
;
18338 wxIdleEvent
*result
;
18339 char *kwnames
[] = {
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 result
= (wxIdleEvent
*)new wxIdleEvent();
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
18358 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18361 bool arg2
= (bool) True
;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "needMore", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18372 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->RequestMore(arg2
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 Py_INCREF(Py_None
); resultobj
= Py_None
;
18390 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18415 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
;
18418 PyObject
* obj0
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "mode", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18425 arg1
= (wxIdleMode
) SWIG_PyObj_AsInt(obj0
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 Py_INCREF(Py_None
); resultobj
= Py_None
;
18442 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18445 char *kwnames
[] = {
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 result
= (int)wxIdleEvent::GetMode();
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_PyObj_FromInt((int)result
);
18464 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxWindow
*arg1
= (wxWindow
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "win", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (bool)wxIdleEvent::CanSend(arg1
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18489 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18492 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18494 return Py_BuildValue((char *)"");
18496 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 int arg1
= (int) 0 ;
18499 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "winid",(char *) "commandType", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18510 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18516 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
18534 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "self", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 Py_INCREF(Py_None
); resultobj
= Py_None
;
18558 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18561 PyObject
*arg2
= (PyObject
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 PyObject
* obj1
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self",(char *) "self", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->SetSelf(arg2
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (PyObject
*)(arg1
)->GetSelf();
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= result
;
18610 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18613 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18615 return Py_BuildValue((char *)"");
18617 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18620 int arg2
= (int) 0 ;
18621 wxPyCommandEvent
*result
;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "commandType",(char *) "id", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18631 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18637 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
18655 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 char *kwnames
[] = {
18660 (char *) "self", NULL
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 Py_INCREF(Py_None
); resultobj
= Py_None
;
18679 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18682 PyObject
*arg2
= (PyObject
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "self", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 (arg1
)->SetSelf(arg2
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 Py_INCREF(Py_None
); resultobj
= Py_None
;
18706 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (PyObject
*)(arg1
)->GetSelf();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= result
;
18731 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18734 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
18736 return Py_BuildValue((char *)"");
18738 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18741 char *kwnames
[] = {
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (wxPyApp
*)new_wxPyApp();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= wxPyMake_wxObject(result
);
18762 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18765 PyObject
* obj0
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "self", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
18771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 Py_INCREF(Py_None
); resultobj
= Py_None
;
18786 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18789 PyObject
*arg2
= (PyObject
*) 0 ;
18790 PyObject
*arg3
= (PyObject
*) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 PyObject
* obj2
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self",(char *) "self",(char *) "_class", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 Py_INCREF(Py_None
); resultobj
= Py_None
;
18816 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18820 PyObject
* obj0
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= ((wxPyApp
const *)arg1
)->GetAppName();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18847 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18850 wxString
*arg2
= 0 ;
18851 bool temp2
= False
;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self",(char *) "name", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18861 arg2
= wxString_in_helper(obj1
);
18862 if (arg2
== NULL
) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 (arg1
)->SetAppName((wxString
const &)*arg2
);
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 Py_INCREF(Py_None
); resultobj
= Py_None
;
18887 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= ((wxPyApp
const *)arg1
)->GetClassName();
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18918 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18921 wxString
*arg2
= 0 ;
18922 bool temp2
= False
;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 char *kwnames
[] = {
18926 (char *) "self",(char *) "name", NULL
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
18930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18932 arg2
= wxString_in_helper(obj1
);
18933 if (arg2
== NULL
) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->SetClassName((wxString
const &)*arg2
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
18973 result
= (wxString
*) &_result_ref
;
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18981 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18983 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18992 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18995 wxString
*arg2
= 0 ;
18996 bool temp2
= False
;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "name", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19006 arg2
= wxString_in_helper(obj1
);
19007 if (arg2
== NULL
) SWIG_fail
;
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 Py_INCREF(Py_None
); resultobj
= Py_None
;
19032 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19035 wxAppTraits
*result
;
19036 PyObject
* obj0
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
19057 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 (arg1
)->ProcessPendingEvents();
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 Py_INCREF(Py_None
); resultobj
= Py_None
;
19081 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19084 bool arg2
= (bool) False
;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 char *kwnames
[] = {
19089 (char *) "self",(char *) "onlyIfNeeded", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19096 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (bool)(arg1
)->Yield(arg2
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19114 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19117 PyObject
* obj0
= 0 ;
19118 char *kwnames
[] = {
19119 (char *) "self", NULL
19122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 (arg1
)->WakeUpIdle();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 Py_INCREF(Py_None
); resultobj
= Py_None
;
19138 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 result
= (int)(arg1
)->MainLoop();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= SWIG_PyObj_FromInt((int)result
);
19163 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 Py_INCREF(Py_None
); resultobj
= Py_None
;
19187 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 char *kwnames
[] = {
19192 (char *) "self", NULL
19195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 (arg1
)->ExitMainLoop();
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 Py_INCREF(Py_None
); resultobj
= Py_None
;
19211 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (bool)(arg1
)->Pending();
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19236 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (bool)(arg1
)->Dispatch();
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19261 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
;
19263 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 result
= (bool)(arg1
)->ProcessIdle();
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19286 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19289 wxWindow
*arg2
= (wxWindow
*) 0 ;
19290 wxIdleEvent
*arg3
= 0 ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 PyObject
* obj2
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self",(char *) "win",(char *) "event", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19301 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19302 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19303 if (arg3
== NULL
) {
19304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19320 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19345 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19348 wxWindow
*arg2
= (wxWindow
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "win", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->SetTopWindow(arg2
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 Py_INCREF(Py_None
); resultobj
= Py_None
;
19372 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= wxPyMake_wxObject(result
);
19399 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
;
19401 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self",(char *) "flag", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19412 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 (arg1
)->SetExitOnFrameDelete(arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 Py_INCREF(Py_None
); resultobj
= Py_None
;
19429 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19433 PyObject
* obj0
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19454 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
;
19456 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self",(char *) "flag", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19467 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 (arg1
)->SetUseBestVisual(arg2
);
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 Py_INCREF(Py_None
); resultobj
= Py_None
;
19484 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19509 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "self",(char *) "mode", NULL
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19522 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 (arg1
)->SetPrintMode(arg2
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 Py_INCREF(Py_None
); resultobj
= Py_None
;
19539 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= SWIG_PyObj_FromInt((int)result
);
19564 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self",(char *) "mode", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19577 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->SetAssertMode(arg2
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 result
= (int)(arg1
)->GetAssertMode();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 resultobj
= SWIG_PyObj_FromInt((int)result
);
19619 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19622 char *kwnames
[] = {
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19641 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19644 char *kwnames
[] = {
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_PyObj_FromLong((long)result
);
19663 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19666 char *kwnames
[] = {
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_PyObj_FromLong((long)result
);
19685 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19688 char *kwnames
[] = {
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 result
= (long)wxPyApp::GetMacExitMenuItemId();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_PyObj_FromLong((long)result
);
19707 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19710 char *kwnames
[] = {
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= wxPyApp::GetMacHelpMenuTitleName();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19735 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19738 PyObject
* obj0
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "val", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
19745 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 Py_INCREF(Py_None
); resultobj
= Py_None
;
19762 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19765 PyObject
* obj0
= 0 ;
19766 char *kwnames
[] = {
19767 (char *) "val", NULL
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
19772 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 wxPyApp::SetMacAboutMenuItemId(arg1
);
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 Py_INCREF(Py_None
); resultobj
= Py_None
;
19789 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19792 PyObject
* obj0
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "val", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
19799 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 Py_INCREF(Py_None
); resultobj
= Py_None
;
19816 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "val", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
19826 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 wxPyApp::SetMacExitMenuItemId(arg1
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 Py_INCREF(Py_None
); resultobj
= Py_None
;
19843 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxString
*arg1
= 0 ;
19846 bool temp1
= False
;
19847 PyObject
* obj0
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "val", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
19854 arg1
= wxString_in_helper(obj0
);
19855 if (arg1
== NULL
) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 Py_INCREF(Py_None
); resultobj
= Py_None
;
19880 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 (arg1
)->_BootstrapApp();
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 Py_INCREF(Py_None
); resultobj
= Py_None
;
19904 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19907 char *kwnames
[] = {
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (int)wxPyApp::GetComCtl32Version();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_PyObj_FromInt((int)result
);
19926 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
19928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19929 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
19931 return Py_BuildValue((char *)"");
19933 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 char *kwnames
[] = {
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 Py_INCREF(Py_None
); resultobj
= Py_None
;
19954 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19957 char *kwnames
[] = {
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 result
= (bool)wxYield();
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19976 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19979 char *kwnames
[] = {
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (bool)wxYieldIfNeeded();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19998 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxWindow
*arg1
= (wxWindow
*) NULL
;
20001 bool arg2
= (bool) False
;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "win",(char *) "onlyIfNeeded", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20015 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (bool)wxSafeYield(arg1
,arg2
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20033 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 char *kwnames
[] = {
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 Py_INCREF(Py_None
); resultobj
= Py_None
;
20054 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20057 wxEvent
*arg2
= 0 ;
20058 PyObject
* obj0
= 0 ;
20059 PyObject
* obj1
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "dest",(char *) "event", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20067 if (arg2
== NULL
) {
20068 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 wxPostEvent(arg1
,*arg2
);
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20077 Py_INCREF(Py_None
); resultobj
= Py_None
;
20084 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
;
20086 char *kwnames
[] = {
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 Py_INCREF(Py_None
); resultobj
= Py_None
;
20105 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20108 char *kwnames
[] = {
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (wxPyApp
*)wxGetApp();
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20121 resultobj
= wxPyMake_wxObject(result
);
20129 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 int arg1
= (int) 0 ;
20132 int arg2
= (int) 0 ;
20133 int arg3
= (int) 0 ;
20134 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20135 wxAcceleratorEntry
*result
;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 PyObject
* obj2
= 0 ;
20139 PyObject
* obj3
= 0 ;
20140 char *kwnames
[] = {
20141 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20147 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20153 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20159 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20164 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
20180 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20182 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20197 Py_INCREF(Py_None
); resultobj
= Py_None
;
20204 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20210 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 PyObject
* obj2
= 0 ;
20214 PyObject
* obj3
= 0 ;
20215 PyObject
* obj4
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20223 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20235 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20254 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self",(char *) "item", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 (arg1
)->SetMenuItem(arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 Py_INCREF(Py_None
); resultobj
= Py_None
;
20278 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
;
20280 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20281 wxMenuItem
*result
;
20282 PyObject
* obj0
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= wxPyMake_wxObject(result
);
20305 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (int)(arg1
)->GetFlags();
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_PyObj_FromInt((int)result
);
20330 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20334 PyObject
* obj0
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= (int)(arg1
)->GetKeyCode();
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_PyObj_FromInt((int)result
);
20355 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
;
20357 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20359 PyObject
* obj0
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "self", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (int)(arg1
)->GetCommand();
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_PyObj_FromInt((int)result
);
20380 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20383 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20385 return Py_BuildValue((char *)"");
20387 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20390 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20391 wxAcceleratorTable
*result
;
20392 PyObject
* obj0
= 0 ;
20393 char *kwnames
[] = {
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20399 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20400 if (arg2
) arg1
= PyList_Size(obj0
);
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
20423 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 Py_INCREF(Py_None
); resultobj
= Py_None
;
20447 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20465 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20472 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20475 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20477 return Py_BuildValue((char *)"");
20479 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
20480 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20485 static PyObject
*_wrap_NullAcceleratorTable_get() {
20488 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
20493 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
;
20495 wxString
*arg1
= 0 ;
20496 wxAcceleratorEntry
*result
;
20497 bool temp1
= False
;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "label", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20505 arg1
= wxString_in_helper(obj0
);
20506 if (arg1
== NULL
) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
20531 static int _wrap_PanelNameStr_set(PyObject
*) {
20532 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20537 static PyObject
*_wrap_PanelNameStr_get() {
20542 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20544 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20551 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxWindow
*arg1
= (wxWindow
*) 0 ;
20555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20559 long arg5
= (long) 0 ;
20560 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20561 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20565 bool temp6
= False
;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 PyObject
* obj2
= 0 ;
20569 PyObject
* obj3
= 0 ;
20570 PyObject
* obj4
= 0 ;
20571 PyObject
* obj5
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20579 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20585 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20591 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20596 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20602 arg6
= wxString_in_helper(obj5
);
20603 if (arg6
== NULL
) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= wxPyMake_wxObject(result
);
20631 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20634 char *kwnames
[] = {
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 result
= (wxWindow
*)new wxWindow();
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= wxPyMake_wxObject(result
);
20655 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxWindow
*arg1
= (wxWindow
*) 0 ;
20658 wxWindow
*arg2
= (wxWindow
*) 0 ;
20660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20664 long arg6
= (long) 0 ;
20665 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20666 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20670 bool temp7
= False
;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20673 PyObject
* obj2
= 0 ;
20674 PyObject
* obj3
= 0 ;
20675 PyObject
* obj4
= 0 ;
20676 PyObject
* obj5
= 0 ;
20677 PyObject
* obj6
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20686 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20703 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20709 arg7
= wxString_in_helper(obj6
);
20710 if (arg7
== NULL
) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20736 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxWindow
*arg1
= (wxWindow
*) 0 ;
20739 bool arg2
= (bool) False
;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self",(char *) "force", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20751 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (bool)(arg1
)->Close(arg2
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20769 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
;
20771 wxWindow
*arg1
= (wxWindow
*) 0 ;
20773 PyObject
* obj0
= 0 ;
20774 char *kwnames
[] = {
20775 (char *) "self", NULL
20778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
20779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (bool)(arg1
)->Destroy();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20794 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxWindow
*arg1
= (wxWindow
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
20804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (bool)(arg1
)->DestroyChildren();
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20819 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxWindow
*arg1
= (wxWindow
*) 0 ;
20823 PyObject
* obj0
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
20829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20844 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20846 wxWindow
*arg1
= (wxWindow
*) 0 ;
20847 wxString
*arg2
= 0 ;
20848 bool temp2
= False
;
20849 PyObject
* obj0
= 0 ;
20850 PyObject
* obj1
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self",(char *) "title", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20858 arg2
= wxString_in_helper(obj1
);
20859 if (arg2
== NULL
) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 (arg1
)->SetTitle((wxString
const &)*arg2
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 Py_INCREF(Py_None
); resultobj
= Py_None
;
20884 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxWindow
*arg1
= (wxWindow
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= ((wxWindow
const *)arg1
)->GetTitle();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20915 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxWindow
*arg1
= (wxWindow
*) 0 ;
20918 wxString
*arg2
= 0 ;
20919 bool temp2
= False
;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self",(char *) "label", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20929 arg2
= wxString_in_helper(obj1
);
20930 if (arg2
== NULL
) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 (arg1
)->SetLabel((wxString
const &)*arg2
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 Py_INCREF(Py_None
); resultobj
= Py_None
;
20955 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxWindow
*arg1
= (wxWindow
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
20965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= ((wxWindow
const *)arg1
)->GetLabel();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20986 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxWindow
*arg1
= (wxWindow
*) 0 ;
20989 wxString
*arg2
= 0 ;
20990 bool temp2
= False
;
20991 PyObject
* obj0
= 0 ;
20992 PyObject
* obj1
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self",(char *) "name", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21000 arg2
= wxString_in_helper(obj1
);
21001 if (arg2
== NULL
) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 (arg1
)->SetName((wxString
const &)*arg2
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 Py_INCREF(Py_None
); resultobj
= Py_None
;
21026 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxWindow
*arg1
= (wxWindow
*) 0 ;
21030 PyObject
* obj0
= 0 ;
21031 char *kwnames
[] = {
21032 (char *) "self", NULL
21035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 result
= ((wxWindow
const *)arg1
)->GetName();
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21057 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxWindow
*arg1
= (wxWindow
*) 0 ;
21061 PyObject
* obj0
= 0 ;
21062 PyObject
* obj1
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "self",(char *) "winid", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21070 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 (arg1
)->SetId(arg2
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 Py_INCREF(Py_None
); resultobj
= Py_None
;
21087 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21089 wxWindow
*arg1
= (wxWindow
*) 0 ;
21091 PyObject
* obj0
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "self", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= (int)((wxWindow
const *)arg1
)->GetId();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_PyObj_FromInt((int)result
);
21112 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21115 char *kwnames
[] = {
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (int)wxWindow::NewControlId();
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_PyObj_FromInt((int)result
);
21134 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "winid", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21145 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= (int)wxWindow::NextControlId(arg1
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= SWIG_PyObj_FromInt((int)result
);
21162 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21166 PyObject
* obj0
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "winid", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21173 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21178 result
= (int)wxWindow::PrevControlId(arg1
);
21180 wxPyEndAllowThreads(__tstate
);
21181 if (PyErr_Occurred()) SWIG_fail
;
21183 resultobj
= SWIG_PyObj_FromInt((int)result
);
21190 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxWindow
*arg1
= (wxWindow
*) 0 ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "self",(char *) "size", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21205 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 (arg1
)->SetSize((wxSize
const &)*arg2
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 Py_INCREF(Py_None
); resultobj
= Py_None
;
21221 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 wxWindow
*arg1
= (wxWindow
*) 0 ;
21228 int arg6
= (int) wxSIZE_AUTO
;
21229 PyObject
* obj0
= 0 ;
21230 PyObject
* obj1
= 0 ;
21231 PyObject
* obj2
= 0 ;
21232 PyObject
* obj3
= 0 ;
21233 PyObject
* obj4
= 0 ;
21234 PyObject
* obj5
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21242 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21250 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21259 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 Py_INCREF(Py_None
); resultobj
= Py_None
;
21277 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxWindow
*arg1
= (wxWindow
*) 0 ;
21281 int arg3
= (int) wxSIZE_AUTO
;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 PyObject
* obj2
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21294 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21298 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 Py_INCREF(Py_None
); resultobj
= Py_None
;
21316 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
;
21318 wxWindow
*arg1
= (wxWindow
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 PyObject
* obj2
= 0 ;
21324 char *kwnames
[] = {
21325 (char *) "self",(char *) "width",(char *) "height", NULL
21328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21331 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21335 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 (arg1
)->SetSize(arg2
,arg3
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 Py_INCREF(Py_None
); resultobj
= Py_None
;
21352 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxWindow
*arg1
= (wxWindow
*) 0 ;
21355 wxPoint
*arg2
= 0 ;
21356 int arg3
= (int) wxSIZE_USE_EXISTING
;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 PyObject
* obj2
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "self",(char *) "pt",(char *) "flags", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21369 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21373 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 Py_INCREF(Py_None
); resultobj
= Py_None
;
21391 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxWindow
*arg1
= (wxWindow
*) 0 ;
21396 int arg4
= (int) wxSIZE_USE_EXISTING
;
21397 PyObject
* obj0
= 0 ;
21398 PyObject
* obj1
= 0 ;
21399 PyObject
* obj2
= 0 ;
21400 PyObject
* obj3
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21408 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21412 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21417 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 (arg1
)->Move(arg2
,arg3
,arg4
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 Py_INCREF(Py_None
); resultobj
= Py_None
;
21435 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21437 wxWindow
*arg1
= (wxWindow
*) 0 ;
21438 PyObject
* obj0
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 Py_INCREF(Py_None
); resultobj
= Py_None
;
21459 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21460 PyObject
*resultobj
;
21461 wxWindow
*arg1
= (wxWindow
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self", NULL
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 Py_INCREF(Py_None
); resultobj
= Py_None
;
21483 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxWindow
*arg1
= (wxWindow
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self",(char *) "size", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21498 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 Py_INCREF(Py_None
); resultobj
= Py_None
;
21514 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
;
21516 wxWindow
*arg1
= (wxWindow
*) 0 ;
21519 PyObject
* obj0
= 0 ;
21520 PyObject
* obj1
= 0 ;
21521 PyObject
* obj2
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self",(char *) "width",(char *) "height", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21529 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 (arg1
)->SetClientSize(arg2
,arg3
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 Py_INCREF(Py_None
); resultobj
= Py_None
;
21550 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxWindow
*arg1
= (wxWindow
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self",(char *) "rect", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21565 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 Py_INCREF(Py_None
); resultobj
= Py_None
;
21581 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxWindow
*arg1
= (wxWindow
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (arg1
)->GetPosition();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21600 wxPoint
* resultptr
;
21601 resultptr
= new wxPoint((wxPoint
&) result
);
21602 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21610 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxWindow
*arg1
= (wxWindow
*) 0 ;
21613 int *arg2
= (int *) 0 ;
21614 int *arg3
= (int *) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 (arg1
)->GetPosition(arg2
,arg3
);
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 Py_INCREF(Py_None
); resultobj
= Py_None
;
21635 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21636 resultobj
= t_output_helper(resultobj
,o
);
21639 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21640 resultobj
= t_output_helper(resultobj
,o
);
21648 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxWindow
*arg1
= (wxWindow
*) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= ((wxWindow
const *)arg1
)->GetSize();
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 wxSize
* resultptr
;
21668 resultptr
= new wxSize((wxSize
&) result
);
21669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21677 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxWindow
*arg1
= (wxWindow
*) 0 ;
21680 int *arg2
= (int *) 0 ;
21681 int *arg3
= (int *) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 Py_INCREF(Py_None
); resultobj
= Py_None
;
21702 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21703 resultobj
= t_output_helper(resultobj
,o
);
21706 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21707 resultobj
= t_output_helper(resultobj
,o
);
21715 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxWindow
*arg1
= (wxWindow
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= ((wxWindow
const *)arg1
)->GetRect();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 wxRect
* resultptr
;
21735 resultptr
= new wxRect((wxRect
&) result
);
21736 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21744 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxWindow
*arg1
= (wxWindow
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 char *kwnames
[] = {
21750 (char *) "self", NULL
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
21754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= ((wxWindow
const *)arg1
)->GetClientSize();
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21763 wxSize
* resultptr
;
21764 resultptr
= new wxSize((wxSize
&) result
);
21765 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21773 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxWindow
*arg1
= (wxWindow
*) 0 ;
21776 int *arg2
= (int *) 0 ;
21777 int *arg3
= (int *) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 Py_INCREF(Py_None
); resultobj
= Py_None
;
21798 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21799 resultobj
= t_output_helper(resultobj
,o
);
21802 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21803 resultobj
= t_output_helper(resultobj
,o
);
21811 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxWindow
*arg1
= (wxWindow
*) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 wxPoint
* resultptr
;
21831 resultptr
= new wxPoint((wxPoint
&) result
);
21832 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21840 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxWindow
*arg1
= (wxWindow
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 result
= ((wxWindow
const *)arg1
)->GetClientRect();
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 wxRect
* resultptr
;
21860 resultptr
= new wxRect((wxRect
&) result
);
21861 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21869 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxWindow
*arg1
= (wxWindow
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= ((wxWindow
const *)arg1
)->GetBestSize();
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21888 wxSize
* resultptr
;
21889 resultptr
= new wxSize((wxSize
&) result
);
21890 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21898 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxWindow
*arg1
= (wxWindow
*) 0 ;
21901 int *arg2
= (int *) 0 ;
21902 int *arg3
= (int *) 0 ;
21905 PyObject
* obj0
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 Py_INCREF(Py_None
); resultobj
= Py_None
;
21923 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21924 resultobj
= t_output_helper(resultobj
,o
);
21927 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21928 resultobj
= t_output_helper(resultobj
,o
);
21936 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxWindow
*arg1
= (wxWindow
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
21946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21955 wxSize
* resultptr
;
21956 resultptr
= new wxSize((wxSize
&) result
);
21957 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21965 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxWindow
*arg1
= (wxWindow
*) 0 ;
21968 int arg2
= (int) wxBOTH
;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "direction", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21979 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 (arg1
)->Center(arg2
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxWindow
*arg1
= (wxWindow
*) 0 ;
22000 int arg2
= (int) wxBOTH
;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "dir", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22011 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 (arg1
)->CenterOnScreen(arg2
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 Py_INCREF(Py_None
); resultobj
= Py_None
;
22029 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxWindow
*arg1
= (wxWindow
*) 0 ;
22032 int arg2
= (int) wxBOTH
;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "dir", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 (arg1
)->CenterOnParent(arg2
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 Py_INCREF(Py_None
); resultobj
= Py_None
;
22061 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxWindow
*arg1
= (wxWindow
*) 0 ;
22064 PyObject
* obj0
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 Py_INCREF(Py_None
); resultobj
= Py_None
;
22085 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxWindow
*arg1
= (wxWindow
*) 0 ;
22088 PyObject
* obj0
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 (arg1
)->FitInside();
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 Py_INCREF(Py_None
); resultobj
= Py_None
;
22109 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxWindow
*arg1
= (wxWindow
*) 0 ;
22114 int arg4
= (int) -1 ;
22115 int arg5
= (int) -1 ;
22116 int arg6
= (int) -1 ;
22117 int arg7
= (int) -1 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 PyObject
* obj2
= 0 ;
22121 PyObject
* obj3
= 0 ;
22122 PyObject
* obj4
= 0 ;
22123 PyObject
* obj5
= 0 ;
22124 PyObject
* obj6
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22132 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22141 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22147 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22153 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22159 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 Py_INCREF(Py_None
); resultobj
= Py_None
;
22177 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxWindow
*arg1
= (wxWindow
*) 0 ;
22182 int arg4
= (int) -1 ;
22183 int arg5
= (int) -1 ;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 PyObject
* obj2
= 0 ;
22187 PyObject
* obj3
= 0 ;
22188 PyObject
* obj4
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22196 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22200 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22205 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22211 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 Py_INCREF(Py_None
); resultobj
= Py_None
;
22229 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxWindow
*arg1
= (wxWindow
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_PyObj_FromInt((int)result
);
22254 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxWindow
*arg1
= (wxWindow
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "self", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= SWIG_PyObj_FromInt((int)result
);
22279 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxWindow
*arg1
= (wxWindow
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= SWIG_PyObj_FromInt((int)result
);
22304 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxWindow
*arg1
= (wxWindow
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_PyObj_FromInt((int)result
);
22329 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxWindow
*arg1
= (wxWindow
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22348 wxSize
* resultptr
;
22349 resultptr
= new wxSize((wxSize
&) result
);
22350 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22358 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxWindow
*arg1
= (wxWindow
*) 0 ;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "size", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 Py_INCREF(Py_None
); resultobj
= Py_None
;
22389 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxWindow
*arg1
= (wxWindow
*) 0 ;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 PyObject
* obj2
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "w",(char *) "h", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22404 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 (arg1
)->SetVirtualSize(arg2
,arg3
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 Py_INCREF(Py_None
); resultobj
= Py_None
;
22425 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxWindow
*arg1
= (wxWindow
*) 0 ;
22429 PyObject
* obj0
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22444 wxSize
* resultptr
;
22445 resultptr
= new wxSize((wxSize
&) result
);
22446 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22454 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxWindow
*arg1
= (wxWindow
*) 0 ;
22457 int *arg2
= (int *) 0 ;
22458 int *arg3
= (int *) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 Py_INCREF(Py_None
); resultobj
= Py_None
;
22479 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22480 resultobj
= t_output_helper(resultobj
,o
);
22483 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22484 resultobj
= t_output_helper(resultobj
,o
);
22492 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxWindow
*arg1
= (wxWindow
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 char *kwnames
[] = {
22498 (char *) "self", NULL
22501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22511 wxSize
* resultptr
;
22512 resultptr
= new wxSize((wxSize
&) result
);
22513 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22521 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxWindow
*arg1
= (wxWindow
*) 0 ;
22524 bool arg2
= (bool) True
;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self",(char *) "show", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22536 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (bool)(arg1
)->Show(arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22554 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxWindow
*arg1
= (wxWindow
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (bool)(arg1
)->Hide();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22579 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxWindow
*arg1
= (wxWindow
*) 0 ;
22582 bool arg2
= (bool) True
;
22584 PyObject
* obj0
= 0 ;
22585 PyObject
* obj1
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self",(char *) "enable", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22594 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (bool)(arg1
)->Enable(arg2
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22612 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxWindow
*arg1
= (wxWindow
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (bool)(arg1
)->Disable();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22637 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxWindow
*arg1
= (wxWindow
*) 0 ;
22641 PyObject
* obj0
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22662 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxWindow
*arg1
= (wxWindow
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22687 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxWindow
*arg1
= (wxWindow
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self",(char *) "style", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22700 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->SetWindowStyleFlag(arg2
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22717 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxWindow
*arg1
= (wxWindow
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
22727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_PyObj_FromLong((long)result
);
22742 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
;
22744 wxWindow
*arg1
= (wxWindow
*) 0 ;
22746 PyObject
* obj0
= 0 ;
22747 PyObject
* obj1
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self",(char *) "style", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22755 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 (arg1
)->SetWindowStyle(arg2
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 Py_INCREF(Py_None
); resultobj
= Py_None
;
22772 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxWindow
*arg1
= (wxWindow
*) 0 ;
22776 PyObject
* obj0
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= SWIG_PyObj_FromLong((long)result
);
22797 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxWindow
*arg1
= (wxWindow
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self",(char *) "flag", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22811 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22828 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
;
22830 wxWindow
*arg1
= (wxWindow
*) 0 ;
22832 PyObject
* obj0
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
22838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22853 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxWindow
*arg1
= (wxWindow
*) 0 ;
22857 PyObject
* obj0
= 0 ;
22858 PyObject
* obj1
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "self",(char *) "exStyle", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22866 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->SetExtraStyle(arg2
);
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 Py_INCREF(Py_None
); resultobj
= Py_None
;
22883 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxWindow
*arg1
= (wxWindow
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= SWIG_PyObj_FromLong((long)result
);
22908 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxWindow
*arg1
= (wxWindow
*) 0 ;
22911 bool arg2
= (bool) True
;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "modal", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22922 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 (arg1
)->MakeModal(arg2
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 Py_INCREF(Py_None
); resultobj
= Py_None
;
22940 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxWindow
*arg1
= (wxWindow
*) 0 ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self",(char *) "enableTheme", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22953 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 (arg1
)->SetThemeEnabled(arg2
);
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 Py_INCREF(Py_None
); resultobj
= Py_None
;
22970 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22972 wxWindow
*arg1
= (wxWindow
*) 0 ;
22974 PyObject
* obj0
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
22980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22995 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxWindow
*arg1
= (wxWindow
*) 0 ;
22999 PyObject
* obj0
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23020 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxWindow
*arg1
= (wxWindow
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "self", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 (arg1
)->SetFocus();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 Py_INCREF(Py_None
); resultobj
= Py_None
;
23044 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23045 PyObject
*resultobj
;
23046 wxWindow
*arg1
= (wxWindow
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 (arg1
)->SetFocusFromKbd();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 Py_INCREF(Py_None
); resultobj
= Py_None
;
23068 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23071 char *kwnames
[] = {
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (wxWindow
*)wxWindow::FindFocus();
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23084 resultobj
= wxPyMake_wxObject(result
);
23092 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxWindow
*arg1
= (wxWindow
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23117 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
;
23119 wxWindow
*arg1
= (wxWindow
*) 0 ;
23121 PyObject
* obj0
= 0 ;
23122 char *kwnames
[] = {
23123 (char *) "self", NULL
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23142 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxWindow
*arg1
= (wxWindow
*) 0 ;
23146 PyObject
* obj0
= 0 ;
23147 char *kwnames
[] = {
23148 (char *) "self", NULL
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= wxPyMake_wxObject(result
);
23169 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxWindow
*arg1
= (wxWindow
*) 0 ;
23172 wxWindow
*arg2
= (wxWindow
*) 0 ;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj1
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self",(char *) "child", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= wxPyMake_wxObject(result
);
23199 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxWindow
*arg1
= (wxWindow
*) 0 ;
23202 wxWindow
*arg2
= (wxWindow
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self",(char *) "win", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 (arg1
)->SetTmpDefaultItem(arg2
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 Py_INCREF(Py_None
); resultobj
= Py_None
;
23226 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxWindow
*arg1
= (wxWindow
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= result
;
23251 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxWindow
*arg1
= (wxWindow
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= wxPyMake_wxObject(result
);
23278 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23280 wxWindow
*arg1
= (wxWindow
*) 0 ;
23282 PyObject
* obj0
= 0 ;
23283 char *kwnames
[] = {
23284 (char *) "self", NULL
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= wxPyMake_wxObject(result
);
23305 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxWindow
*arg1
= (wxWindow
*) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23330 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxWindow
*arg1
= (wxWindow
*) 0 ;
23333 wxWindow
*arg2
= (wxWindow
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "newParent", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (bool)(arg1
)->Reparent(arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23358 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxWindow
*arg1
= (wxWindow
*) 0 ;
23361 wxWindow
*arg2
= (wxWindow
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "child", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23370 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 (arg1
)->AddChild(arg2
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 Py_INCREF(Py_None
); resultobj
= Py_None
;
23385 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxWindow
*arg1
= (wxWindow
*) 0 ;
23388 wxWindow
*arg2
= (wxWindow
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self",(char *) "child", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 (arg1
)->RemoveChild(arg2
);
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 Py_INCREF(Py_None
); resultobj
= Py_None
;
23412 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxWindow
*arg1
= (wxWindow
*) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "winid", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23426 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= wxPyMake_wxObject(result
);
23445 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxWindow
*arg1
= (wxWindow
*) 0 ;
23448 wxString
*arg2
= 0 ;
23450 bool temp2
= False
;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "name", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23460 arg2
= wxString_in_helper(obj1
);
23461 if (arg2
== NULL
) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= wxPyMake_wxObject(result
);
23488 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxWindow
*arg1
= (wxWindow
*) 0 ;
23491 wxEvtHandler
*result
;
23492 PyObject
* obj0
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= wxPyMake_wxObject(result
);
23515 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxWindow
*arg1
= (wxWindow
*) 0 ;
23518 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self",(char *) "handler", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->SetEventHandler(arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 Py_INCREF(Py_None
); resultobj
= Py_None
;
23542 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxWindow
*arg1
= (wxWindow
*) 0 ;
23545 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 PyObject
* obj1
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self",(char *) "handler", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 (arg1
)->PushEventHandler(arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 Py_INCREF(Py_None
); resultobj
= Py_None
;
23569 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxWindow
*arg1
= (wxWindow
*) 0 ;
23572 bool arg2
= (bool) False
;
23573 wxEvtHandler
*result
;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self",(char *) "deleteHandler", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23584 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= wxPyMake_wxObject(result
);
23604 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxWindow
*arg1
= (wxWindow
*) 0 ;
23607 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23609 PyObject
* obj0
= 0 ;
23610 PyObject
* obj1
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "self",(char *) "handler", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23632 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
;
23634 wxWindow
*arg1
= (wxWindow
*) 0 ;
23635 wxValidator
*arg2
= 0 ;
23636 PyObject
* obj0
= 0 ;
23637 PyObject
* obj1
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "self",(char *) "validator", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23645 if (arg2
== NULL
) {
23646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxWindow
*arg1
= (wxWindow
*) 0 ;
23665 wxValidator
*result
;
23666 PyObject
* obj0
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "self", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (wxValidator
*)(arg1
)->GetValidator();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= wxPyMake_wxObject(result
);
23689 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxWindow
*arg1
= (wxWindow
*) 0 ;
23692 wxAcceleratorTable
*arg2
= 0 ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "accel", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23702 if (arg2
== NULL
) {
23703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 Py_INCREF(Py_None
); resultobj
= Py_None
;
23719 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxWindow
*arg1
= (wxWindow
*) 0 ;
23722 wxAcceleratorTable
*result
;
23723 PyObject
* obj0
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
23744 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxWindow
*arg1
= (wxWindow
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 PyObject
* obj2
= 0 ;
23754 PyObject
* obj3
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23762 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23766 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23787 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxWindow
*arg1
= (wxWindow
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "hotkeyId", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23801 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23818 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxWindow
*arg1
= (wxWindow
*) 0 ;
23821 wxPoint
*arg2
= 0 ;
23824 PyObject
* obj0
= 0 ;
23825 PyObject
* obj1
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "pt", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23844 wxPoint
* resultptr
;
23845 resultptr
= new wxPoint((wxPoint
&) result
);
23846 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23854 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxWindow
*arg1
= (wxWindow
*) 0 ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self",(char *) "sz", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23870 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23880 wxSize
* resultptr
;
23881 resultptr
= new wxSize((wxSize
&) result
);
23882 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23890 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxWindow
*arg1
= (wxWindow
*) 0 ;
23893 wxPoint
*arg2
= 0 ;
23896 PyObject
* obj0
= 0 ;
23897 PyObject
* obj1
= 0 ;
23898 char *kwnames
[] = {
23899 (char *) "self",(char *) "pt", NULL
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
23903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 wxPoint
* resultptr
;
23917 resultptr
= new wxPoint((wxPoint
&) result
);
23918 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23926 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxWindow
*arg1
= (wxWindow
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 char *kwnames
[] = {
23935 (char *) "self",(char *) "sz", NULL
23938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
23939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23942 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 wxSize
* resultptr
;
23953 resultptr
= new wxSize((wxSize
&) result
);
23954 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23962 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxWindow
*arg1
= (wxWindow
*) 0 ;
23965 wxPoint
*arg2
= 0 ;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self",(char *) "pt", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 wxPoint
* resultptr
;
23989 resultptr
= new wxPoint((wxPoint
&) result
);
23990 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23998 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxWindow
*arg1
= (wxWindow
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self",(char *) "sz", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24014 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24024 wxSize
* resultptr
;
24025 resultptr
= new wxSize((wxSize
&) result
);
24026 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24034 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxWindow
*arg1
= (wxWindow
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 PyObject
* obj2
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self",(char *) "x",(char *) "y", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->WarpPointer(arg2
,arg3
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 Py_INCREF(Py_None
); resultobj
= Py_None
;
24070 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxWindow
*arg1
= (wxWindow
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 (arg1
)->CaptureMouse();
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 Py_INCREF(Py_None
); resultobj
= Py_None
;
24094 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24096 wxWindow
*arg1
= (wxWindow
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->ReleaseMouse();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24121 char *kwnames
[] = {
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 result
= (wxWindow
*)wxWindow::GetCapture();
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= wxPyMake_wxObject(result
);
24142 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxWindow
*arg1
= (wxWindow
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24167 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxWindow
*arg1
= (wxWindow
*) 0 ;
24170 bool arg2
= (bool) True
;
24171 wxRect
*arg3
= (wxRect
*) NULL
;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 PyObject
* obj2
= 0 ;
24175 char *kwnames
[] = {
24176 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24183 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24188 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 Py_INCREF(Py_None
); resultobj
= Py_None
;
24204 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24205 PyObject
*resultobj
;
24206 wxWindow
*arg1
= (wxWindow
*) 0 ;
24209 PyObject
* obj0
= 0 ;
24210 PyObject
* obj1
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "rect", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24219 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 Py_INCREF(Py_None
); resultobj
= Py_None
;
24235 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxWindow
*arg1
= (wxWindow
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 Py_INCREF(Py_None
); resultobj
= Py_None
;
24259 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxWindow
*arg1
= (wxWindow
*) 0 ;
24262 PyObject
* obj0
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 (arg1
)->ClearBackground();
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 Py_INCREF(Py_None
); resultobj
= Py_None
;
24283 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxWindow
*arg1
= (wxWindow
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 Py_INCREF(Py_None
); resultobj
= Py_None
;
24307 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxWindow
*arg1
= (wxWindow
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 Py_INCREF(Py_None
); resultobj
= Py_None
;
24331 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24333 wxWindow
*arg1
= (wxWindow
*) 0 ;
24335 PyObject
* obj0
= 0 ;
24336 PyObject
* obj1
= 0 ;
24337 char *kwnames
[] = {
24338 (char *) "self",(char *) "dc", NULL
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24344 if (arg2
== NULL
) {
24345 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 (arg1
)->PrepareDC(*arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 Py_INCREF(Py_None
); resultobj
= Py_None
;
24361 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
;
24363 wxWindow
*arg1
= (wxWindow
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24376 result
= (wxRegion
*) &_result_ref
;
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
24389 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxWindow
*arg1
= (wxWindow
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 wxRect
* resultptr
;
24409 resultptr
= new wxRect((wxRect
&) result
);
24410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
24418 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24420 wxWindow
*arg1
= (wxWindow
*) 0 ;
24423 int arg4
= (int) 1 ;
24424 int arg5
= (int) 1 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 PyObject
* obj2
= 0 ;
24429 PyObject
* obj3
= 0 ;
24430 PyObject
* obj4
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24438 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24442 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24447 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24453 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24471 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxWindow
*arg1
= (wxWindow
*) 0 ;
24474 wxPoint
*arg2
= 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "pt", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24503 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24505 wxWindow
*arg1
= (wxWindow
*) 0 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char *kwnames
[] = {
24512 (char *) "self",(char *) "rect", NULL
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24519 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24535 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
;
24537 wxWindow
*arg1
= (wxWindow
*) 0 ;
24538 wxColour
*arg2
= 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 char *kwnames
[] = {
24544 (char *) "self",(char *) "colour", NULL
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24551 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24567 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
;
24569 wxWindow
*arg1
= (wxWindow
*) 0 ;
24570 wxColour
*arg2
= 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "colour", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24583 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24599 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxWindow
*arg1
= (wxWindow
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 wxColour
* resultptr
;
24619 resultptr
= new wxColour((wxColour
&) result
);
24620 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24628 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxWindow
*arg1
= (wxWindow
*) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24647 wxColour
* resultptr
;
24648 resultptr
= new wxColour((wxColour
&) result
);
24649 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24657 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxWindow
*arg1
= (wxWindow
*) 0 ;
24660 wxCursor
*arg2
= 0 ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "cursor", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24671 if (arg2
== NULL
) {
24672 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24688 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxWindow
*arg1
= (wxWindow
*) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 char *kwnames
[] = {
24694 (char *) "self", NULL
24697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 wxCursor
&_result_ref
= (arg1
)->GetCursor();
24703 result
= (wxCursor
*) &_result_ref
;
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
24716 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxWindow
*arg1
= (wxWindow
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self",(char *) "font", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24730 if (arg2
== NULL
) {
24731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24747 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxWindow
*arg1
= (wxWindow
*) 0 ;
24751 PyObject
* obj0
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
24757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 wxFont
&_result_ref
= (arg1
)->GetFont();
24762 result
= (wxFont
*) &_result_ref
;
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
24775 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxWindow
*arg1
= (wxWindow
*) 0 ;
24778 wxCaret
*arg2
= (wxCaret
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "caret", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 (arg1
)->SetCaret(arg2
);
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 Py_INCREF(Py_None
); resultobj
= Py_None
;
24802 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxWindow
*arg1
= (wxWindow
*) 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
24827 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxWindow
*arg1
= (wxWindow
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
24837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_PyObj_FromInt((int)result
);
24852 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxWindow
*arg1
= (wxWindow
*) 0 ;
24856 PyObject
* obj0
= 0 ;
24857 char *kwnames
[] = {
24858 (char *) "self", NULL
24861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
24862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_PyObj_FromInt((int)result
);
24877 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxWindow
*arg1
= (wxWindow
*) 0 ;
24880 wxString
*arg2
= 0 ;
24881 int *arg3
= (int *) 0 ;
24882 int *arg4
= (int *) 0 ;
24883 bool temp2
= False
;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "string", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24897 arg2
= wxString_in_helper(obj1
);
24898 if (arg2
== NULL
) SWIG_fail
;
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24908 Py_INCREF(Py_None
); resultobj
= Py_None
;
24910 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24911 resultobj
= t_output_helper(resultobj
,o
);
24914 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24915 resultobj
= t_output_helper(resultobj
,o
);
24931 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxWindow
*arg1
= (wxWindow
*) 0 ;
24934 wxString
*arg2
= 0 ;
24935 int *arg3
= (int *) 0 ;
24936 int *arg4
= (int *) 0 ;
24937 int *arg5
= (int *) 0 ;
24938 int *arg6
= (int *) 0 ;
24939 wxFont
*arg7
= (wxFont
*) NULL
;
24940 bool temp2
= False
;
24945 PyObject
* obj0
= 0 ;
24946 PyObject
* obj1
= 0 ;
24947 PyObject
* obj2
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "self",(char *) "string",(char *) "font", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24959 arg2
= wxString_in_helper(obj1
);
24960 if (arg2
== NULL
) SWIG_fail
;
24964 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 Py_INCREF(Py_None
); resultobj
= Py_None
;
24975 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24976 resultobj
= t_output_helper(resultobj
,o
);
24979 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24980 resultobj
= t_output_helper(resultobj
,o
);
24983 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
24984 resultobj
= t_output_helper(resultobj
,o
);
24987 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
24988 resultobj
= t_output_helper(resultobj
,o
);
25004 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxWindow
*arg1
= (wxWindow
*) 0 ;
25007 int *arg2
= (int *) 0 ;
25008 int *arg3
= (int *) 0 ;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 PyObject
* obj2
= 0 ;
25014 char *kwnames
[] = {
25015 (char *) "self",(char *) "x",(char *) "y", NULL
25018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25021 temp2
= PyInt_AsLong(obj1
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25026 temp3
= PyInt_AsLong(obj2
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25039 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25040 resultobj
= t_output_helper(resultobj
,o
);
25043 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25044 resultobj
= t_output_helper(resultobj
,o
);
25052 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxWindow
*arg1
= (wxWindow
*) 0 ;
25055 int *arg2
= (int *) 0 ;
25056 int *arg3
= (int *) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 PyObject
* obj2
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "x",(char *) "y", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25069 temp2
= PyInt_AsLong(obj1
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25074 temp3
= PyInt_AsLong(obj2
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25085 Py_INCREF(Py_None
); resultobj
= Py_None
;
25087 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25088 resultobj
= t_output_helper(resultobj
,o
);
25091 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25092 resultobj
= t_output_helper(resultobj
,o
);
25100 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25101 PyObject
*resultobj
;
25102 wxWindow
*arg1
= (wxWindow
*) 0 ;
25103 wxPoint
*arg2
= 0 ;
25106 PyObject
* obj0
= 0 ;
25107 PyObject
* obj1
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self",(char *) "pt", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25126 wxPoint
* resultptr
;
25127 resultptr
= new wxPoint((wxPoint
&) result
);
25128 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25136 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
;
25138 wxWindow
*arg1
= (wxWindow
*) 0 ;
25139 wxPoint
*arg2
= 0 ;
25142 PyObject
* obj0
= 0 ;
25143 PyObject
* obj1
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self",(char *) "pt", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 wxPoint
* resultptr
;
25163 resultptr
= new wxPoint((wxPoint
&) result
);
25164 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25172 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxWindow
*arg1
= (wxWindow
*) 0 ;
25178 PyObject
* obj0
= 0 ;
25179 PyObject
* obj1
= 0 ;
25180 PyObject
* obj2
= 0 ;
25181 char *kwnames
[] = {
25182 (char *) "self",(char *) "x",(char *) "y", NULL
25185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25188 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25192 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= SWIG_PyObj_FromInt((int)result
);
25209 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
;
25211 wxWindow
*arg1
= (wxWindow
*) 0 ;
25212 wxPoint
*arg2
= 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self",(char *) "pt", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= SWIG_PyObj_FromInt((int)result
);
25241 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxWindow
*arg1
= (wxWindow
*) 0 ;
25246 PyObject
* obj0
= 0 ;
25247 PyObject
* obj1
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self",(char *) "flags", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetBorderFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25255 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_PyObj_FromInt((int)result
);
25272 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxWindow
*arg1
= (wxWindow
*) 0 ;
25276 PyObject
* obj0
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
25282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_PyObj_FromInt((int)result
);
25297 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxWindow
*arg1
= (wxWindow
*) 0 ;
25300 long arg2
= (long) wxUPDATE_UI_NONE
;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self",(char *) "flags", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25311 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 (arg1
)->UpdateWindowUI(arg2
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 Py_INCREF(Py_None
); resultobj
= Py_None
;
25329 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxWindow
*arg1
= (wxWindow
*) 0 ;
25332 wxMenu
*arg2
= (wxMenu
*) 0 ;
25336 PyObject
* obj0
= 0 ;
25337 PyObject
* obj1
= 0 ;
25338 PyObject
* obj2
= 0 ;
25339 PyObject
* obj3
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25348 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25352 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25369 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxWindow
*arg1
= (wxWindow
*) 0 ;
25372 wxMenu
*arg2
= (wxMenu
*) 0 ;
25373 wxPoint
*arg3
= 0 ;
25376 PyObject
* obj0
= 0 ;
25377 PyObject
* obj1
= 0 ;
25378 PyObject
* obj2
= 0 ;
25379 char *kwnames
[] = {
25380 (char *) "self",(char *) "menu",(char *) "pos", NULL
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25404 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25406 wxWindow
*arg1
= (wxWindow
*) 0 ;
25408 PyObject
* obj0
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= (long)wxWindow_GetHandle(arg1
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_PyObj_FromLong((long)result
);
25429 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxWindow
*arg1
= (wxWindow
*) 0 ;
25432 wxPaintEvent
*arg2
= 0 ;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self",(char *) "event", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPaintEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25442 if (arg2
== NULL
) {
25443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 (arg1
)->OnPaint(*arg2
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 Py_INCREF(Py_None
); resultobj
= Py_None
;
25459 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxWindow
*arg1
= (wxWindow
*) 0 ;
25464 PyObject
* obj0
= 0 ;
25465 PyObject
* obj1
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "self",(char *) "orient", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25490 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxWindow
*arg1
= (wxWindow
*) 0 ;
25497 bool arg6
= (bool) True
;
25498 PyObject
* obj0
= 0 ;
25499 PyObject
* obj1
= 0 ;
25500 PyObject
* obj2
= 0 ;
25501 PyObject
* obj3
= 0 ;
25502 PyObject
* obj4
= 0 ;
25503 PyObject
* obj5
= 0 ;
25504 char *kwnames
[] = {
25505 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25515 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25519 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25523 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25528 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 Py_INCREF(Py_None
); resultobj
= Py_None
;
25546 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxWindow
*arg1
= (wxWindow
*) 0 ;
25551 bool arg4
= (bool) True
;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 PyObject
* obj2
= 0 ;
25555 PyObject
* obj3
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
25560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25572 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 Py_INCREF(Py_None
); resultobj
= Py_None
;
25590 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxWindow
*arg1
= (wxWindow
*) 0 ;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self",(char *) "orient", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25604 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= SWIG_PyObj_FromInt((int)result
);
25621 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxWindow
*arg1
= (wxWindow
*) 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self",(char *) "orient", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25635 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 resultobj
= SWIG_PyObj_FromInt((int)result
);
25652 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxWindow
*arg1
= (wxWindow
*) 0 ;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self",(char *) "orient", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25666 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= SWIG_PyObj_FromInt((int)result
);
25683 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxWindow
*arg1
= (wxWindow
*) 0 ;
25688 wxRect
*arg4
= (wxRect
*) NULL
;
25689 PyObject
* obj0
= 0 ;
25690 PyObject
* obj1
= 0 ;
25691 PyObject
* obj2
= 0 ;
25692 PyObject
* obj3
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25700 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25704 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25708 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 Py_INCREF(Py_None
); resultobj
= Py_None
;
25724 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxWindow
*arg1
= (wxWindow
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self",(char *) "lines", NULL
25735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
25736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25738 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (bool)(arg1
)->ScrollLines(arg2
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25748 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25755 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxWindow
*arg1
= (wxWindow
*) 0 ;
25760 PyObject
* obj0
= 0 ;
25761 PyObject
* obj1
= 0 ;
25762 char *kwnames
[] = {
25763 (char *) "self",(char *) "pages", NULL
25766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
25767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25769 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 result
= (bool)(arg1
)->ScrollPages(arg2
);
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25786 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
;
25788 wxWindow
*arg1
= (wxWindow
*) 0 ;
25790 PyObject
* obj0
= 0 ;
25791 char *kwnames
[] = {
25792 (char *) "self", NULL
25795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
25796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= (bool)(arg1
)->LineUp();
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25804 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25811 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25812 PyObject
*resultobj
;
25813 wxWindow
*arg1
= (wxWindow
*) 0 ;
25815 PyObject
* obj0
= 0 ;
25816 char *kwnames
[] = {
25817 (char *) "self", NULL
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
25821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (bool)(arg1
)->LineDown();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25836 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxWindow
*arg1
= (wxWindow
*) 0 ;
25840 PyObject
* obj0
= 0 ;
25841 char *kwnames
[] = {
25842 (char *) "self", NULL
25845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
25846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 result
= (bool)(arg1
)->PageUp();
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25861 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxWindow
*arg1
= (wxWindow
*) 0 ;
25865 PyObject
* obj0
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
25871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 result
= (bool)(arg1
)->PageDown();
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25886 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxWindow
*arg1
= (wxWindow
*) 0 ;
25889 wxString
*arg2
= 0 ;
25890 bool temp2
= False
;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 char *kwnames
[] = {
25894 (char *) "self",(char *) "text", NULL
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
25898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25900 arg2
= wxString_in_helper(obj1
);
25901 if (arg2
== NULL
) SWIG_fail
;
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 (arg1
)->SetHelpText((wxString
const &)*arg2
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 Py_INCREF(Py_None
); resultobj
= Py_None
;
25926 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxWindow
*arg1
= (wxWindow
*) 0 ;
25929 wxString
*arg2
= 0 ;
25930 bool temp2
= False
;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self",(char *) "text", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25940 arg2
= wxString_in_helper(obj1
);
25941 if (arg2
== NULL
) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 Py_INCREF(Py_None
); resultobj
= Py_None
;
25966 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxWindow
*arg1
= (wxWindow
*) 0 ;
25970 PyObject
* obj0
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
25976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 result
= ((wxWindow
const *)arg1
)->GetHelpText();
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25997 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25998 PyObject
*resultobj
;
25999 wxWindow
*arg1
= (wxWindow
*) 0 ;
26000 wxString
*arg2
= 0 ;
26001 bool temp2
= False
;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "self",(char *) "tip", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26011 arg2
= wxString_in_helper(obj1
);
26012 if (arg2
== NULL
) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 Py_INCREF(Py_None
); resultobj
= Py_None
;
26037 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
;
26039 wxWindow
*arg1
= (wxWindow
*) 0 ;
26040 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self",(char *) "tip", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 (arg1
)->SetToolTip(arg2
);
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 Py_INCREF(Py_None
); resultobj
= Py_None
;
26064 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
;
26066 wxWindow
*arg1
= (wxWindow
*) 0 ;
26068 PyObject
* obj0
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= wxPyMake_wxObject(result
);
26091 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
;
26093 wxWindow
*arg1
= (wxWindow
*) 0 ;
26094 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self",(char *) "dropTarget", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 (arg1
)->SetDropTarget(arg2
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 Py_INCREF(Py_None
); resultobj
= Py_None
;
26118 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26119 PyObject
*resultobj
;
26120 wxWindow
*arg1
= (wxWindow
*) 0 ;
26121 wxPyDropTarget
*result
;
26122 PyObject
* obj0
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
26143 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxWindow
*arg1
= (wxWindow
*) 0 ;
26147 PyObject
* obj0
= 0 ;
26148 PyObject
* obj1
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "accept", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26156 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 (arg1
)->DragAcceptFiles(arg2
);
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 Py_INCREF(Py_None
); resultobj
= Py_None
;
26173 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26174 PyObject
*resultobj
;
26175 wxWindow
*arg1
= (wxWindow
*) 0 ;
26176 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self",(char *) "constraints", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 (arg1
)->SetConstraints(arg2
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 Py_INCREF(Py_None
); resultobj
= Py_None
;
26200 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxWindow
*arg1
= (wxWindow
*) 0 ;
26203 wxLayoutConstraints
*result
;
26204 PyObject
* obj0
= 0 ;
26205 char *kwnames
[] = {
26206 (char *) "self", NULL
26209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
26225 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxWindow
*arg1
= (wxWindow
*) 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "autoLayout", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26238 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 (arg1
)->SetAutoLayout(arg2
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 Py_INCREF(Py_None
); resultobj
= Py_None
;
26255 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
;
26257 wxWindow
*arg1
= (wxWindow
*) 0 ;
26259 PyObject
* obj0
= 0 ;
26260 char *kwnames
[] = {
26261 (char *) "self", NULL
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26280 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxWindow
*arg1
= (wxWindow
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (bool)(arg1
)->Layout();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26305 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
;
26307 wxWindow
*arg1
= (wxWindow
*) 0 ;
26308 wxSizer
*arg2
= (wxSizer
*) 0 ;
26309 bool arg3
= (bool) True
;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 PyObject
* obj2
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26319 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26322 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->SetSizer(arg2
,arg3
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 Py_INCREF(Py_None
); resultobj
= Py_None
;
26340 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxWindow
*arg1
= (wxWindow
*) 0 ;
26343 wxSizer
*arg2
= (wxSizer
*) 0 ;
26344 bool arg3
= (bool) True
;
26345 PyObject
* obj0
= 0 ;
26346 PyObject
* obj1
= 0 ;
26347 PyObject
* obj2
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26357 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 Py_INCREF(Py_None
); resultobj
= Py_None
;
26375 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxWindow
*arg1
= (wxWindow
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 char *kwnames
[] = {
26381 (char *) "self", NULL
26384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= wxPyMake_wxSizer(result
);
26402 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
;
26404 wxWindow
*arg1
= (wxWindow
*) 0 ;
26405 wxSizer
*arg2
= (wxSizer
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self",(char *) "sizer", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 (arg1
)->SetContainingSizer(arg2
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26422 Py_INCREF(Py_None
); resultobj
= Py_None
;
26429 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26430 PyObject
*resultobj
;
26431 wxWindow
*arg1
= (wxWindow
*) 0 ;
26433 PyObject
* obj0
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= wxPyMake_wxSizer(result
);
26456 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26459 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26461 return Py_BuildValue((char *)"");
26463 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26466 wxWindow
*arg2
= (wxWindow
*) NULL
;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "id",(char *) "parent", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26476 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= wxPyMake_wxObject(result
);
26498 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxString
*arg1
= 0 ;
26501 wxWindow
*arg2
= (wxWindow
*) NULL
;
26503 bool temp1
= False
;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "name",(char *) "parent", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 arg1
= wxString_in_helper(obj0
);
26513 if (arg1
== NULL
) SWIG_fail
;
26517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= wxPyMake_wxObject(result
);
26543 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxString
*arg1
= 0 ;
26546 wxWindow
*arg2
= (wxWindow
*) NULL
;
26548 bool temp1
= False
;
26549 PyObject
* obj0
= 0 ;
26550 PyObject
* obj1
= 0 ;
26551 char *kwnames
[] = {
26552 (char *) "label",(char *) "parent", NULL
26555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26557 arg1
= wxString_in_helper(obj0
);
26558 if (arg1
== NULL
) SWIG_fail
;
26562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26572 resultobj
= wxPyMake_wxObject(result
);
26588 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 unsigned long arg1
;
26592 PyObject
* obj0
= 0 ;
26593 char *kwnames
[] = {
26594 (char *) "hWnd", NULL
26597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
26599 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= wxPyMake_wxObject(result
);
26618 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxValidator
*result
;
26621 char *kwnames
[] = {
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 result
= (wxValidator
*)new wxValidator();
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= wxPyMake_wxObject(result
);
26642 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
;
26644 wxValidator
*arg1
= (wxValidator
*) 0 ;
26645 wxValidator
*result
;
26646 PyObject
* obj0
= 0 ;
26647 char *kwnames
[] = {
26648 (char *) "self", NULL
26651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= (wxValidator
*)(arg1
)->Clone();
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26661 resultobj
= wxPyMake_wxObject(result
);
26669 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
;
26671 wxValidator
*arg1
= (wxValidator
*) 0 ;
26672 wxWindow
*arg2
= (wxWindow
*) 0 ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26676 char *kwnames
[] = {
26677 (char *) "self",(char *) "parent", NULL
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26682 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 result
= (bool)(arg1
)->Validate(arg2
);
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26697 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26698 PyObject
*resultobj
;
26699 wxValidator
*arg1
= (wxValidator
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 char *kwnames
[] = {
26703 (char *) "self", NULL
26706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
26707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 result
= (bool)(arg1
)->TransferToWindow();
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26722 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26723 PyObject
*resultobj
;
26724 wxValidator
*arg1
= (wxValidator
*) 0 ;
26726 PyObject
* obj0
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
26732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= (bool)(arg1
)->TransferFromWindow();
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26747 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
;
26749 wxValidator
*arg1
= (wxValidator
*) 0 ;
26751 PyObject
* obj0
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
26757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 result
= (wxWindow
*)(arg1
)->GetWindow();
26762 wxPyEndAllowThreads(__tstate
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26766 resultobj
= wxPyMake_wxObject(result
);
26774 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
;
26776 wxValidator
*arg1
= (wxValidator
*) 0 ;
26777 wxWindow
*arg2
= (wxWindow
*) 0 ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self",(char *) "window", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 (arg1
)->SetWindow(arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 Py_INCREF(Py_None
); resultobj
= Py_None
;
26801 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26804 char *kwnames
[] = {
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (bool)wxValidator::IsSilent();
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26823 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 int arg1
= (int) True
;
26826 PyObject
* obj0
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "doIt", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
26834 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 wxValidator::SetBellOnError(arg1
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 Py_INCREF(Py_None
); resultobj
= Py_None
;
26852 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
26854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26855 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
26857 return Py_BuildValue((char *)"");
26859 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxPyValidator
*result
;
26862 char *kwnames
[] = {
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (wxPyValidator
*)new wxPyValidator();
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
26881 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
26884 PyObject
*arg2
= (PyObject
*) 0 ;
26885 PyObject
*arg3
= (PyObject
*) 0 ;
26886 int arg4
= (int) True
;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 PyObject
* obj2
= 0 ;
26890 PyObject
* obj3
= 0 ;
26891 char *kwnames
[] = {
26892 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26901 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 Py_INCREF(Py_None
); resultobj
= Py_None
;
26919 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
26921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26922 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
26924 return Py_BuildValue((char *)"");
26926 static int _wrap_DefaultValidator_set(PyObject
*) {
26927 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
26932 static PyObject
*_wrap_DefaultValidator_get() {
26935 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
26940 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26943 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26944 long arg2
= (long) 0 ;
26946 bool temp1
= False
;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "title",(char *) "style", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
26956 arg1
= wxString_in_helper(obj0
);
26957 if (arg1
== NULL
) SWIG_fail
;
26963 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= wxPyMake_wxObject(result
);
26991 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxMenu
*arg1
= (wxMenu
*) 0 ;
26995 wxString
*arg3
= 0 ;
26996 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26997 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26998 int arg5
= (int) wxITEM_NORMAL
;
26999 wxMenuItem
*result
;
27000 bool temp3
= False
;
27001 bool temp4
= False
;
27002 PyObject
* obj0
= 0 ;
27003 PyObject
* obj1
= 0 ;
27004 PyObject
* obj2
= 0 ;
27005 PyObject
* obj3
= 0 ;
27006 PyObject
* obj4
= 0 ;
27007 char *kwnames
[] = {
27008 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27014 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 arg3
= wxString_in_helper(obj2
);
27019 if (arg3
== NULL
) SWIG_fail
;
27024 arg4
= wxString_in_helper(obj3
);
27025 if (arg4
== NULL
) SWIG_fail
;
27031 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= wxPyMake_wxObject(result
);
27067 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxMenu
*arg1
= (wxMenu
*) 0 ;
27070 wxMenuItem
*result
;
27071 PyObject
* obj0
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= wxPyMake_wxObject(result
);
27094 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxMenu
*arg1
= (wxMenu
*) 0 ;
27098 wxString
*arg3
= 0 ;
27099 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27100 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27101 wxMenuItem
*result
;
27102 bool temp3
= False
;
27103 bool temp4
= False
;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 PyObject
* obj2
= 0 ;
27107 PyObject
* obj3
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27115 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27119 arg3
= wxString_in_helper(obj2
);
27120 if (arg3
== NULL
) SWIG_fail
;
27125 arg4
= wxString_in_helper(obj3
);
27126 if (arg4
== NULL
) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= wxPyMake_wxObject(result
);
27162 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27163 PyObject
*resultobj
;
27164 wxMenu
*arg1
= (wxMenu
*) 0 ;
27166 wxString
*arg3
= 0 ;
27167 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27168 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27169 wxMenuItem
*result
;
27170 bool temp3
= False
;
27171 bool temp4
= False
;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 PyObject
* obj2
= 0 ;
27175 PyObject
* obj3
= 0 ;
27176 char *kwnames
[] = {
27177 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27183 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 arg3
= wxString_in_helper(obj2
);
27188 if (arg3
== NULL
) SWIG_fail
;
27193 arg4
= wxString_in_helper(obj3
);
27194 if (arg4
== NULL
) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= wxPyMake_wxObject(result
);
27230 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxMenu
*arg1
= (wxMenu
*) 0 ;
27234 wxString
*arg3
= 0 ;
27235 wxMenu
*arg4
= (wxMenu
*) 0 ;
27236 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27237 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27238 wxMenuItem
*result
;
27239 bool temp3
= False
;
27240 bool temp5
= False
;
27241 PyObject
* obj0
= 0 ;
27242 PyObject
* obj1
= 0 ;
27243 PyObject
* obj2
= 0 ;
27244 PyObject
* obj3
= 0 ;
27245 PyObject
* obj4
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27253 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 arg3
= wxString_in_helper(obj2
);
27258 if (arg3
== NULL
) SWIG_fail
;
27261 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27264 arg5
= wxString_in_helper(obj4
);
27265 if (arg5
== NULL
) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= wxPyMake_wxObject(result
);
27301 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27302 PyObject
*resultobj
;
27303 wxMenu
*arg1
= (wxMenu
*) 0 ;
27304 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27305 wxMenuItem
*result
;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self",(char *) "item", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= wxPyMake_wxObject(result
);
27331 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxMenu
*arg1
= (wxMenu
*) 0 ;
27334 PyObject
* obj0
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 Py_INCREF(Py_None
); resultobj
= Py_None
;
27355 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxMenu
*arg1
= (wxMenu
*) 0 ;
27359 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27360 wxMenuItem
*result
;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 PyObject
* obj2
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self",(char *) "pos",(char *) "item", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27371 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= wxPyMake_wxObject(result
);
27391 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxMenu
*arg1
= (wxMenu
*) 0 ;
27396 wxString
*arg4
= 0 ;
27397 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27398 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27399 int arg6
= (int) wxITEM_NORMAL
;
27400 wxMenuItem
*result
;
27401 bool temp4
= False
;
27402 bool temp5
= False
;
27403 PyObject
* obj0
= 0 ;
27404 PyObject
* obj1
= 0 ;
27405 PyObject
* obj2
= 0 ;
27406 PyObject
* obj3
= 0 ;
27407 PyObject
* obj4
= 0 ;
27408 PyObject
* obj5
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27416 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27420 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 arg4
= wxString_in_helper(obj3
);
27425 if (arg4
== NULL
) SWIG_fail
;
27430 arg5
= wxString_in_helper(obj4
);
27431 if (arg5
== NULL
) SWIG_fail
;
27437 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= wxPyMake_wxObject(result
);
27473 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
;
27475 wxMenu
*arg1
= (wxMenu
*) 0 ;
27477 wxMenuItem
*result
;
27478 PyObject
* obj0
= 0 ;
27479 PyObject
* obj1
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "self",(char *) "pos", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27487 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= wxPyMake_wxObject(result
);
27506 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27507 PyObject
*resultobj
;
27508 wxMenu
*arg1
= (wxMenu
*) 0 ;
27511 wxString
*arg4
= 0 ;
27512 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27513 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27514 wxMenuItem
*result
;
27515 bool temp4
= False
;
27516 bool temp5
= False
;
27517 PyObject
* obj0
= 0 ;
27518 PyObject
* obj1
= 0 ;
27519 PyObject
* obj2
= 0 ;
27520 PyObject
* obj3
= 0 ;
27521 PyObject
* obj4
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27529 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27537 arg4
= wxString_in_helper(obj3
);
27538 if (arg4
== NULL
) SWIG_fail
;
27543 arg5
= wxString_in_helper(obj4
);
27544 if (arg5
== NULL
) SWIG_fail
;
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= wxPyMake_wxObject(result
);
27580 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27581 PyObject
*resultobj
;
27582 wxMenu
*arg1
= (wxMenu
*) 0 ;
27585 wxString
*arg4
= 0 ;
27586 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27587 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27588 wxMenuItem
*result
;
27589 bool temp4
= False
;
27590 bool temp5
= False
;
27591 PyObject
* obj0
= 0 ;
27592 PyObject
* obj1
= 0 ;
27593 PyObject
* obj2
= 0 ;
27594 PyObject
* obj3
= 0 ;
27595 PyObject
* obj4
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27603 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27607 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27611 arg4
= wxString_in_helper(obj3
);
27612 if (arg4
== NULL
) SWIG_fail
;
27617 arg5
= wxString_in_helper(obj4
);
27618 if (arg5
== NULL
) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= wxPyMake_wxObject(result
);
27654 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxMenu
*arg1
= (wxMenu
*) 0 ;
27659 wxString
*arg4
= 0 ;
27660 wxMenu
*arg5
= (wxMenu
*) 0 ;
27661 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27662 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27663 wxMenuItem
*result
;
27664 bool temp4
= False
;
27665 bool temp6
= False
;
27666 PyObject
* obj0
= 0 ;
27667 PyObject
* obj1
= 0 ;
27668 PyObject
* obj2
= 0 ;
27669 PyObject
* obj3
= 0 ;
27670 PyObject
* obj4
= 0 ;
27671 PyObject
* obj5
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27679 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27683 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27687 arg4
= wxString_in_helper(obj3
);
27688 if (arg4
== NULL
) SWIG_fail
;
27691 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27694 arg6
= wxString_in_helper(obj5
);
27695 if (arg6
== NULL
) SWIG_fail
;
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27707 resultobj
= wxPyMake_wxObject(result
);
27731 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27733 wxMenu
*arg1
= (wxMenu
*) 0 ;
27734 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27735 wxMenuItem
*result
;
27736 PyObject
* obj0
= 0 ;
27737 PyObject
* obj1
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self",(char *) "item", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= wxPyMake_wxObject(result
);
27761 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxMenu
*arg1
= (wxMenu
*) 0 ;
27765 wxString
*arg3
= 0 ;
27766 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27768 int arg5
= (int) wxITEM_NORMAL
;
27769 wxMenuItem
*result
;
27770 bool temp3
= False
;
27771 bool temp4
= False
;
27772 PyObject
* obj0
= 0 ;
27773 PyObject
* obj1
= 0 ;
27774 PyObject
* obj2
= 0 ;
27775 PyObject
* obj3
= 0 ;
27776 PyObject
* obj4
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27784 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27788 arg3
= wxString_in_helper(obj2
);
27789 if (arg3
== NULL
) SWIG_fail
;
27794 arg4
= wxString_in_helper(obj3
);
27795 if (arg4
== NULL
) SWIG_fail
;
27801 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= wxPyMake_wxObject(result
);
27837 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
;
27839 wxMenu
*arg1
= (wxMenu
*) 0 ;
27840 wxMenuItem
*result
;
27841 PyObject
* obj0
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= wxPyMake_wxObject(result
);
27864 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxMenu
*arg1
= (wxMenu
*) 0 ;
27868 wxString
*arg3
= 0 ;
27869 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27870 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27871 wxMenuItem
*result
;
27872 bool temp3
= False
;
27873 bool temp4
= False
;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 PyObject
* obj2
= 0 ;
27877 PyObject
* obj3
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27885 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27889 arg3
= wxString_in_helper(obj2
);
27890 if (arg3
== NULL
) SWIG_fail
;
27895 arg4
= wxString_in_helper(obj3
);
27896 if (arg4
== NULL
) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= wxPyMake_wxObject(result
);
27932 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
;
27934 wxMenu
*arg1
= (wxMenu
*) 0 ;
27936 wxString
*arg3
= 0 ;
27937 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27938 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27939 wxMenuItem
*result
;
27940 bool temp3
= False
;
27941 bool temp4
= False
;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 PyObject
* obj2
= 0 ;
27945 PyObject
* obj3
= 0 ;
27946 char *kwnames
[] = {
27947 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27953 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27957 arg3
= wxString_in_helper(obj2
);
27958 if (arg3
== NULL
) SWIG_fail
;
27963 arg4
= wxString_in_helper(obj3
);
27964 if (arg4
== NULL
) SWIG_fail
;
27969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27970 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27972 wxPyEndAllowThreads(__tstate
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= wxPyMake_wxObject(result
);
28000 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
;
28002 wxMenu
*arg1
= (wxMenu
*) 0 ;
28004 wxString
*arg3
= 0 ;
28005 wxMenu
*arg4
= (wxMenu
*) 0 ;
28006 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28007 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28008 wxMenuItem
*result
;
28009 bool temp3
= False
;
28010 bool temp5
= False
;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 PyObject
* obj2
= 0 ;
28014 PyObject
* obj3
= 0 ;
28015 PyObject
* obj4
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28023 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28027 arg3
= wxString_in_helper(obj2
);
28028 if (arg3
== NULL
) SWIG_fail
;
28031 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28034 arg5
= wxString_in_helper(obj4
);
28035 if (arg5
== NULL
) SWIG_fail
;
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28047 resultobj
= wxPyMake_wxObject(result
);
28071 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 wxMenu
*arg1
= (wxMenu
*) 0 ;
28075 wxMenuItem
*result
;
28076 PyObject
* obj0
= 0 ;
28077 PyObject
* obj1
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self",(char *) "id", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28085 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= wxPyMake_wxObject(result
);
28104 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxMenu
*arg1
= (wxMenu
*) 0 ;
28107 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28108 wxMenuItem
*result
;
28109 PyObject
* obj0
= 0 ;
28110 PyObject
* obj1
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self",(char *) "item", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= wxPyMake_wxObject(result
);
28134 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxMenu
*arg1
= (wxMenu
*) 0 ;
28139 PyObject
* obj0
= 0 ;
28140 PyObject
* obj1
= 0 ;
28141 char *kwnames
[] = {
28142 (char *) "self",(char *) "id", NULL
28145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28148 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (bool)(arg1
)->Delete(arg2
);
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28165 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxMenu
*arg1
= (wxMenu
*) 0 ;
28168 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 char *kwnames
[] = {
28173 (char *) "self",(char *) "item", NULL
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= (bool)(arg1
)->Delete(arg2
);
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28193 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 wxMenu
*arg1
= (wxMenu
*) 0 ;
28196 PyObject
* obj0
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "self", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 wxMenu_Destroy(arg1
);
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28210 Py_INCREF(Py_None
); resultobj
= Py_None
;
28217 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28218 PyObject
*resultobj
;
28219 wxMenu
*arg1
= (wxMenu
*) 0 ;
28222 PyObject
* obj0
= 0 ;
28223 PyObject
* obj1
= 0 ;
28224 char *kwnames
[] = {
28225 (char *) "self",(char *) "id", NULL
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28231 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (bool)(arg1
)->Destroy(arg2
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28248 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
;
28250 wxMenu
*arg1
= (wxMenu
*) 0 ;
28251 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28253 PyObject
* obj0
= 0 ;
28254 PyObject
* obj1
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self",(char *) "item", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 result
= (bool)(arg1
)->Destroy(arg2
);
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28276 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
;
28278 wxMenu
*arg1
= (wxMenu
*) 0 ;
28280 PyObject
* obj0
= 0 ;
28281 char *kwnames
[] = {
28282 (char *) "self", NULL
28285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
28301 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
;
28303 wxMenu
*arg1
= (wxMenu
*) 0 ;
28305 PyObject
* obj0
= 0 ;
28306 char *kwnames
[] = {
28307 (char *) "self", NULL
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= result
;
28326 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxMenu
*arg1
= (wxMenu
*) 0 ;
28329 wxString
*arg2
= 0 ;
28331 bool temp2
= False
;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self",(char *) "item", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28341 arg2
= wxString_in_helper(obj1
);
28342 if (arg2
== NULL
) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= SWIG_PyObj_FromInt((int)result
);
28367 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxMenu
*arg1
= (wxMenu
*) 0 ;
28371 wxMenuItem
*result
;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 char *kwnames
[] = {
28375 (char *) "self",(char *) "id", NULL
28378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28381 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= wxPyMake_wxObject(result
);
28400 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28401 PyObject
*resultobj
;
28402 wxMenu
*arg1
= (wxMenu
*) 0 ;
28404 wxMenuItem
*result
;
28405 PyObject
* obj0
= 0 ;
28406 PyObject
* obj1
= 0 ;
28407 char *kwnames
[] = {
28408 (char *) "self",(char *) "position", NULL
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28414 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28425 resultobj
= wxPyMake_wxObject(result
);
28433 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxMenu
*arg1
= (wxMenu
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 PyObject
* obj2
= 0 ;
28441 char *kwnames
[] = {
28442 (char *) "self",(char *) "id",(char *) "enable", NULL
28445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28448 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28452 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 (arg1
)->Enable(arg2
,arg3
);
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 Py_INCREF(Py_None
); resultobj
= Py_None
;
28469 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxMenu
*arg1
= (wxMenu
*) 0 ;
28474 PyObject
* obj0
= 0 ;
28475 PyObject
* obj1
= 0 ;
28476 char *kwnames
[] = {
28477 (char *) "self",(char *) "id", NULL
28480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28483 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28500 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
;
28502 wxMenu
*arg1
= (wxMenu
*) 0 ;
28505 PyObject
* obj0
= 0 ;
28506 PyObject
* obj1
= 0 ;
28507 PyObject
* obj2
= 0 ;
28508 char *kwnames
[] = {
28509 (char *) "self",(char *) "id",(char *) "check", NULL
28512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28515 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28519 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 (arg1
)->Check(arg2
,arg3
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 Py_INCREF(Py_None
); resultobj
= Py_None
;
28536 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
;
28538 wxMenu
*arg1
= (wxMenu
*) 0 ;
28541 PyObject
* obj0
= 0 ;
28542 PyObject
* obj1
= 0 ;
28543 char *kwnames
[] = {
28544 (char *) "self",(char *) "id", NULL
28547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28550 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28567 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
;
28569 wxMenu
*arg1
= (wxMenu
*) 0 ;
28571 wxString
*arg3
= 0 ;
28572 bool temp3
= False
;
28573 PyObject
* obj0
= 0 ;
28574 PyObject
* obj1
= 0 ;
28575 PyObject
* obj2
= 0 ;
28576 char *kwnames
[] = {
28577 (char *) "self",(char *) "id",(char *) "label", NULL
28580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28583 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28587 arg3
= wxString_in_helper(obj2
);
28588 if (arg3
== NULL
) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28598 Py_INCREF(Py_None
); resultobj
= Py_None
;
28613 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28614 PyObject
*resultobj
;
28615 wxMenu
*arg1
= (wxMenu
*) 0 ;
28618 PyObject
* obj0
= 0 ;
28619 PyObject
* obj1
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self",(char *) "id", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28650 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
;
28652 wxMenu
*arg1
= (wxMenu
*) 0 ;
28654 wxString
*arg3
= 0 ;
28655 bool temp3
= False
;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 PyObject
* obj2
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self",(char *) "id",(char *) "helpString", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28666 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28670 arg3
= wxString_in_helper(obj2
);
28671 if (arg3
== NULL
) SWIG_fail
;
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 Py_INCREF(Py_None
); resultobj
= Py_None
;
28696 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxMenu
*arg1
= (wxMenu
*) 0 ;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self",(char *) "id", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28710 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28733 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxMenu
*arg1
= (wxMenu
*) 0 ;
28736 wxString
*arg2
= 0 ;
28737 bool temp2
= False
;
28738 PyObject
* obj0
= 0 ;
28739 PyObject
* obj1
= 0 ;
28740 char *kwnames
[] = {
28741 (char *) "self",(char *) "title", NULL
28744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
28745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28747 arg2
= wxString_in_helper(obj1
);
28748 if (arg2
== NULL
) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 (arg1
)->SetTitle((wxString
const &)*arg2
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 Py_INCREF(Py_None
); resultobj
= Py_None
;
28773 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28774 PyObject
*resultobj
;
28775 wxMenu
*arg1
= (wxMenu
*) 0 ;
28777 PyObject
* obj0
= 0 ;
28778 char *kwnames
[] = {
28779 (char *) "self", NULL
28782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
28783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= ((wxMenu
const *)arg1
)->GetTitle();
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28804 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxMenu
*arg1
= (wxMenu
*) 0 ;
28807 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 char *kwnames
[] = {
28811 (char *) "self",(char *) "handler", NULL
28814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 (arg1
)->SetEventHandler(arg2
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 Py_INCREF(Py_None
); resultobj
= Py_None
;
28831 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
;
28833 wxMenu
*arg1
= (wxMenu
*) 0 ;
28834 wxEvtHandler
*result
;
28835 PyObject
* obj0
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= wxPyMake_wxObject(result
);
28858 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28860 wxMenu
*arg1
= (wxMenu
*) 0 ;
28861 wxWindow
*arg2
= (wxWindow
*) 0 ;
28862 PyObject
* obj0
= 0 ;
28863 PyObject
* obj1
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self",(char *) "win", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28870 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 (arg1
)->SetInvokingWindow(arg2
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 Py_INCREF(Py_None
); resultobj
= Py_None
;
28885 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
;
28887 wxMenu
*arg1
= (wxMenu
*) 0 ;
28889 PyObject
* obj0
= 0 ;
28890 char *kwnames
[] = {
28891 (char *) "self", NULL
28894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
28895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28904 resultobj
= wxPyMake_wxObject(result
);
28912 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28913 PyObject
*resultobj
;
28914 wxMenu
*arg1
= (wxMenu
*) 0 ;
28916 PyObject
* obj0
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
28922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_PyObj_FromLong((long)result
);
28937 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxMenu
*arg1
= (wxMenu
*) 0 ;
28940 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self",(char *) "source", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
28948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 (arg1
)->UpdateUI(arg2
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 Py_INCREF(Py_None
); resultobj
= Py_None
;
28966 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxMenu
*arg1
= (wxMenu
*) 0 ;
28970 PyObject
* obj0
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
28976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= wxPyMake_wxObject(result
);
28993 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxMenu
*arg1
= (wxMenu
*) 0 ;
28996 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 char *kwnames
[] = {
29000 (char *) "self",(char *) "menubar", NULL
29003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29008 (arg1
)->Attach(arg2
);
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29013 Py_INCREF(Py_None
); resultobj
= Py_None
;
29020 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29021 PyObject
*resultobj
;
29022 wxMenu
*arg1
= (wxMenu
*) 0 ;
29023 PyObject
* obj0
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29037 Py_INCREF(Py_None
); resultobj
= Py_None
;
29044 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
;
29046 wxMenu
*arg1
= (wxMenu
*) 0 ;
29048 PyObject
* obj0
= 0 ;
29049 char *kwnames
[] = {
29050 (char *) "self", NULL
29053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29069 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxMenu
*arg1
= (wxMenu
*) 0 ;
29072 wxMenu
*arg2
= (wxMenu
*) 0 ;
29073 PyObject
* obj0
= 0 ;
29074 PyObject
* obj1
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "self",(char *) "parent", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29081 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 (arg1
)->SetParent(arg2
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 Py_INCREF(Py_None
); resultobj
= Py_None
;
29096 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
;
29098 wxMenu
*arg1
= (wxMenu
*) 0 ;
29100 PyObject
* obj0
= 0 ;
29101 char *kwnames
[] = {
29102 (char *) "self", NULL
29105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= wxPyMake_wxObject(result
);
29123 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29126 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29128 return Py_BuildValue((char *)"");
29130 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 long arg1
= (long) 0 ;
29134 PyObject
* obj0
= 0 ;
29135 char *kwnames
[] = {
29136 (char *) "style", NULL
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29142 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29154 resultobj
= wxPyMake_wxObject(result
);
29162 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
;
29164 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29165 wxMenu
*arg2
= (wxMenu
*) 0 ;
29166 wxString
*arg3
= 0 ;
29168 bool temp3
= False
;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 PyObject
* obj2
= 0 ;
29172 char *kwnames
[] = {
29173 (char *) "self",(char *) "menu",(char *) "title", NULL
29176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29180 arg3
= wxString_in_helper(obj2
);
29181 if (arg3
== NULL
) SWIG_fail
;
29185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29186 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29206 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
;
29208 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29210 wxMenu
*arg3
= (wxMenu
*) 0 ;
29211 wxString
*arg4
= 0 ;
29213 bool temp4
= False
;
29214 PyObject
* obj0
= 0 ;
29215 PyObject
* obj1
= 0 ;
29216 PyObject
* obj2
= 0 ;
29217 PyObject
* obj3
= 0 ;
29218 char *kwnames
[] = {
29219 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29225 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29230 arg4
= wxString_in_helper(obj3
);
29231 if (arg4
== NULL
) SWIG_fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29256 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
;
29258 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29260 PyObject
* obj0
= 0 ;
29261 char *kwnames
[] = {
29262 (char *) "self", NULL
29265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
29281 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 char *kwnames
[] = {
29289 (char *) "self",(char *) "pos", NULL
29292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29295 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29300 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29306 resultobj
= wxPyMake_wxObject(result
);
29314 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29315 PyObject
*resultobj
;
29316 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29318 wxMenu
*arg3
= (wxMenu
*) 0 ;
29319 wxString
*arg4
= 0 ;
29321 bool temp4
= False
;
29322 PyObject
* obj0
= 0 ;
29323 PyObject
* obj1
= 0 ;
29324 PyObject
* obj2
= 0 ;
29325 PyObject
* obj3
= 0 ;
29326 char *kwnames
[] = {
29327 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29333 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29336 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29338 arg4
= wxString_in_helper(obj3
);
29339 if (arg4
== NULL
) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= wxPyMake_wxObject(result
);
29366 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29367 PyObject
*resultobj
;
29368 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29371 PyObject
* obj0
= 0 ;
29372 PyObject
* obj1
= 0 ;
29373 char *kwnames
[] = {
29374 (char *) "self",(char *) "pos", NULL
29377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29380 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= wxPyMake_wxObject(result
);
29399 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29404 PyObject
* obj0
= 0 ;
29405 PyObject
* obj1
= 0 ;
29406 PyObject
* obj2
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self",(char *) "pos",(char *) "enable", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29414 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29418 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 (arg1
)->EnableTop(arg2
,arg3
);
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 Py_INCREF(Py_None
); resultobj
= Py_None
;
29435 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
;
29437 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29440 PyObject
* obj0
= 0 ;
29441 PyObject
* obj1
= 0 ;
29442 char *kwnames
[] = {
29443 (char *) "self",(char *) "pos", NULL
29446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29449 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29466 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29467 PyObject
*resultobj
;
29468 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29470 wxString
*arg3
= 0 ;
29471 bool temp3
= False
;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 PyObject
* obj2
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self",(char *) "pos",(char *) "label", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29482 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 arg3
= wxString_in_helper(obj2
);
29487 if (arg3
== NULL
) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 Py_INCREF(Py_None
); resultobj
= Py_None
;
29512 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29517 PyObject
* obj0
= 0 ;
29518 PyObject
* obj1
= 0 ;
29519 char *kwnames
[] = {
29520 (char *) "self",(char *) "pos", NULL
29523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29526 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29549 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
;
29551 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29552 wxString
*arg2
= 0 ;
29553 wxString
*arg3
= 0 ;
29555 bool temp2
= False
;
29556 bool temp3
= False
;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 PyObject
* obj2
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self",(char *) "menu",(char *) "item", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29567 arg2
= wxString_in_helper(obj1
);
29568 if (arg2
== NULL
) SWIG_fail
;
29572 arg3
= wxString_in_helper(obj2
);
29573 if (arg3
== NULL
) SWIG_fail
;
29577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29578 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29580 wxPyEndAllowThreads(__tstate
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29583 resultobj
= SWIG_PyObj_FromInt((int)result
);
29606 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
;
29608 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29610 wxMenuItem
*result
;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 char *kwnames
[] = {
29614 (char *) "self",(char *) "id", NULL
29617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29620 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29631 resultobj
= wxPyMake_wxObject(result
);
29639 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
;
29641 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29642 wxString
*arg2
= 0 ;
29644 bool temp2
= False
;
29645 PyObject
* obj0
= 0 ;
29646 PyObject
* obj1
= 0 ;
29647 char *kwnames
[] = {
29648 (char *) "self",(char *) "title", NULL
29651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29654 arg2
= wxString_in_helper(obj1
);
29655 if (arg2
== NULL
) SWIG_fail
;
29659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29660 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_PyObj_FromInt((int)result
);
29680 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
;
29682 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 PyObject
* obj2
= 0 ;
29688 char *kwnames
[] = {
29689 (char *) "self",(char *) "id",(char *) "enable", NULL
29692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29695 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29699 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 (arg1
)->Enable(arg2
,arg3
);
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29709 Py_INCREF(Py_None
); resultobj
= Py_None
;
29716 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29717 PyObject
*resultobj
;
29718 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 PyObject
* obj2
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self",(char *) "id",(char *) "check", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29731 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29735 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 (arg1
)->Check(arg2
,arg3
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 Py_INCREF(Py_None
); resultobj
= Py_None
;
29752 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "self",(char *) "id", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29766 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29783 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
;
29785 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29788 PyObject
* obj0
= 0 ;
29789 PyObject
* obj1
= 0 ;
29790 char *kwnames
[] = {
29791 (char *) "self",(char *) "id", NULL
29794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29802 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29814 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29818 wxString
*arg3
= 0 ;
29819 bool temp3
= False
;
29820 PyObject
* obj0
= 0 ;
29821 PyObject
* obj1
= 0 ;
29822 PyObject
* obj2
= 0 ;
29823 char *kwnames
[] = {
29824 (char *) "self",(char *) "id",(char *) "label", NULL
29827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29830 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29834 arg3
= wxString_in_helper(obj2
);
29835 if (arg3
== NULL
) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 Py_INCREF(Py_None
); resultobj
= Py_None
;
29860 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29865 PyObject
* obj0
= 0 ;
29866 PyObject
* obj1
= 0 ;
29867 char *kwnames
[] = {
29868 (char *) "self",(char *) "id", NULL
29871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29874 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29897 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
;
29899 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29901 wxString
*arg3
= 0 ;
29902 bool temp3
= False
;
29903 PyObject
* obj0
= 0 ;
29904 PyObject
* obj1
= 0 ;
29905 PyObject
* obj2
= 0 ;
29906 char *kwnames
[] = {
29907 (char *) "self",(char *) "id",(char *) "helpString", NULL
29910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29913 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29917 arg3
= wxString_in_helper(obj2
);
29918 if (arg3
== NULL
) SWIG_fail
;
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29925 wxPyEndAllowThreads(__tstate
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29928 Py_INCREF(Py_None
); resultobj
= Py_None
;
29943 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29948 PyObject
* obj0
= 0 ;
29949 PyObject
* obj1
= 0 ;
29950 char *kwnames
[] = {
29951 (char *) "self",(char *) "id", NULL
29954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29957 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29980 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29984 PyObject
* obj0
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
29990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29993 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= wxPyMake_wxObject(result
);
30007 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30008 PyObject
*resultobj
;
30009 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30011 PyObject
* obj0
= 0 ;
30012 char *kwnames
[] = {
30013 (char *) "self", NULL
30016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30032 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30035 wxFrame
*arg2
= (wxFrame
*) 0 ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 char *kwnames
[] = {
30039 (char *) "self",(char *) "frame", NULL
30042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 (arg1
)->Attach(arg2
);
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 Py_INCREF(Py_None
); resultobj
= Py_None
;
30059 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
;
30061 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30062 PyObject
* obj0
= 0 ;
30063 char *kwnames
[] = {
30064 (char *) "self", NULL
30067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 wxPyEndAllowThreads(__tstate
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 Py_INCREF(Py_None
); resultobj
= Py_None
;
30083 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30086 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30088 return Py_BuildValue((char *)"");
30090 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30091 PyObject
*resultobj
;
30092 wxMenu
*arg1
= (wxMenu
*) NULL
;
30093 int arg2
= (int) wxID_SEPARATOR
;
30094 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30095 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30096 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30097 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30098 int arg5
= (int) wxITEM_NORMAL
;
30099 wxMenu
*arg6
= (wxMenu
*) NULL
;
30100 wxMenuItem
*result
;
30101 bool temp3
= False
;
30102 bool temp4
= False
;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 PyObject
* obj2
= 0 ;
30106 PyObject
* obj3
= 0 ;
30107 PyObject
* obj4
= 0 ;
30108 PyObject
* obj5
= 0 ;
30109 char *kwnames
[] = {
30110 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30119 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30125 arg3
= wxString_in_helper(obj2
);
30126 if (arg3
== NULL
) SWIG_fail
;
30132 arg4
= wxString_in_helper(obj3
);
30133 if (arg4
== NULL
) SWIG_fail
;
30139 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30144 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30148 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= wxPyMake_wxObject(result
);
30178 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
;
30180 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 char *kwnames
[] = {
30184 (char *) "self", NULL
30187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= wxPyMake_wxObject(result
);
30205 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
;
30207 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30208 wxMenu
*arg2
= (wxMenu
*) 0 ;
30209 PyObject
* obj0
= 0 ;
30210 PyObject
* obj1
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self",(char *) "menu", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 (arg1
)->SetMenu(arg2
);
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 Py_INCREF(Py_None
); resultobj
= Py_None
;
30232 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
;
30234 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30236 PyObject
* obj0
= 0 ;
30237 PyObject
* obj1
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self",(char *) "id", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 (arg1
)->SetId(arg2
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 Py_INCREF(Py_None
); resultobj
= Py_None
;
30262 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
;
30264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30266 PyObject
* obj0
= 0 ;
30267 char *kwnames
[] = {
30268 (char *) "self", NULL
30271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 resultobj
= SWIG_PyObj_FromInt((int)result
);
30287 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30291 PyObject
* obj0
= 0 ;
30292 char *kwnames
[] = {
30293 (char *) "self", NULL
30296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30312 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
;
30314 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30315 wxString
*arg2
= 0 ;
30316 bool temp2
= False
;
30317 PyObject
* obj0
= 0 ;
30318 PyObject
* obj1
= 0 ;
30319 char *kwnames
[] = {
30320 (char *) "self",(char *) "str", NULL
30323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30326 arg2
= wxString_in_helper(obj1
);
30327 if (arg2
== NULL
) SWIG_fail
;
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 (arg1
)->SetText((wxString
const &)*arg2
);
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 Py_INCREF(Py_None
); resultobj
= Py_None
;
30352 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
;
30354 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30356 PyObject
* obj0
= 0 ;
30357 char *kwnames
[] = {
30358 (char *) "self", NULL
30361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30383 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30384 PyObject
*resultobj
;
30385 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30387 PyObject
* obj0
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30398 result
= (wxString
*) &_result_ref
;
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30408 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30417 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxString
*arg1
= 0 ;
30421 bool temp1
= False
;
30422 PyObject
* obj0
= 0 ;
30423 char *kwnames
[] = {
30424 (char *) "text", NULL
30427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30429 arg1
= wxString_in_helper(obj0
);
30430 if (arg1
== NULL
) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30461 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30462 PyObject
*resultobj
;
30463 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30465 PyObject
* obj0
= 0 ;
30466 char *kwnames
[] = {
30467 (char *) "self", NULL
30470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= SWIG_PyObj_FromInt((int)result
);
30486 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self",(char *) "checkable", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30499 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 (arg1
)->SetCheckable(arg2
);
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30509 Py_INCREF(Py_None
); resultobj
= Py_None
;
30516 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30517 PyObject
*resultobj
;
30518 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30520 PyObject
* obj0
= 0 ;
30521 char *kwnames
[] = {
30522 (char *) "self", NULL
30525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30541 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
;
30543 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30545 PyObject
* obj0
= 0 ;
30546 char *kwnames
[] = {
30547 (char *) "self", NULL
30550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30556 wxPyEndAllowThreads(__tstate
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30559 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30566 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30567 PyObject
*resultobj
;
30568 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30569 wxMenu
*arg2
= (wxMenu
*) 0 ;
30570 PyObject
* obj0
= 0 ;
30571 PyObject
* obj1
= 0 ;
30572 char *kwnames
[] = {
30573 (char *) "self",(char *) "menu", NULL
30576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 (arg1
)->SetSubMenu(arg2
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 Py_INCREF(Py_None
); resultobj
= Py_None
;
30593 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
;
30595 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30597 PyObject
* obj0
= 0 ;
30598 char *kwnames
[] = {
30599 (char *) "self", NULL
30602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30606 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= wxPyMake_wxObject(result
);
30620 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
;
30622 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30623 bool arg2
= (bool) True
;
30624 PyObject
* obj0
= 0 ;
30625 PyObject
* obj1
= 0 ;
30626 char *kwnames
[] = {
30627 (char *) "self",(char *) "enable", NULL
30630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30634 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 (arg1
)->Enable(arg2
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 Py_INCREF(Py_None
); resultobj
= Py_None
;
30652 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
;
30654 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30656 PyObject
* obj0
= 0 ;
30657 char *kwnames
[] = {
30658 (char *) "self", NULL
30661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30677 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
;
30679 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30680 bool arg2
= (bool) True
;
30681 PyObject
* obj0
= 0 ;
30682 PyObject
* obj1
= 0 ;
30683 char *kwnames
[] = {
30684 (char *) "self",(char *) "check", NULL
30687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30691 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30697 (arg1
)->Check(arg2
);
30699 wxPyEndAllowThreads(__tstate
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30702 Py_INCREF(Py_None
); resultobj
= Py_None
;
30709 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
;
30711 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30713 PyObject
* obj0
= 0 ;
30714 char *kwnames
[] = {
30715 (char *) "self", NULL
30718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
30719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30734 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30735 PyObject
*resultobj
;
30736 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30737 PyObject
* obj0
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
30743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 Py_INCREF(Py_None
); resultobj
= Py_None
;
30758 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
;
30760 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30761 wxString
*arg2
= 0 ;
30762 bool temp2
= False
;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "self",(char *) "str", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30772 arg2
= wxString_in_helper(obj1
);
30773 if (arg2
== NULL
) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 (arg1
)->SetHelp((wxString
const &)*arg2
);
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 Py_INCREF(Py_None
); resultobj
= Py_None
;
30798 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30802 PyObject
* obj0
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
30808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
30813 result
= (wxString
*) &_result_ref
;
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30823 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30832 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
;
30834 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30835 wxAcceleratorEntry
*result
;
30836 PyObject
* obj0
= 0 ;
30837 char *kwnames
[] = {
30838 (char *) "self", NULL
30841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
30842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
30857 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30860 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self",(char *) "accel", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
30868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 (arg1
)->SetAccel(arg2
);
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 Py_INCREF(Py_None
); resultobj
= Py_None
;
30884 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30885 PyObject
*resultobj
;
30886 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 char *kwnames
[] = {
30891 (char *) "self",(char *) "font", NULL
30894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30897 if (arg2
== NULL
) {
30898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 (arg1
)->SetFont((wxFont
const &)*arg2
);
30904 wxPyEndAllowThreads(__tstate
);
30905 if (PyErr_Occurred()) SWIG_fail
;
30907 Py_INCREF(Py_None
); resultobj
= Py_None
;
30914 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30915 PyObject
*resultobj
;
30916 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30918 PyObject
* obj0
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "self", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
30924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 result
= (arg1
)->GetFont();
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30933 wxFont
* resultptr
;
30934 resultptr
= new wxFont((wxFont
&) result
);
30935 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
30943 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30944 PyObject
*resultobj
;
30945 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30946 wxColour
*arg2
= 0 ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 char *kwnames
[] = {
30951 (char *) "self",(char *) "colText", NULL
30954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 Py_INCREF(Py_None
); resultobj
= Py_None
;
30974 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
;
30976 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30978 PyObject
* obj0
= 0 ;
30979 char *kwnames
[] = {
30980 (char *) "self", NULL
30983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
30984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 result
= (arg1
)->GetTextColour();
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30993 wxColour
* resultptr
;
30994 resultptr
= new wxColour((wxColour
&) result
);
30995 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
31003 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31004 PyObject
*resultobj
;
31005 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31006 wxColour
*arg2
= 0 ;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char *kwnames
[] = {
31011 (char *) "self",(char *) "colBack", NULL
31014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31018 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31027 Py_INCREF(Py_None
); resultobj
= Py_None
;
31034 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31035 PyObject
*resultobj
;
31036 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31038 PyObject
* obj0
= 0 ;
31039 char *kwnames
[] = {
31040 (char *) "self", NULL
31043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
31044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 result
= (arg1
)->GetBackgroundColour();
31049 wxPyEndAllowThreads(__tstate
);
31050 if (PyErr_Occurred()) SWIG_fail
;
31053 wxColour
* resultptr
;
31054 resultptr
= new wxColour((wxColour
&) result
);
31055 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
31063 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31064 PyObject
*resultobj
;
31065 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31066 wxBitmap
*arg2
= 0 ;
31067 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31068 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31069 PyObject
* obj0
= 0 ;
31070 PyObject
* obj1
= 0 ;
31071 PyObject
* obj2
= 0 ;
31072 char *kwnames
[] = {
31073 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
31076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31079 if (arg2
== NULL
) {
31080 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31083 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31084 if (arg3
== NULL
) {
31085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31090 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31095 Py_INCREF(Py_None
); resultobj
= Py_None
;
31102 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
;
31104 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31105 wxBitmap
*arg2
= 0 ;
31106 PyObject
* obj0
= 0 ;
31107 PyObject
* obj1
= 0 ;
31108 char *kwnames
[] = {
31109 (char *) "self",(char *) "bmpDisabled", NULL
31112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31115 if (arg2
== NULL
) {
31116 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31120 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
31122 wxPyEndAllowThreads(__tstate
);
31123 if (PyErr_Occurred()) SWIG_fail
;
31125 Py_INCREF(Py_None
); resultobj
= Py_None
;
31132 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31133 PyObject
*resultobj
;
31134 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31136 PyObject
* obj0
= 0 ;
31137 char *kwnames
[] = {
31138 (char *) "self", NULL
31141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
31142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31146 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
31147 result
= (wxBitmap
*) &_result_ref
;
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
31160 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31164 PyObject
* obj0
= 0 ;
31165 PyObject
* obj1
= 0 ;
31166 char *kwnames
[] = {
31167 (char *) "self",(char *) "nWidth", NULL
31170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
31171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31173 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 (arg1
)->SetMarginWidth(arg2
);
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 Py_INCREF(Py_None
); resultobj
= Py_None
;
31190 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31191 PyObject
*resultobj
;
31192 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31194 PyObject
* obj0
= 0 ;
31195 char *kwnames
[] = {
31196 (char *) "self", NULL
31199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
31200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= (int)(arg1
)->GetMarginWidth();
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= SWIG_PyObj_FromInt((int)result
);
31215 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31216 PyObject
*resultobj
;
31218 char *kwnames
[] = {
31222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (int)wxMenuItem::GetDefaultMarginWidth();
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= SWIG_PyObj_FromInt((int)result
);
31237 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
;
31239 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31241 PyObject
* obj0
= 0 ;
31242 char *kwnames
[] = {
31243 (char *) "self", NULL
31246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= (bool)(arg1
)->IsOwnerDrawn();
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_PyObj_FromBool((bool)result
);
31262 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31265 bool arg2
= (bool) True
;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31268 char *kwnames
[] = {
31269 (char *) "self",(char *) "ownerDrawn", NULL
31272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
31273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31276 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 (arg1
)->SetOwnerDrawn(arg2
);
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 Py_INCREF(Py_None
); resultobj
= Py_None
;
31294 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31295 PyObject
*resultobj
;
31296 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31297 PyObject
* obj0
= 0 ;
31298 char *kwnames
[] = {
31299 (char *) "self", NULL
31302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 (arg1
)->ResetOwnerDrawn();
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 Py_INCREF(Py_None
); resultobj
= Py_None
;
31318 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
;
31320 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31321 wxBitmap
*arg2
= 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char *kwnames
[] = {
31325 (char *) "self",(char *) "bitmap", NULL
31328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31331 if (arg2
== NULL
) {
31332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31336 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 Py_INCREF(Py_None
); resultobj
= Py_None
;
31348 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
;
31350 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 char *kwnames
[] = {
31354 (char *) "self", NULL
31357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31363 result
= (wxBitmap
*) &_result_ref
;
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
31376 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
31378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31379 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31381 return Py_BuildValue((char *)"");
31383 static int _wrap_ControlNameStr_set(PyObject
*) {
31384 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31389 static PyObject
*_wrap_ControlNameStr_get() {
31394 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31396 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31403 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxWindow
*arg1
= (wxWindow
*) 0 ;
31407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31411 long arg5
= (long) 0 ;
31412 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31413 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31414 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31415 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31419 bool temp7
= False
;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 PyObject
* obj2
= 0 ;
31423 PyObject
* obj3
= 0 ;
31424 PyObject
* obj4
= 0 ;
31425 PyObject
* obj5
= 0 ;
31426 PyObject
* obj6
= 0 ;
31427 char *kwnames
[] = {
31428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31434 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31440 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31446 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31451 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31456 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31457 if (arg6
== NULL
) {
31458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31463 arg7
= wxString_in_helper(obj6
);
31464 if (arg7
== NULL
) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= wxPyMake_wxObject(result
);
31492 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31493 PyObject
*resultobj
;
31495 char *kwnames
[] = {
31499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 result
= (wxControl
*)new wxControl();
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31508 resultobj
= wxPyMake_wxObject(result
);
31516 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
;
31518 wxControl
*arg1
= (wxControl
*) 0 ;
31519 wxWindow
*arg2
= (wxWindow
*) 0 ;
31521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31525 long arg6
= (long) 0 ;
31526 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31527 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31528 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31533 bool temp8
= False
;
31534 PyObject
* obj0
= 0 ;
31535 PyObject
* obj1
= 0 ;
31536 PyObject
* obj2
= 0 ;
31537 PyObject
* obj3
= 0 ;
31538 PyObject
* obj4
= 0 ;
31539 PyObject
* obj5
= 0 ;
31540 PyObject
* obj6
= 0 ;
31541 PyObject
* obj7
= 0 ;
31542 char *kwnames
[] = {
31543 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31550 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31567 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31572 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31573 if (arg7
== NULL
) {
31574 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31579 arg8
= wxString_in_helper(obj7
);
31580 if (arg8
== NULL
) SWIG_fail
;
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31586 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_PyObj_FromBool((bool)result
);
31606 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31607 PyObject
*resultobj
;
31608 wxControl
*arg1
= (wxControl
*) 0 ;
31609 wxCommandEvent
*arg2
= 0 ;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 char *kwnames
[] = {
31613 (char *) "self",(char *) "event", NULL
31616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31619 if (arg2
== NULL
) {
31620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 (arg1
)->Command(*arg2
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31629 Py_INCREF(Py_None
); resultobj
= Py_None
;
31636 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31637 PyObject
*resultobj
;
31638 wxControl
*arg1
= (wxControl
*) 0 ;
31640 PyObject
* obj0
= 0 ;
31641 char *kwnames
[] = {
31642 (char *) "self", NULL
31645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 result
= (arg1
)->GetLabel();
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31667 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
;
31669 wxControl
*arg1
= (wxControl
*) 0 ;
31670 wxString
*arg2
= 0 ;
31671 bool temp2
= False
;
31672 PyObject
* obj0
= 0 ;
31673 PyObject
* obj1
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self",(char *) "label", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31681 arg2
= wxString_in_helper(obj1
);
31682 if (arg2
== NULL
) SWIG_fail
;
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 (arg1
)->SetLabel((wxString
const &)*arg2
);
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31692 Py_INCREF(Py_None
); resultobj
= Py_None
;
31707 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
31709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31710 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31712 return Py_BuildValue((char *)"");
31714 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31717 wxString
*arg2
= 0 ;
31718 PyObject
*arg3
= (PyObject
*) NULL
;
31720 bool temp2
= False
;
31721 PyObject
* obj0
= 0 ;
31722 PyObject
* obj1
= 0 ;
31723 PyObject
* obj2
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self",(char *) "item",(char *) "clientData", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31731 arg2
= wxString_in_helper(obj1
);
31732 if (arg2
== NULL
) SWIG_fail
;
31739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31745 resultobj
= SWIG_PyObj_FromInt((int)result
);
31760 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
;
31762 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31763 wxArrayString
*arg2
= 0 ;
31764 PyObject
* obj0
= 0 ;
31765 PyObject
* obj1
= 0 ;
31766 char *kwnames
[] = {
31767 (char *) "self",(char *) "strings", NULL
31770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31773 if (! PySequence_Check(obj1
)) {
31774 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
31777 arg2
= new wxArrayString
;
31778 int i
, len
=PySequence_Length(obj1
);
31779 for (i
=0; i
<len
; i
++) {
31780 PyObject
* item
= PySequence_GetItem(obj1
, i
);
31782 PyObject
* str
= PyObject_Unicode(item
);
31784 PyObject
* str
= PyObject_Str(item
);
31786 arg2
->Add(Py2wxString(str
));
31792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31793 (arg1
)->Append((wxArrayString
const &)*arg2
);
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31798 Py_INCREF(Py_None
); resultobj
= Py_None
;
31800 if (arg2
) delete arg2
;
31805 if (arg2
) delete arg2
;
31811 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31812 PyObject
*resultobj
;
31813 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31814 wxString
*arg2
= 0 ;
31816 PyObject
*arg4
= (PyObject
*) NULL
;
31818 bool temp2
= False
;
31819 PyObject
* obj0
= 0 ;
31820 PyObject
* obj1
= 0 ;
31821 PyObject
* obj2
= 0 ;
31822 PyObject
* obj3
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31830 arg2
= wxString_in_helper(obj1
);
31831 if (arg2
== NULL
) SWIG_fail
;
31835 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31843 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
31845 wxPyEndAllowThreads(__tstate
);
31846 if (PyErr_Occurred()) SWIG_fail
;
31848 resultobj
= SWIG_PyObj_FromInt((int)result
);
31863 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
;
31865 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31866 PyObject
* obj0
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
31872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 wxPyEndAllowThreads(__tstate
);
31878 if (PyErr_Occurred()) SWIG_fail
;
31880 Py_INCREF(Py_None
); resultobj
= Py_None
;
31887 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31888 PyObject
*resultobj
;
31889 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31891 PyObject
* obj0
= 0 ;
31892 PyObject
* obj1
= 0 ;
31893 char *kwnames
[] = {
31894 (char *) "self",(char *) "n", NULL
31897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31900 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31901 if (PyErr_Occurred()) SWIG_fail
;
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 (arg1
)->Delete(arg2
);
31907 wxPyEndAllowThreads(__tstate
);
31908 if (PyErr_Occurred()) SWIG_fail
;
31910 Py_INCREF(Py_None
); resultobj
= Py_None
;
31917 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31918 PyObject
*resultobj
;
31919 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31921 PyObject
* obj0
= 0 ;
31922 char *kwnames
[] = {
31923 (char *) "self", NULL
31926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
31927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= SWIG_PyObj_FromInt((int)result
);
31942 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31943 PyObject
*resultobj
;
31944 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31946 PyObject
* obj0
= 0 ;
31947 char *kwnames
[] = {
31948 (char *) "self", NULL
31951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
31952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31955 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_PyObj_FromBool((bool)result
);
31967 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31968 PyObject
*resultobj
;
31969 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31972 PyObject
* obj0
= 0 ;
31973 PyObject
* obj1
= 0 ;
31974 char *kwnames
[] = {
31975 (char *) "self",(char *) "n", NULL
31978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
31979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31981 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32004 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32005 PyObject
*resultobj
;
32006 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32007 wxArrayString result
;
32008 PyObject
* obj0
= 0 ;
32009 char *kwnames
[] = {
32010 (char *) "self", NULL
32013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32017 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32023 resultobj
= wxArrayString2PyList_helper(result
);
32031 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32032 PyObject
*resultobj
;
32033 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32035 wxString
*arg3
= 0 ;
32036 bool temp3
= False
;
32037 PyObject
* obj0
= 0 ;
32038 PyObject
* obj1
= 0 ;
32039 PyObject
* obj2
= 0 ;
32040 char *kwnames
[] = {
32041 (char *) "self",(char *) "n",(char *) "s", NULL
32044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32047 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32051 arg3
= wxString_in_helper(obj2
);
32052 if (arg3
== NULL
) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32062 Py_INCREF(Py_None
); resultobj
= Py_None
;
32077 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32078 PyObject
*resultobj
;
32079 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32080 wxString
*arg2
= 0 ;
32082 bool temp2
= False
;
32083 PyObject
* obj0
= 0 ;
32084 PyObject
* obj1
= 0 ;
32085 char *kwnames
[] = {
32086 (char *) "self",(char *) "s", NULL
32089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32092 arg2
= wxString_in_helper(obj1
);
32093 if (arg2
== NULL
) SWIG_fail
;
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32100 wxPyEndAllowThreads(__tstate
);
32101 if (PyErr_Occurred()) SWIG_fail
;
32103 resultobj
= SWIG_PyObj_FromInt((int)result
);
32118 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
;
32120 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32122 PyObject
* obj0
= 0 ;
32123 PyObject
* obj1
= 0 ;
32124 char *kwnames
[] = {
32125 (char *) "self",(char *) "n", NULL
32128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 (arg1
)->Select(arg2
);
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32141 Py_INCREF(Py_None
); resultobj
= Py_None
;
32148 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
;
32150 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32152 PyObject
* obj0
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= SWIG_PyObj_FromInt((int)result
);
32173 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
;
32175 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32177 PyObject
* obj0
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "self", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32204 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
;
32206 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 char *kwnames
[] = {
32212 (char *) "self",(char *) "n", NULL
32215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 resultobj
= result
;
32235 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32236 PyObject
*resultobj
;
32237 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32239 PyObject
*arg3
= (PyObject
*) 0 ;
32240 PyObject
* obj0
= 0 ;
32241 PyObject
* obj1
= 0 ;
32242 PyObject
* obj2
= 0 ;
32243 char *kwnames
[] = {
32244 (char *) "self",(char *) "n",(char *) "clientData", NULL
32247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32250 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32256 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32258 wxPyEndAllowThreads(__tstate
);
32259 if (PyErr_Occurred()) SWIG_fail
;
32261 Py_INCREF(Py_None
); resultobj
= Py_None
;
32268 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
32270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32271 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32273 return Py_BuildValue((char *)"");
32275 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
32277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32278 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32280 return Py_BuildValue((char *)"");
32282 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32283 PyObject
*resultobj
;
32284 wxSizerItem
*result
;
32285 char *kwnames
[] = {
32289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (wxSizerItem
*)new wxSizerItem();
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32304 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32305 PyObject
*resultobj
;
32311 wxObject
*arg6
= (wxObject
*) 0 ;
32312 wxSizerItem
*result
;
32313 PyObject
* obj0
= 0 ;
32314 PyObject
* obj1
= 0 ;
32315 PyObject
* obj2
= 0 ;
32316 PyObject
* obj3
= 0 ;
32317 PyObject
* obj4
= 0 ;
32318 PyObject
* obj5
= 0 ;
32319 char *kwnames
[] = {
32320 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32325 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
32326 if (PyErr_Occurred()) SWIG_fail
;
32329 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32333 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32337 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32341 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32344 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32349 wxPyEndAllowThreads(__tstate
);
32350 if (PyErr_Occurred()) SWIG_fail
;
32352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32359 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
;
32361 wxWindow
*arg1
= (wxWindow
*) 0 ;
32365 wxObject
*arg5
= (wxObject
*) 0 ;
32366 wxSizerItem
*result
;
32367 PyObject
* obj0
= 0 ;
32368 PyObject
* obj1
= 0 ;
32369 PyObject
* obj2
= 0 ;
32370 PyObject
* obj3
= 0 ;
32371 PyObject
* obj4
= 0 ;
32372 char *kwnames
[] = {
32373 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32379 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32380 if (PyErr_Occurred()) SWIG_fail
;
32383 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32387 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32390 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32405 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32406 PyObject
*resultobj
;
32407 wxSizer
*arg1
= (wxSizer
*) 0 ;
32411 wxObject
*arg5
= (wxObject
*) 0 ;
32412 wxSizerItem
*result
;
32413 PyObject
* obj0
= 0 ;
32414 PyObject
* obj1
= 0 ;
32415 PyObject
* obj2
= 0 ;
32416 PyObject
* obj3
= 0 ;
32417 PyObject
* obj4
= 0 ;
32418 char *kwnames
[] = {
32419 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32429 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32433 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32451 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
;
32453 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32454 PyObject
* obj0
= 0 ;
32455 char *kwnames
[] = {
32456 (char *) "self", NULL
32459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32463 (arg1
)->DeleteWindows();
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 Py_INCREF(Py_None
); resultobj
= Py_None
;
32475 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32476 PyObject
*resultobj
;
32477 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32478 PyObject
* obj0
= 0 ;
32479 char *kwnames
[] = {
32480 (char *) "self", NULL
32483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 (arg1
)->DetachSizer();
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32492 Py_INCREF(Py_None
); resultobj
= Py_None
;
32499 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32500 PyObject
*resultobj
;
32501 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32503 PyObject
* obj0
= 0 ;
32504 char *kwnames
[] = {
32505 (char *) "self", NULL
32508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 result
= (arg1
)->GetSize();
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32518 wxSize
* resultptr
;
32519 resultptr
= new wxSize((wxSize
&) result
);
32520 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32528 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32529 PyObject
*resultobj
;
32530 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32532 PyObject
* obj0
= 0 ;
32533 char *kwnames
[] = {
32534 (char *) "self", NULL
32537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= (arg1
)->CalcMin();
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32547 wxSize
* resultptr
;
32548 resultptr
= new wxSize((wxSize
&) result
);
32549 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32557 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32558 PyObject
*resultobj
;
32559 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32564 PyObject
* obj0
= 0 ;
32565 PyObject
* obj1
= 0 ;
32566 PyObject
* obj2
= 0 ;
32567 char *kwnames
[] = {
32568 (char *) "self",(char *) "pos",(char *) "size", NULL
32571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32573 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32575 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32579 (arg1
)->SetDimension(arg2
,arg3
);
32581 wxPyEndAllowThreads(__tstate
);
32582 if (PyErr_Occurred()) SWIG_fail
;
32584 Py_INCREF(Py_None
); resultobj
= Py_None
;
32591 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32592 PyObject
*resultobj
;
32593 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32595 PyObject
* obj0
= 0 ;
32596 char *kwnames
[] = {
32597 (char *) "self", NULL
32600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32604 result
= (arg1
)->GetMinSize();
32606 wxPyEndAllowThreads(__tstate
);
32607 if (PyErr_Occurred()) SWIG_fail
;
32610 wxSize
* resultptr
;
32611 resultptr
= new wxSize((wxSize
&) result
);
32612 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32620 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32621 PyObject
*resultobj
;
32622 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32625 PyObject
* obj0
= 0 ;
32626 PyObject
* obj1
= 0 ;
32627 PyObject
* obj2
= 0 ;
32628 char *kwnames
[] = {
32629 (char *) "self",(char *) "x",(char *) "y", NULL
32632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32635 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32639 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 (arg1
)->SetInitSize(arg2
,arg3
);
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32649 Py_INCREF(Py_None
); resultobj
= Py_None
;
32656 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32657 PyObject
*resultobj
;
32658 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32661 PyObject
* obj0
= 0 ;
32662 PyObject
* obj1
= 0 ;
32663 PyObject
* obj2
= 0 ;
32664 char *kwnames
[] = {
32665 (char *) "self",(char *) "width",(char *) "height", NULL
32668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32675 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32680 (arg1
)->SetRatio(arg2
,arg3
);
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32685 Py_INCREF(Py_None
); resultobj
= Py_None
;
32692 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32693 PyObject
*resultobj
;
32694 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32697 PyObject
* obj0
= 0 ;
32698 PyObject
* obj1
= 0 ;
32699 char *kwnames
[] = {
32700 (char *) "self",(char *) "size", NULL
32703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32705 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32709 (arg1
)->SetRatio(arg2
);
32711 wxPyEndAllowThreads(__tstate
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32714 Py_INCREF(Py_None
); resultobj
= Py_None
;
32721 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32722 PyObject
*resultobj
;
32723 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32725 PyObject
* obj0
= 0 ;
32726 PyObject
* obj1
= 0 ;
32727 char *kwnames
[] = {
32728 (char *) "self",(char *) "ratio", NULL
32731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
32732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32734 arg2
= (float) SWIG_PyObj_AsFloat(obj1
);
32735 if (PyErr_Occurred()) SWIG_fail
;
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 (arg1
)->SetRatio(arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 Py_INCREF(Py_None
); resultobj
= Py_None
;
32751 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
;
32753 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32755 PyObject
* obj0
= 0 ;
32756 char *kwnames
[] = {
32757 (char *) "self", NULL
32760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
32761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 result
= (float)(arg1
)->GetRatio();
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32769 resultobj
= SWIG_PyObj_FromFloat((float)result
);
32776 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32777 PyObject
*resultobj
;
32778 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32780 PyObject
* obj0
= 0 ;
32781 char *kwnames
[] = {
32782 (char *) "self", NULL
32785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
32786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32789 result
= (bool)(arg1
)->IsWindow();
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32794 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32801 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32802 PyObject
*resultobj
;
32803 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32805 PyObject
* obj0
= 0 ;
32806 char *kwnames
[] = {
32807 (char *) "self", NULL
32810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
32811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 result
= (bool)(arg1
)->IsSizer();
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32826 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32827 PyObject
*resultobj
;
32828 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32830 PyObject
* obj0
= 0 ;
32831 char *kwnames
[] = {
32832 (char *) "self", NULL
32835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
32836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 result
= (bool)(arg1
)->IsSpacer();
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32851 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32852 PyObject
*resultobj
;
32853 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32855 PyObject
* obj0
= 0 ;
32856 PyObject
* obj1
= 0 ;
32857 char *kwnames
[] = {
32858 (char *) "self",(char *) "proportion", NULL
32861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
32862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32864 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32869 (arg1
)->SetProportion(arg2
);
32871 wxPyEndAllowThreads(__tstate
);
32872 if (PyErr_Occurred()) SWIG_fail
;
32874 Py_INCREF(Py_None
); resultobj
= Py_None
;
32881 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32882 PyObject
*resultobj
;
32883 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32885 PyObject
* obj0
= 0 ;
32886 char *kwnames
[] = {
32887 (char *) "self", NULL
32890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
32891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 result
= (int)(arg1
)->GetProportion();
32896 wxPyEndAllowThreads(__tstate
);
32897 if (PyErr_Occurred()) SWIG_fail
;
32899 resultobj
= SWIG_PyObj_FromInt((int)result
);
32906 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32907 PyObject
*resultobj
;
32908 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32910 PyObject
* obj0
= 0 ;
32911 PyObject
* obj1
= 0 ;
32912 char *kwnames
[] = {
32913 (char *) "self",(char *) "flag", NULL
32916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
32917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32919 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32920 if (PyErr_Occurred()) SWIG_fail
;
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 (arg1
)->SetFlag(arg2
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32929 Py_INCREF(Py_None
); resultobj
= Py_None
;
32936 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32937 PyObject
*resultobj
;
32938 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32940 PyObject
* obj0
= 0 ;
32941 char *kwnames
[] = {
32942 (char *) "self", NULL
32945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
32946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32949 result
= (int)(arg1
)->GetFlag();
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= SWIG_PyObj_FromInt((int)result
);
32961 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32962 PyObject
*resultobj
;
32963 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32965 PyObject
* obj0
= 0 ;
32966 PyObject
* obj1
= 0 ;
32967 char *kwnames
[] = {
32968 (char *) "self",(char *) "border", NULL
32971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
32972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32974 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32979 (arg1
)->SetBorder(arg2
);
32981 wxPyEndAllowThreads(__tstate
);
32982 if (PyErr_Occurred()) SWIG_fail
;
32984 Py_INCREF(Py_None
); resultobj
= Py_None
;
32991 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32992 PyObject
*resultobj
;
32993 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32995 PyObject
* obj0
= 0 ;
32996 char *kwnames
[] = {
32997 (char *) "self", NULL
33000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
33001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33004 result
= (int)(arg1
)->GetBorder();
33006 wxPyEndAllowThreads(__tstate
);
33007 if (PyErr_Occurred()) SWIG_fail
;
33009 resultobj
= SWIG_PyObj_FromInt((int)result
);
33016 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33017 PyObject
*resultobj
;
33018 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33020 PyObject
* obj0
= 0 ;
33021 char *kwnames
[] = {
33022 (char *) "self", NULL
33025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= (wxWindow
*)(arg1
)->GetWindow();
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= wxPyMake_wxObject(result
);
33043 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33044 PyObject
*resultobj
;
33045 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33046 wxWindow
*arg2
= (wxWindow
*) 0 ;
33047 PyObject
* obj0
= 0 ;
33048 PyObject
* obj1
= 0 ;
33049 char *kwnames
[] = {
33050 (char *) "self",(char *) "window", NULL
33053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 (arg1
)->SetWindow(arg2
);
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 Py_INCREF(Py_None
); resultobj
= Py_None
;
33070 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33071 PyObject
*resultobj
;
33072 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33074 PyObject
* obj0
= 0 ;
33075 char *kwnames
[] = {
33076 (char *) "self", NULL
33079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 result
= (wxSizer
*)(arg1
)->GetSizer();
33085 wxPyEndAllowThreads(__tstate
);
33086 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= wxPyMake_wxSizer(result
);
33097 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
;
33099 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33100 wxSizer
*arg2
= (wxSizer
*) 0 ;
33101 PyObject
* obj0
= 0 ;
33102 PyObject
* obj1
= 0 ;
33103 char *kwnames
[] = {
33104 (char *) "self",(char *) "sizer", NULL
33107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33112 (arg1
)->SetSizer(arg2
);
33114 wxPyEndAllowThreads(__tstate
);
33115 if (PyErr_Occurred()) SWIG_fail
;
33117 Py_INCREF(Py_None
); resultobj
= Py_None
;
33124 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33125 PyObject
*resultobj
;
33126 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33128 PyObject
* obj0
= 0 ;
33129 char *kwnames
[] = {
33130 (char *) "self", NULL
33133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33139 result
= (wxSize
*) &_result_ref
;
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
33152 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33153 PyObject
*resultobj
;
33154 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33157 PyObject
* obj0
= 0 ;
33158 PyObject
* obj1
= 0 ;
33159 char *kwnames
[] = {
33160 (char *) "self",(char *) "size", NULL
33163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33171 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33173 wxPyEndAllowThreads(__tstate
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33176 Py_INCREF(Py_None
); resultobj
= Py_None
;
33183 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33184 PyObject
*resultobj
;
33185 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33187 PyObject
* obj0
= 0 ;
33188 PyObject
* obj1
= 0 ;
33189 char *kwnames
[] = {
33190 (char *) "self",(char *) "show", NULL
33193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33196 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33201 (arg1
)->Show(arg2
);
33203 wxPyEndAllowThreads(__tstate
);
33204 if (PyErr_Occurred()) SWIG_fail
;
33206 Py_INCREF(Py_None
); resultobj
= Py_None
;
33213 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33214 PyObject
*resultobj
;
33215 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33217 PyObject
* obj0
= 0 ;
33218 char *kwnames
[] = {
33219 (char *) "self", NULL
33222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 result
= (bool)(arg1
)->IsShown();
33228 wxPyEndAllowThreads(__tstate
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33231 resultobj
= SWIG_PyObj_FromBool((bool)result
);
33238 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33239 PyObject
*resultobj
;
33240 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33242 PyObject
* obj0
= 0 ;
33243 char *kwnames
[] = {
33244 (char *) "self", NULL
33247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 result
= (arg1
)->GetPosition();
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33257 wxPoint
* resultptr
;
33258 resultptr
= new wxPoint((wxPoint
&) result
);
33259 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33267 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33268 PyObject
*resultobj
;
33269 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33271 PyObject
* obj0
= 0 ;
33272 char *kwnames
[] = {
33273 (char *) "self", NULL
33276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33280 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33282 wxPyEndAllowThreads(__tstate
);
33283 if (PyErr_Occurred()) SWIG_fail
;
33285 resultobj
= result
;
33292 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33295 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33297 return Py_BuildValue((char *)"");
33299 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33300 PyObject
*resultobj
;
33301 wxSizer
*arg1
= (wxSizer
*) 0 ;
33302 PyObject
*arg2
= (PyObject
*) 0 ;
33303 PyObject
* obj0
= 0 ;
33304 PyObject
* obj1
= 0 ;
33305 char *kwnames
[] = {
33306 (char *) "self",(char *) "_self", NULL
33309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33314 wxSizer__setOORInfo(arg1
,arg2
);
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 Py_INCREF(Py_None
); resultobj
= Py_None
;
33326 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
;
33328 wxSizer
*arg1
= (wxSizer
*) 0 ;
33329 PyObject
*arg2
= (PyObject
*) 0 ;
33330 int arg3
= (int) 0 ;
33331 int arg4
= (int) 0 ;
33332 int arg5
= (int) 0 ;
33333 PyObject
*arg6
= (PyObject
*) NULL
;
33334 PyObject
* obj0
= 0 ;
33335 PyObject
* obj1
= 0 ;
33336 PyObject
* obj2
= 0 ;
33337 PyObject
* obj3
= 0 ;
33338 PyObject
* obj4
= 0 ;
33339 PyObject
* obj5
= 0 ;
33340 char *kwnames
[] = {
33341 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33349 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33355 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33361 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 Py_INCREF(Py_None
); resultobj
= Py_None
;
33382 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33383 PyObject
*resultobj
;
33384 wxSizer
*arg1
= (wxSizer
*) 0 ;
33386 PyObject
*arg3
= (PyObject
*) 0 ;
33387 int arg4
= (int) 0 ;
33388 int arg5
= (int) 0 ;
33389 int arg6
= (int) 0 ;
33390 PyObject
*arg7
= (PyObject
*) NULL
;
33391 PyObject
* obj0
= 0 ;
33392 PyObject
* obj1
= 0 ;
33393 PyObject
* obj2
= 0 ;
33394 PyObject
* obj3
= 0 ;
33395 PyObject
* obj4
= 0 ;
33396 PyObject
* obj5
= 0 ;
33397 PyObject
* obj6
= 0 ;
33398 char *kwnames
[] = {
33399 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33405 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33406 if (PyErr_Occurred()) SWIG_fail
;
33411 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33412 if (PyErr_Occurred()) SWIG_fail
;
33417 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33423 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33432 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 Py_INCREF(Py_None
); resultobj
= Py_None
;
33444 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
;
33446 wxSizer
*arg1
= (wxSizer
*) 0 ;
33447 PyObject
*arg2
= (PyObject
*) 0 ;
33448 int arg3
= (int) 0 ;
33449 int arg4
= (int) 0 ;
33450 int arg5
= (int) 0 ;
33451 PyObject
*arg6
= (PyObject
*) NULL
;
33452 PyObject
* obj0
= 0 ;
33453 PyObject
* obj1
= 0 ;
33454 PyObject
* obj2
= 0 ;
33455 PyObject
* obj3
= 0 ;
33456 PyObject
* obj4
= 0 ;
33457 PyObject
* obj5
= 0 ;
33458 char *kwnames
[] = {
33459 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33467 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33473 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33474 if (PyErr_Occurred()) SWIG_fail
;
33479 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33493 Py_INCREF(Py_None
); resultobj
= Py_None
;
33500 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33501 PyObject
*resultobj
;
33502 wxSizer
*arg1
= (wxSizer
*) 0 ;
33503 PyObject
*arg2
= (PyObject
*) 0 ;
33505 PyObject
* obj0
= 0 ;
33506 PyObject
* obj1
= 0 ;
33507 char *kwnames
[] = {
33508 (char *) "self",(char *) "item", NULL
33511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33518 wxPyEndAllowThreads(__tstate
);
33519 if (PyErr_Occurred()) SWIG_fail
;
33521 resultobj
= SWIG_PyObj_FromBool((bool)result
);
33528 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33529 PyObject
*resultobj
;
33530 wxSizer
*arg1
= (wxSizer
*) 0 ;
33531 PyObject
*arg2
= (PyObject
*) 0 ;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 PyObject
* obj2
= 0 ;
33537 char *kwnames
[] = {
33538 (char *) "self",(char *) "item",(char *) "size", NULL
33541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33546 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 Py_INCREF(Py_None
); resultobj
= Py_None
;
33562 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
;
33564 wxSizer
*arg1
= (wxSizer
*) 0 ;
33565 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33566 PyObject
* obj0
= 0 ;
33567 PyObject
* obj1
= 0 ;
33568 char *kwnames
[] = {
33569 (char *) "self",(char *) "item", NULL
33572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33579 wxPyEndAllowThreads(__tstate
);
33580 if (PyErr_Occurred()) SWIG_fail
;
33582 Py_INCREF(Py_None
); resultobj
= Py_None
;
33589 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33590 PyObject
*resultobj
;
33591 wxSizer
*arg1
= (wxSizer
*) 0 ;
33593 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33594 PyObject
* obj0
= 0 ;
33595 PyObject
* obj1
= 0 ;
33596 PyObject
* obj2
= 0 ;
33597 char *kwnames
[] = {
33598 (char *) "self",(char *) "index",(char *) "item", NULL
33601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33604 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33607 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 (arg1
)->Insert(arg2
,arg3
);
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33615 Py_INCREF(Py_None
); resultobj
= Py_None
;
33622 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33623 PyObject
*resultobj
;
33624 wxSizer
*arg1
= (wxSizer
*) 0 ;
33625 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33626 PyObject
* obj0
= 0 ;
33627 PyObject
* obj1
= 0 ;
33628 char *kwnames
[] = {
33629 (char *) "self",(char *) "item", NULL
33632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 (arg1
)->Prepend(arg2
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 Py_INCREF(Py_None
); resultobj
= Py_None
;
33649 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33650 PyObject
*resultobj
;
33651 wxSizer
*arg1
= (wxSizer
*) 0 ;
33656 PyObject
* obj0
= 0 ;
33657 PyObject
* obj1
= 0 ;
33658 PyObject
* obj2
= 0 ;
33659 PyObject
* obj3
= 0 ;
33660 PyObject
* obj4
= 0 ;
33661 char *kwnames
[] = {
33662 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33668 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33669 if (PyErr_Occurred()) SWIG_fail
;
33672 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33673 if (PyErr_Occurred()) SWIG_fail
;
33676 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33677 if (PyErr_Occurred()) SWIG_fail
;
33680 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33685 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33687 wxPyEndAllowThreads(__tstate
);
33688 if (PyErr_Occurred()) SWIG_fail
;
33690 Py_INCREF(Py_None
); resultobj
= Py_None
;
33697 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33698 PyObject
*resultobj
;
33699 wxSizer
*arg1
= (wxSizer
*) 0 ;
33702 PyObject
* obj0
= 0 ;
33703 PyObject
* obj1
= 0 ;
33704 char *kwnames
[] = {
33705 (char *) "self",(char *) "size", NULL
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33712 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33716 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33718 wxPyEndAllowThreads(__tstate
);
33719 if (PyErr_Occurred()) SWIG_fail
;
33721 Py_INCREF(Py_None
); resultobj
= Py_None
;
33728 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33729 PyObject
*resultobj
;
33730 wxSizer
*arg1
= (wxSizer
*) 0 ;
33732 PyObject
* obj0
= 0 ;
33733 char *kwnames
[] = {
33734 (char *) "self", NULL
33737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
33738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33741 result
= (arg1
)->GetSize();
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33747 wxSize
* resultptr
;
33748 resultptr
= new wxSize((wxSize
&) result
);
33749 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33757 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33758 PyObject
*resultobj
;
33759 wxSizer
*arg1
= (wxSizer
*) 0 ;
33761 PyObject
* obj0
= 0 ;
33762 char *kwnames
[] = {
33763 (char *) "self", NULL
33766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
33767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 result
= (arg1
)->GetPosition();
33772 wxPyEndAllowThreads(__tstate
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33776 wxPoint
* resultptr
;
33777 resultptr
= new wxPoint((wxPoint
&) result
);
33778 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33786 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33787 PyObject
*resultobj
;
33788 wxSizer
*arg1
= (wxSizer
*) 0 ;
33790 PyObject
* obj0
= 0 ;
33791 char *kwnames
[] = {
33792 (char *) "self", NULL
33795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
33796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 result
= (arg1
)->GetMinSize();
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33805 wxSize
* resultptr
;
33806 resultptr
= new wxSize((wxSize
&) result
);
33807 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33815 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
;
33817 wxSizer
*arg1
= (wxSizer
*) 0 ;
33818 PyObject
* obj0
= 0 ;
33819 char *kwnames
[] = {
33820 (char *) "self", NULL
33823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33827 (arg1
)->RecalcSizes();
33829 wxPyEndAllowThreads(__tstate
);
33830 if (PyErr_Occurred()) SWIG_fail
;
33832 Py_INCREF(Py_None
); resultobj
= Py_None
;
33839 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
;
33841 wxSizer
*arg1
= (wxSizer
*) 0 ;
33843 PyObject
* obj0
= 0 ;
33844 char *kwnames
[] = {
33845 (char *) "self", NULL
33848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 result
= (arg1
)->CalcMin();
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33858 wxSize
* resultptr
;
33859 resultptr
= new wxSize((wxSize
&) result
);
33860 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33868 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
;
33870 wxSizer
*arg1
= (wxSizer
*) 0 ;
33871 PyObject
* obj0
= 0 ;
33872 char *kwnames
[] = {
33873 (char *) "self", NULL
33876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
33877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 wxPyEndAllowThreads(__tstate
);
33883 if (PyErr_Occurred()) SWIG_fail
;
33885 Py_INCREF(Py_None
); resultobj
= Py_None
;
33892 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33893 PyObject
*resultobj
;
33894 wxSizer
*arg1
= (wxSizer
*) 0 ;
33895 wxWindow
*arg2
= (wxWindow
*) 0 ;
33897 PyObject
* obj0
= 0 ;
33898 PyObject
* obj1
= 0 ;
33899 char *kwnames
[] = {
33900 (char *) "self",(char *) "window", NULL
33903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
33904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33905 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33908 result
= (arg1
)->Fit(arg2
);
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33914 wxSize
* resultptr
;
33915 resultptr
= new wxSize((wxSize
&) result
);
33916 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33924 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33925 PyObject
*resultobj
;
33926 wxSizer
*arg1
= (wxSizer
*) 0 ;
33927 wxWindow
*arg2
= (wxWindow
*) 0 ;
33928 PyObject
* obj0
= 0 ;
33929 PyObject
* obj1
= 0 ;
33930 char *kwnames
[] = {
33931 (char *) "self",(char *) "window", NULL
33934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
33935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33939 (arg1
)->FitInside(arg2
);
33941 wxPyEndAllowThreads(__tstate
);
33942 if (PyErr_Occurred()) SWIG_fail
;
33944 Py_INCREF(Py_None
); resultobj
= Py_None
;
33951 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33952 PyObject
*resultobj
;
33953 wxSizer
*arg1
= (wxSizer
*) 0 ;
33954 wxWindow
*arg2
= (wxWindow
*) 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 char *kwnames
[] = {
33958 (char *) "self",(char *) "window", NULL
33961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33963 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 (arg1
)->SetSizeHints(arg2
);
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 Py_INCREF(Py_None
); resultobj
= Py_None
;
33978 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
;
33980 wxSizer
*arg1
= (wxSizer
*) 0 ;
33981 wxWindow
*arg2
= (wxWindow
*) 0 ;
33982 PyObject
* obj0
= 0 ;
33983 PyObject
* obj1
= 0 ;
33984 char *kwnames
[] = {
33985 (char *) "self",(char *) "window", NULL
33988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 (arg1
)->SetVirtualSizeHints(arg2
);
33995 wxPyEndAllowThreads(__tstate
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33998 Py_INCREF(Py_None
); resultobj
= Py_None
;
34005 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34006 PyObject
*resultobj
;
34007 wxSizer
*arg1
= (wxSizer
*) 0 ;
34008 bool arg2
= (bool) False
;
34009 PyObject
* obj0
= 0 ;
34010 PyObject
* obj1
= 0 ;
34011 char *kwnames
[] = {
34012 (char *) "self",(char *) "delete_windows", NULL
34015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34019 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 (arg1
)->Clear(arg2
);
34027 wxPyEndAllowThreads(__tstate
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34030 Py_INCREF(Py_None
); resultobj
= Py_None
;
34037 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34038 PyObject
*resultobj
;
34039 wxSizer
*arg1
= (wxSizer
*) 0 ;
34040 PyObject
* obj0
= 0 ;
34041 char *kwnames
[] = {
34042 (char *) "self", NULL
34045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 (arg1
)->DeleteWindows();
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 Py_INCREF(Py_None
); resultobj
= Py_None
;
34061 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
;
34063 wxSizer
*arg1
= (wxSizer
*) 0 ;
34065 PyObject
* obj0
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34076 wxPyEndAllowThreads(__tstate
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= result
;
34086 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34087 PyObject
*resultobj
;
34088 wxSizer
*arg1
= (wxSizer
*) 0 ;
34089 PyObject
*arg2
= (PyObject
*) 0 ;
34090 bool arg3
= (bool) True
;
34091 PyObject
* obj0
= 0 ;
34092 PyObject
* obj1
= 0 ;
34093 PyObject
* obj2
= 0 ;
34094 char *kwnames
[] = {
34095 (char *) "self",(char *) "item",(char *) "show", NULL
34098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34103 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
34104 if (PyErr_Occurred()) SWIG_fail
;
34108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34109 wxSizer_Show(arg1
,arg2
,arg3
);
34111 wxPyEndAllowThreads(__tstate
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34114 Py_INCREF(Py_None
); resultobj
= Py_None
;
34121 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
;
34123 wxSizer
*arg1
= (wxSizer
*) 0 ;
34124 PyObject
*arg2
= (PyObject
*) 0 ;
34125 PyObject
* obj0
= 0 ;
34126 PyObject
* obj1
= 0 ;
34127 char *kwnames
[] = {
34128 (char *) "self",(char *) "item", NULL
34131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 wxSizer_Hide(arg1
,arg2
);
34138 wxPyEndAllowThreads(__tstate
);
34139 if (PyErr_Occurred()) SWIG_fail
;
34141 Py_INCREF(Py_None
); resultobj
= Py_None
;
34148 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34149 PyObject
*resultobj
;
34150 wxSizer
*arg1
= (wxSizer
*) 0 ;
34151 PyObject
*arg2
= (PyObject
*) 0 ;
34153 PyObject
* obj0
= 0 ;
34154 PyObject
* obj1
= 0 ;
34155 char *kwnames
[] = {
34156 (char *) "self",(char *) "item", NULL
34159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34164 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34166 wxPyEndAllowThreads(__tstate
);
34167 if (PyErr_Occurred()) SWIG_fail
;
34169 resultobj
= SWIG_PyObj_FromBool((bool)result
);
34176 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34177 PyObject
*resultobj
;
34178 wxSizer
*arg1
= (wxSizer
*) 0 ;
34180 PyObject
* obj0
= 0 ;
34181 PyObject
* obj1
= 0 ;
34182 char *kwnames
[] = {
34183 (char *) "self",(char *) "show", NULL
34186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34189 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
34190 if (PyErr_Occurred()) SWIG_fail
;
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 (arg1
)->ShowItems(arg2
);
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 Py_INCREF(Py_None
); resultobj
= Py_None
;
34206 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
34208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34209 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34211 return Py_BuildValue((char *)"");
34213 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
;
34216 char *kwnames
[] = {
34220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= (wxPySizer
*)new wxPySizer();
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
34235 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34236 PyObject
*resultobj
;
34237 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34238 PyObject
*arg2
= (PyObject
*) 0 ;
34239 PyObject
*arg3
= (PyObject
*) 0 ;
34240 PyObject
* obj0
= 0 ;
34241 PyObject
* obj1
= 0 ;
34242 PyObject
* obj2
= 0 ;
34243 char *kwnames
[] = {
34244 (char *) "self",(char *) "self",(char *) "_class", NULL
34247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34255 wxPyEndAllowThreads(__tstate
);
34256 if (PyErr_Occurred()) SWIG_fail
;
34258 Py_INCREF(Py_None
); resultobj
= Py_None
;
34265 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
34267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34268 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34270 return Py_BuildValue((char *)"");
34272 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
;
34274 int arg1
= (int) wxHORIZONTAL
;
34275 wxBoxSizer
*result
;
34276 PyObject
* obj0
= 0 ;
34277 char *kwnames
[] = {
34278 (char *) "orient", NULL
34281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34284 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34290 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34292 wxPyEndAllowThreads(__tstate
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
34302 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34303 PyObject
*resultobj
;
34304 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34306 PyObject
* obj0
= 0 ;
34307 char *kwnames
[] = {
34308 (char *) "self", NULL
34311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 result
= (int)(arg1
)->GetOrientation();
34317 wxPyEndAllowThreads(__tstate
);
34318 if (PyErr_Occurred()) SWIG_fail
;
34320 resultobj
= SWIG_PyObj_FromInt((int)result
);
34327 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34328 PyObject
*resultobj
;
34329 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34331 PyObject
* obj0
= 0 ;
34332 PyObject
* obj1
= 0 ;
34333 char *kwnames
[] = {
34334 (char *) "self",(char *) "orient", NULL
34337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34340 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34341 if (PyErr_Occurred()) SWIG_fail
;
34344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34345 (arg1
)->SetOrientation(arg2
);
34347 wxPyEndAllowThreads(__tstate
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34350 Py_INCREF(Py_None
); resultobj
= Py_None
;
34357 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34358 PyObject
*resultobj
;
34359 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34360 PyObject
* obj0
= 0 ;
34361 char *kwnames
[] = {
34362 (char *) "self", NULL
34365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 (arg1
)->RecalcSizes();
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34374 Py_INCREF(Py_None
); resultobj
= Py_None
;
34381 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
;
34383 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34385 PyObject
* obj0
= 0 ;
34386 char *kwnames
[] = {
34387 (char *) "self", NULL
34390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34394 result
= (arg1
)->CalcMin();
34396 wxPyEndAllowThreads(__tstate
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34400 wxSize
* resultptr
;
34401 resultptr
= new wxSize((wxSize
&) result
);
34402 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34410 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34413 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34415 return Py_BuildValue((char *)"");
34417 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34418 PyObject
*resultobj
;
34419 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34420 int arg2
= (int) wxHORIZONTAL
;
34421 wxStaticBoxSizer
*result
;
34422 PyObject
* obj0
= 0 ;
34423 PyObject
* obj1
= 0 ;
34424 char *kwnames
[] = {
34425 (char *) "box",(char *) "orient", NULL
34428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34432 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34438 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34440 wxPyEndAllowThreads(__tstate
);
34441 if (PyErr_Occurred()) SWIG_fail
;
34443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
34450 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
;
34452 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34453 wxStaticBox
*result
;
34454 PyObject
* obj0
= 0 ;
34455 char *kwnames
[] = {
34456 (char *) "self", NULL
34459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34469 resultobj
= wxPyMake_wxObject(result
);
34477 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34478 PyObject
*resultobj
;
34479 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34480 PyObject
* obj0
= 0 ;
34481 char *kwnames
[] = {
34482 (char *) "self", NULL
34485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34489 (arg1
)->RecalcSizes();
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34494 Py_INCREF(Py_None
); resultobj
= Py_None
;
34501 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34502 PyObject
*resultobj
;
34503 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34505 PyObject
* obj0
= 0 ;
34506 char *kwnames
[] = {
34507 (char *) "self", NULL
34510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34514 result
= (arg1
)->CalcMin();
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34520 wxSize
* resultptr
;
34521 resultptr
= new wxSize((wxSize
&) result
);
34522 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34530 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34533 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34535 return Py_BuildValue((char *)"");
34537 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
;
34539 int arg1
= (int) 1 ;
34540 int arg2
= (int) 0 ;
34541 int arg3
= (int) 0 ;
34542 int arg4
= (int) 0 ;
34543 wxGridSizer
*result
;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 PyObject
* obj2
= 0 ;
34547 PyObject
* obj3
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34555 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34561 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34567 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34573 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34574 if (PyErr_Occurred()) SWIG_fail
;
34578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34579 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34581 wxPyEndAllowThreads(__tstate
);
34582 if (PyErr_Occurred()) SWIG_fail
;
34584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
34591 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34592 PyObject
*resultobj
;
34593 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34594 PyObject
* obj0
= 0 ;
34595 char *kwnames
[] = {
34596 (char *) "self", NULL
34599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34603 (arg1
)->RecalcSizes();
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34608 Py_INCREF(Py_None
); resultobj
= Py_None
;
34615 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
;
34617 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34619 PyObject
* obj0
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34628 result
= (arg1
)->CalcMin();
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34634 wxSize
* resultptr
;
34635 resultptr
= new wxSize((wxSize
&) result
);
34636 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34644 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34645 PyObject
*resultobj
;
34646 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34648 PyObject
* obj0
= 0 ;
34649 PyObject
* obj1
= 0 ;
34650 char *kwnames
[] = {
34651 (char *) "self",(char *) "cols", NULL
34654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 (arg1
)->SetCols(arg2
);
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 Py_INCREF(Py_None
); resultobj
= Py_None
;
34674 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34675 PyObject
*resultobj
;
34676 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34678 PyObject
* obj0
= 0 ;
34679 PyObject
* obj1
= 0 ;
34680 char *kwnames
[] = {
34681 (char *) "self",(char *) "rows", NULL
34684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34687 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34692 (arg1
)->SetRows(arg2
);
34694 wxPyEndAllowThreads(__tstate
);
34695 if (PyErr_Occurred()) SWIG_fail
;
34697 Py_INCREF(Py_None
); resultobj
= Py_None
;
34704 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
;
34706 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34708 PyObject
* obj0
= 0 ;
34709 PyObject
* obj1
= 0 ;
34710 char *kwnames
[] = {
34711 (char *) "self",(char *) "gap", NULL
34714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34717 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34722 (arg1
)->SetVGap(arg2
);
34724 wxPyEndAllowThreads(__tstate
);
34725 if (PyErr_Occurred()) SWIG_fail
;
34727 Py_INCREF(Py_None
); resultobj
= Py_None
;
34734 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34735 PyObject
*resultobj
;
34736 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34738 PyObject
* obj0
= 0 ;
34739 PyObject
* obj1
= 0 ;
34740 char *kwnames
[] = {
34741 (char *) "self",(char *) "gap", NULL
34744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34747 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34748 if (PyErr_Occurred()) SWIG_fail
;
34751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34752 (arg1
)->SetHGap(arg2
);
34754 wxPyEndAllowThreads(__tstate
);
34755 if (PyErr_Occurred()) SWIG_fail
;
34757 Py_INCREF(Py_None
); resultobj
= Py_None
;
34764 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
;
34766 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34768 PyObject
* obj0
= 0 ;
34769 char *kwnames
[] = {
34770 (char *) "self", NULL
34773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
34774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 result
= (int)(arg1
)->GetCols();
34779 wxPyEndAllowThreads(__tstate
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34782 resultobj
= SWIG_PyObj_FromInt((int)result
);
34789 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34790 PyObject
*resultobj
;
34791 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34793 PyObject
* obj0
= 0 ;
34794 char *kwnames
[] = {
34795 (char *) "self", NULL
34798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
34799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34802 result
= (int)(arg1
)->GetRows();
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 resultobj
= SWIG_PyObj_FromInt((int)result
);
34814 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34815 PyObject
*resultobj
;
34816 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34818 PyObject
* obj0
= 0 ;
34819 char *kwnames
[] = {
34820 (char *) "self", NULL
34823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
34824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34827 result
= (int)(arg1
)->GetVGap();
34829 wxPyEndAllowThreads(__tstate
);
34830 if (PyErr_Occurred()) SWIG_fail
;
34832 resultobj
= SWIG_PyObj_FromInt((int)result
);
34839 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34840 PyObject
*resultobj
;
34841 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34843 PyObject
* obj0
= 0 ;
34844 char *kwnames
[] = {
34845 (char *) "self", NULL
34848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
34849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 result
= (int)(arg1
)->GetHGap();
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 resultobj
= SWIG_PyObj_FromInt((int)result
);
34864 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34867 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
34869 return Py_BuildValue((char *)"");
34871 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34872 PyObject
*resultobj
;
34873 int arg1
= (int) 1 ;
34874 int arg2
= (int) 0 ;
34875 int arg3
= (int) 0 ;
34876 int arg4
= (int) 0 ;
34877 wxFlexGridSizer
*result
;
34878 PyObject
* obj0
= 0 ;
34879 PyObject
* obj1
= 0 ;
34880 PyObject
* obj2
= 0 ;
34881 PyObject
* obj3
= 0 ;
34882 char *kwnames
[] = {
34883 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34889 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34890 if (PyErr_Occurred()) SWIG_fail
;
34895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34896 if (PyErr_Occurred()) SWIG_fail
;
34901 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34907 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
34915 wxPyEndAllowThreads(__tstate
);
34916 if (PyErr_Occurred()) SWIG_fail
;
34918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
34925 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34926 PyObject
*resultobj
;
34927 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34928 PyObject
* obj0
= 0 ;
34929 char *kwnames
[] = {
34930 (char *) "self", NULL
34933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34937 (arg1
)->RecalcSizes();
34939 wxPyEndAllowThreads(__tstate
);
34940 if (PyErr_Occurred()) SWIG_fail
;
34942 Py_INCREF(Py_None
); resultobj
= Py_None
;
34949 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34950 PyObject
*resultobj
;
34951 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34953 PyObject
* obj0
= 0 ;
34954 char *kwnames
[] = {
34955 (char *) "self", NULL
34958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34962 result
= (arg1
)->CalcMin();
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34968 wxSize
* resultptr
;
34969 resultptr
= new wxSize((wxSize
&) result
);
34970 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34978 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
;
34980 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34982 int arg3
= (int) 0 ;
34983 PyObject
* obj0
= 0 ;
34984 PyObject
* obj1
= 0 ;
34985 PyObject
* obj2
= 0 ;
34986 char *kwnames
[] = {
34987 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34993 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34998 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34999 if (PyErr_Occurred()) SWIG_fail
;
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35004 (arg1
)->AddGrowableRow(arg2
,arg3
);
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35009 Py_INCREF(Py_None
); resultobj
= Py_None
;
35016 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35017 PyObject
*resultobj
;
35018 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35020 PyObject
* obj0
= 0 ;
35021 PyObject
* obj1
= 0 ;
35022 char *kwnames
[] = {
35023 (char *) "self",(char *) "idx", NULL
35026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35029 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35034 (arg1
)->RemoveGrowableRow(arg2
);
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35039 Py_INCREF(Py_None
); resultobj
= Py_None
;
35046 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35047 PyObject
*resultobj
;
35048 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35050 int arg3
= (int) 0 ;
35051 PyObject
* obj0
= 0 ;
35052 PyObject
* obj1
= 0 ;
35053 PyObject
* obj2
= 0 ;
35054 char *kwnames
[] = {
35055 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35061 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35066 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35072 (arg1
)->AddGrowableCol(arg2
,arg3
);
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35077 Py_INCREF(Py_None
); resultobj
= Py_None
;
35084 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35085 PyObject
*resultobj
;
35086 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35088 PyObject
* obj0
= 0 ;
35089 PyObject
* obj1
= 0 ;
35090 char *kwnames
[] = {
35091 (char *) "self",(char *) "idx", NULL
35094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35097 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35102 (arg1
)->RemoveGrowableCol(arg2
);
35104 wxPyEndAllowThreads(__tstate
);
35105 if (PyErr_Occurred()) SWIG_fail
;
35107 Py_INCREF(Py_None
); resultobj
= Py_None
;
35114 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35115 PyObject
*resultobj
;
35116 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35118 PyObject
* obj0
= 0 ;
35119 PyObject
* obj1
= 0 ;
35120 char *kwnames
[] = {
35121 (char *) "self",(char *) "direction", NULL
35124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 (arg1
)->SetFlexibleDirection(arg2
);
35134 wxPyEndAllowThreads(__tstate
);
35135 if (PyErr_Occurred()) SWIG_fail
;
35137 Py_INCREF(Py_None
); resultobj
= Py_None
;
35144 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35145 PyObject
*resultobj
;
35146 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35148 PyObject
* obj0
= 0 ;
35149 char *kwnames
[] = {
35150 (char *) "self", NULL
35153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35157 result
= (int)(arg1
)->GetFlexibleDirection();
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35162 resultobj
= SWIG_PyObj_FromInt((int)result
);
35169 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35170 PyObject
*resultobj
;
35171 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35173 PyObject
* obj0
= 0 ;
35174 PyObject
* obj1
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self",(char *) "mode", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35182 arg2
= (wxFlexSizerGrowMode
) SWIG_PyObj_AsInt(obj1
);
35183 if (PyErr_Occurred()) SWIG_fail
;
35186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35187 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35189 wxPyEndAllowThreads(__tstate
);
35190 if (PyErr_Occurred()) SWIG_fail
;
35192 Py_INCREF(Py_None
); resultobj
= Py_None
;
35199 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35200 PyObject
*resultobj
;
35201 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35203 PyObject
* obj0
= 0 ;
35204 char *kwnames
[] = {
35205 (char *) "self", NULL
35208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35212 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35217 resultobj
= SWIG_PyObj_FromInt((int)result
);
35224 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35225 PyObject
*resultobj
;
35226 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35227 wxArrayInt
*result
;
35228 PyObject
* obj0
= 0 ;
35229 char *kwnames
[] = {
35230 (char *) "self", NULL
35233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35239 result
= (wxArrayInt
*) &_result_ref
;
35242 wxPyEndAllowThreads(__tstate
);
35243 if (PyErr_Occurred()) SWIG_fail
;
35246 resultobj
= PyList_New(0);
35248 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35249 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35250 PyList_Append(resultobj
, val
);
35260 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
;
35262 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35263 wxArrayInt
*result
;
35264 PyObject
* obj0
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35275 result
= (wxArrayInt
*) &_result_ref
;
35278 wxPyEndAllowThreads(__tstate
);
35279 if (PyErr_Occurred()) SWIG_fail
;
35282 resultobj
= PyList_New(0);
35284 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35285 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35286 PyList_Append(resultobj
, val
);
35296 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35299 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35301 return Py_BuildValue((char *)"");
35303 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35304 PyObject
*resultobj
;
35305 int arg1
= (int) 0 ;
35306 int arg2
= (int) 0 ;
35307 wxGBPosition
*result
;
35308 PyObject
* obj0
= 0 ;
35309 PyObject
* obj1
= 0 ;
35310 char *kwnames
[] = {
35311 (char *) "row",(char *) "col", NULL
35314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35317 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35323 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35324 if (PyErr_Occurred()) SWIG_fail
;
35328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35329 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35331 wxPyEndAllowThreads(__tstate
);
35332 if (PyErr_Occurred()) SWIG_fail
;
35334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
35341 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35342 PyObject
*resultobj
;
35343 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35345 PyObject
* obj0
= 0 ;
35346 char *kwnames
[] = {
35347 (char *) "self", NULL
35350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35356 wxPyEndAllowThreads(__tstate
);
35357 if (PyErr_Occurred()) SWIG_fail
;
35359 resultobj
= SWIG_PyObj_FromInt((int)result
);
35366 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35367 PyObject
*resultobj
;
35368 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35370 PyObject
* obj0
= 0 ;
35371 char *kwnames
[] = {
35372 (char *) "self", NULL
35375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35384 resultobj
= SWIG_PyObj_FromInt((int)result
);
35391 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35392 PyObject
*resultobj
;
35393 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35395 PyObject
* obj0
= 0 ;
35396 PyObject
* obj1
= 0 ;
35397 char *kwnames
[] = {
35398 (char *) "self",(char *) "row", NULL
35401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35404 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35405 if (PyErr_Occurred()) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 (arg1
)->SetRow(arg2
);
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 Py_INCREF(Py_None
); resultobj
= Py_None
;
35421 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
;
35423 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35425 PyObject
* obj0
= 0 ;
35426 PyObject
* obj1
= 0 ;
35427 char *kwnames
[] = {
35428 (char *) "self",(char *) "col", NULL
35431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35434 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35435 if (PyErr_Occurred()) SWIG_fail
;
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 (arg1
)->SetCol(arg2
);
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35444 Py_INCREF(Py_None
); resultobj
= Py_None
;
35451 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35452 PyObject
*resultobj
;
35453 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35454 wxGBPosition
*arg2
= 0 ;
35456 wxGBPosition temp2
;
35457 PyObject
* obj0
= 0 ;
35458 PyObject
* obj1
= 0 ;
35459 char *kwnames
[] = {
35460 (char *) "self",(char *) "p", NULL
35463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35467 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35471 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35476 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35483 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35484 PyObject
*resultobj
;
35485 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35486 wxGBPosition
*arg2
= 0 ;
35488 wxGBPosition temp2
;
35489 PyObject
* obj0
= 0 ;
35490 PyObject
* obj1
= 0 ;
35491 char *kwnames
[] = {
35492 (char *) "self",(char *) "p", NULL
35495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35499 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35503 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35508 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35515 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
;
35517 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35518 int arg2
= (int) 0 ;
35519 int arg3
= (int) 0 ;
35520 PyObject
* obj0
= 0 ;
35521 PyObject
* obj1
= 0 ;
35522 PyObject
* obj2
= 0 ;
35523 char *kwnames
[] = {
35524 (char *) "self",(char *) "row",(char *) "col", NULL
35527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35531 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35532 if (PyErr_Occurred()) SWIG_fail
;
35537 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35538 if (PyErr_Occurred()) SWIG_fail
;
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 wxGBPosition_Set(arg1
,arg2
,arg3
);
35545 wxPyEndAllowThreads(__tstate
);
35546 if (PyErr_Occurred()) SWIG_fail
;
35548 Py_INCREF(Py_None
); resultobj
= Py_None
;
35555 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35556 PyObject
*resultobj
;
35557 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35559 PyObject
* obj0
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35568 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35570 wxPyEndAllowThreads(__tstate
);
35571 if (PyErr_Occurred()) SWIG_fail
;
35573 resultobj
= result
;
35580 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35583 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35585 return Py_BuildValue((char *)"");
35587 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
;
35589 int arg1
= (int) 1 ;
35590 int arg2
= (int) 1 ;
35592 PyObject
* obj0
= 0 ;
35593 PyObject
* obj1
= 0 ;
35594 char *kwnames
[] = {
35595 (char *) "rowspan",(char *) "colspan", NULL
35598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35601 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35608 if (PyErr_Occurred()) SWIG_fail
;
35612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35613 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35615 wxPyEndAllowThreads(__tstate
);
35616 if (PyErr_Occurred()) SWIG_fail
;
35618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
35625 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35626 PyObject
*resultobj
;
35627 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35629 PyObject
* obj0
= 0 ;
35630 char *kwnames
[] = {
35631 (char *) "self", NULL
35634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35643 resultobj
= SWIG_PyObj_FromInt((int)result
);
35650 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
;
35652 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35654 PyObject
* obj0
= 0 ;
35655 char *kwnames
[] = {
35656 (char *) "self", NULL
35659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35663 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35665 wxPyEndAllowThreads(__tstate
);
35666 if (PyErr_Occurred()) SWIG_fail
;
35668 resultobj
= SWIG_PyObj_FromInt((int)result
);
35675 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
;
35677 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35679 PyObject
* obj0
= 0 ;
35680 PyObject
* obj1
= 0 ;
35681 char *kwnames
[] = {
35682 (char *) "self",(char *) "rowspan", NULL
35685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35688 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35689 if (PyErr_Occurred()) SWIG_fail
;
35692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35693 (arg1
)->SetRowspan(arg2
);
35695 wxPyEndAllowThreads(__tstate
);
35696 if (PyErr_Occurred()) SWIG_fail
;
35698 Py_INCREF(Py_None
); resultobj
= Py_None
;
35705 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35706 PyObject
*resultobj
;
35707 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35709 PyObject
* obj0
= 0 ;
35710 PyObject
* obj1
= 0 ;
35711 char *kwnames
[] = {
35712 (char *) "self",(char *) "colspan", NULL
35715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35718 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35719 if (PyErr_Occurred()) SWIG_fail
;
35722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35723 (arg1
)->SetColspan(arg2
);
35725 wxPyEndAllowThreads(__tstate
);
35726 if (PyErr_Occurred()) SWIG_fail
;
35728 Py_INCREF(Py_None
); resultobj
= Py_None
;
35735 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35736 PyObject
*resultobj
;
35737 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35738 wxGBSpan
*arg2
= 0 ;
35741 PyObject
* obj0
= 0 ;
35742 PyObject
* obj1
= 0 ;
35743 char *kwnames
[] = {
35744 (char *) "self",(char *) "o", NULL
35747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35751 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35755 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35767 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
;
35769 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35770 wxGBSpan
*arg2
= 0 ;
35773 PyObject
* obj0
= 0 ;
35774 PyObject
* obj1
= 0 ;
35775 char *kwnames
[] = {
35776 (char *) "self",(char *) "o", NULL
35779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35783 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35787 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
35789 wxPyEndAllowThreads(__tstate
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35792 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35799 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35800 PyObject
*resultobj
;
35801 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35802 int arg2
= (int) 1 ;
35803 int arg3
= (int) 1 ;
35804 PyObject
* obj0
= 0 ;
35805 PyObject
* obj1
= 0 ;
35806 PyObject
* obj2
= 0 ;
35807 char *kwnames
[] = {
35808 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35815 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35816 if (PyErr_Occurred()) SWIG_fail
;
35821 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35822 if (PyErr_Occurred()) SWIG_fail
;
35826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35827 wxGBSpan_Set(arg1
,arg2
,arg3
);
35829 wxPyEndAllowThreads(__tstate
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35832 Py_INCREF(Py_None
); resultobj
= Py_None
;
35839 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35840 PyObject
*resultobj
;
35841 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35843 PyObject
* obj0
= 0 ;
35844 char *kwnames
[] = {
35845 (char *) "self", NULL
35848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
35849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35852 result
= (PyObject
*)wxGBSpan_Get(arg1
);
35854 wxPyEndAllowThreads(__tstate
);
35855 if (PyErr_Occurred()) SWIG_fail
;
35857 resultobj
= result
;
35864 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
35866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35867 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
35869 return Py_BuildValue((char *)"");
35871 static int _wrap_DefaultSpan_set(PyObject
*) {
35872 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
35877 static PyObject
*_wrap_DefaultSpan_get() {
35880 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
35885 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35886 PyObject
*resultobj
;
35887 wxGBSizerItem
*result
;
35888 char *kwnames
[] = {
35892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
35894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35895 result
= (wxGBSizerItem
*)new wxGBSizerItem();
35897 wxPyEndAllowThreads(__tstate
);
35898 if (PyErr_Occurred()) SWIG_fail
;
35900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35907 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35908 PyObject
*resultobj
;
35909 wxWindow
*arg1
= (wxWindow
*) 0 ;
35910 wxGBPosition
*arg2
= 0 ;
35911 wxGBSpan
*arg3
= 0 ;
35914 wxObject
*arg6
= (wxObject
*) 0 ;
35915 wxGBSizerItem
*result
;
35916 wxGBPosition temp2
;
35918 PyObject
* obj0
= 0 ;
35919 PyObject
* obj1
= 0 ;
35920 PyObject
* obj2
= 0 ;
35921 PyObject
* obj3
= 0 ;
35922 PyObject
* obj4
= 0 ;
35923 PyObject
* obj5
= 0 ;
35924 char *kwnames
[] = {
35925 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35932 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35936 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35939 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35943 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35944 if (PyErr_Occurred()) SWIG_fail
;
35946 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35961 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35962 PyObject
*resultobj
;
35963 wxSizer
*arg1
= (wxSizer
*) 0 ;
35964 wxGBPosition
*arg2
= 0 ;
35965 wxGBSpan
*arg3
= 0 ;
35968 wxObject
*arg6
= (wxObject
*) 0 ;
35969 wxGBSizerItem
*result
;
35970 wxGBPosition temp2
;
35972 PyObject
* obj0
= 0 ;
35973 PyObject
* obj1
= 0 ;
35974 PyObject
* obj2
= 0 ;
35975 PyObject
* obj3
= 0 ;
35976 PyObject
* obj4
= 0 ;
35977 PyObject
* obj5
= 0 ;
35978 char *kwnames
[] = {
35979 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35986 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35990 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35993 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35997 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36000 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36005 wxPyEndAllowThreads(__tstate
);
36006 if (PyErr_Occurred()) SWIG_fail
;
36008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
36015 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
;
36019 wxGBPosition
*arg3
= 0 ;
36020 wxGBSpan
*arg4
= 0 ;
36023 wxObject
*arg7
= (wxObject
*) 0 ;
36024 wxGBSizerItem
*result
;
36025 wxGBPosition temp3
;
36027 PyObject
* obj0
= 0 ;
36028 PyObject
* obj1
= 0 ;
36029 PyObject
* obj2
= 0 ;
36030 PyObject
* obj3
= 0 ;
36031 PyObject
* obj4
= 0 ;
36032 PyObject
* obj5
= 0 ;
36033 PyObject
* obj6
= 0 ;
36034 char *kwnames
[] = {
36035 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36040 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36044 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
36045 if (PyErr_Occurred()) SWIG_fail
;
36049 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36053 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36056 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36060 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36061 if (PyErr_Occurred()) SWIG_fail
;
36063 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36066 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36068 wxPyEndAllowThreads(__tstate
);
36069 if (PyErr_Occurred()) SWIG_fail
;
36071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
36078 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36079 PyObject
*resultobj
;
36080 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36081 wxGBPosition result
;
36082 PyObject
* obj0
= 0 ;
36083 char *kwnames
[] = {
36084 (char *) "self", NULL
36087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36097 wxGBPosition
* resultptr
;
36098 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36107 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36108 PyObject
*resultobj
;
36109 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36111 PyObject
* obj0
= 0 ;
36112 char *kwnames
[] = {
36113 (char *) "self", NULL
36116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36120 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36122 wxPyEndAllowThreads(__tstate
);
36123 if (PyErr_Occurred()) SWIG_fail
;
36126 wxGBSpan
* resultptr
;
36127 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36128 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36136 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
;
36138 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36139 wxGBPosition
*arg2
= 0 ;
36141 wxGBPosition temp2
;
36142 PyObject
* obj0
= 0 ;
36143 PyObject
* obj1
= 0 ;
36144 char *kwnames
[] = {
36145 (char *) "self",(char *) "pos", NULL
36148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36152 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36156 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36158 wxPyEndAllowThreads(__tstate
);
36159 if (PyErr_Occurred()) SWIG_fail
;
36161 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36168 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36169 PyObject
*resultobj
;
36170 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36171 wxGBSpan
*arg2
= 0 ;
36174 PyObject
* obj0
= 0 ;
36175 PyObject
* obj1
= 0 ;
36176 char *kwnames
[] = {
36177 (char *) "self",(char *) "span", NULL
36180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36184 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36188 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36190 wxPyEndAllowThreads(__tstate
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36193 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36200 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
36201 PyObject
*resultobj
;
36202 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36203 wxGBSizerItem
*arg2
= 0 ;
36205 PyObject
* obj0
= 0 ;
36206 PyObject
* obj1
= 0 ;
36208 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36211 if (arg2
== NULL
) {
36212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36216 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36218 wxPyEndAllowThreads(__tstate
);
36219 if (PyErr_Occurred()) SWIG_fail
;
36221 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36228 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
36229 PyObject
*resultobj
;
36230 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36231 wxGBPosition
*arg2
= 0 ;
36232 wxGBSpan
*arg3
= 0 ;
36234 wxGBPosition temp2
;
36236 PyObject
* obj0
= 0 ;
36237 PyObject
* obj1
= 0 ;
36238 PyObject
* obj2
= 0 ;
36240 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36244 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36248 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36252 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36254 wxPyEndAllowThreads(__tstate
);
36255 if (PyErr_Occurred()) SWIG_fail
;
36257 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36264 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36269 argc
= PyObject_Length(args
);
36270 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36271 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36277 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36287 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36295 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36303 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36312 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36316 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36319 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36325 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36330 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36331 PyObject
*resultobj
;
36332 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36335 PyObject
* obj0
= 0 ;
36336 PyObject
* obj1
= 0 ;
36337 PyObject
* obj2
= 0 ;
36338 char *kwnames
[] = {
36339 (char *) "self",(char *) "row",(char *) "col", NULL
36342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36345 if (arg2
== NULL
) {
36346 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36348 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36349 if (arg3
== NULL
) {
36350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36354 (arg1
)->GetEndPos(*arg2
,*arg3
);
36356 wxPyEndAllowThreads(__tstate
);
36357 if (PyErr_Occurred()) SWIG_fail
;
36359 Py_INCREF(Py_None
); resultobj
= Py_None
;
36366 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36367 PyObject
*resultobj
;
36368 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36369 wxGridBagSizer
*result
;
36370 PyObject
* obj0
= 0 ;
36371 char *kwnames
[] = {
36372 (char *) "self", NULL
36375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36379 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36381 wxPyEndAllowThreads(__tstate
);
36382 if (PyErr_Occurred()) SWIG_fail
;
36384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
36391 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36392 PyObject
*resultobj
;
36393 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36394 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36395 PyObject
* obj0
= 0 ;
36396 PyObject
* obj1
= 0 ;
36397 char *kwnames
[] = {
36398 (char *) "self",(char *) "sizer", NULL
36401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36406 (arg1
)->SetGBSizer(arg2
);
36408 wxPyEndAllowThreads(__tstate
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36411 Py_INCREF(Py_None
); resultobj
= Py_None
;
36418 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
36420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36421 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36423 return Py_BuildValue((char *)"");
36425 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36426 PyObject
*resultobj
;
36427 int arg1
= (int) 0 ;
36428 int arg2
= (int) 0 ;
36429 wxGridBagSizer
*result
;
36430 PyObject
* obj0
= 0 ;
36431 PyObject
* obj1
= 0 ;
36432 char *kwnames
[] = {
36433 (char *) "vgap",(char *) "hgap", NULL
36436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36439 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
36463 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
;
36465 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36466 PyObject
*arg2
= (PyObject
*) 0 ;
36467 wxGBPosition
*arg3
= 0 ;
36468 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36469 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36470 int arg5
= (int) 0 ;
36471 int arg6
= (int) 0 ;
36472 PyObject
*arg7
= (PyObject
*) NULL
;
36474 wxGBPosition temp3
;
36476 PyObject
* obj0
= 0 ;
36477 PyObject
* obj1
= 0 ;
36478 PyObject
* obj2
= 0 ;
36479 PyObject
* obj3
= 0 ;
36480 PyObject
* obj4
= 0 ;
36481 PyObject
* obj5
= 0 ;
36482 PyObject
* obj6
= 0 ;
36483 char *kwnames
[] = {
36484 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36492 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36497 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36502 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36503 if (PyErr_Occurred()) SWIG_fail
;
36508 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36509 if (PyErr_Occurred()) SWIG_fail
;
36516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36517 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36519 wxPyEndAllowThreads(__tstate
);
36520 if (PyErr_Occurred()) SWIG_fail
;
36522 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36529 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36530 PyObject
*resultobj
;
36531 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36532 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36534 PyObject
* obj0
= 0 ;
36535 PyObject
* obj1
= 0 ;
36536 char *kwnames
[] = {
36537 (char *) "self",(char *) "item", NULL
36540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36545 result
= (bool)(arg1
)->Add(arg2
);
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36550 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36557 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36558 PyObject
*resultobj
;
36559 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36561 PyObject
* obj0
= 0 ;
36562 char *kwnames
[] = {
36563 (char *) "self", NULL
36566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36570 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36572 wxPyEndAllowThreads(__tstate
);
36573 if (PyErr_Occurred()) SWIG_fail
;
36576 wxSize
* resultptr
;
36577 resultptr
= new wxSize((wxSize
&) result
);
36578 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
36586 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36587 PyObject
*resultobj
;
36588 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36591 PyObject
* obj0
= 0 ;
36592 PyObject
* obj1
= 0 ;
36593 char *kwnames
[] = {
36594 (char *) "self",(char *) "sz", NULL
36597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36601 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36605 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36607 wxPyEndAllowThreads(__tstate
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36610 Py_INCREF(Py_None
); resultobj
= Py_None
;
36617 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36618 PyObject
*resultobj
;
36619 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36620 wxWindow
*arg2
= (wxWindow
*) 0 ;
36621 wxGBPosition result
;
36622 PyObject
* obj0
= 0 ;
36623 PyObject
* obj1
= 0 ;
36625 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36630 result
= (arg1
)->GetItemPosition(arg2
);
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36636 wxGBPosition
* resultptr
;
36637 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36638 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36646 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36647 PyObject
*resultobj
;
36648 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36649 wxSizer
*arg2
= (wxSizer
*) 0 ;
36650 wxGBPosition result
;
36651 PyObject
* obj0
= 0 ;
36652 PyObject
* obj1
= 0 ;
36654 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36656 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36659 result
= (arg1
)->GetItemPosition(arg2
);
36661 wxPyEndAllowThreads(__tstate
);
36662 if (PyErr_Occurred()) SWIG_fail
;
36665 wxGBPosition
* resultptr
;
36666 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36667 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36675 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36676 PyObject
*resultobj
;
36677 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36679 wxGBPosition result
;
36680 PyObject
* obj0
= 0 ;
36681 PyObject
* obj1
= 0 ;
36683 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36686 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36687 if (PyErr_Occurred()) SWIG_fail
;
36690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36691 result
= (arg1
)->GetItemPosition(arg2
);
36693 wxPyEndAllowThreads(__tstate
);
36694 if (PyErr_Occurred()) SWIG_fail
;
36697 wxGBPosition
* resultptr
;
36698 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36699 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36707 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
36712 argc
= PyObject_Length(args
);
36713 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36714 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36720 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36730 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36738 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
36746 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36756 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36764 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
36772 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36781 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36782 if (PyErr_Occurred()) {
36790 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
36795 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36800 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36801 PyObject
*resultobj
;
36802 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36803 wxWindow
*arg2
= (wxWindow
*) 0 ;
36804 wxGBPosition
*arg3
= 0 ;
36806 wxGBPosition temp3
;
36807 PyObject
* obj0
= 0 ;
36808 PyObject
* obj1
= 0 ;
36809 PyObject
* obj2
= 0 ;
36811 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36816 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36820 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36822 wxPyEndAllowThreads(__tstate
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36825 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36832 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36833 PyObject
*resultobj
;
36834 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36835 wxSizer
*arg2
= (wxSizer
*) 0 ;
36836 wxGBPosition
*arg3
= 0 ;
36838 wxGBPosition temp3
;
36839 PyObject
* obj0
= 0 ;
36840 PyObject
* obj1
= 0 ;
36841 PyObject
* obj2
= 0 ;
36843 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36848 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36854 wxPyEndAllowThreads(__tstate
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36857 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36864 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36865 PyObject
*resultobj
;
36866 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36868 wxGBPosition
*arg3
= 0 ;
36870 wxGBPosition temp3
;
36871 PyObject
* obj0
= 0 ;
36872 PyObject
* obj1
= 0 ;
36873 PyObject
* obj2
= 0 ;
36875 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36878 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36883 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36889 wxPyEndAllowThreads(__tstate
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36892 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36899 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
36904 argc
= PyObject_Length(args
);
36905 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36906 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36912 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36922 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36931 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36934 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
36943 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36953 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36962 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36965 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
36974 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36983 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36984 if (PyErr_Occurred()) {
36993 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36996 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
37002 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37007 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37008 PyObject
*resultobj
;
37009 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37010 wxWindow
*arg2
= (wxWindow
*) 0 ;
37012 PyObject
* obj0
= 0 ;
37013 PyObject
* obj1
= 0 ;
37015 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37020 result
= (arg1
)->GetItemSpan(arg2
);
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37026 wxGBSpan
* resultptr
;
37027 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37028 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37036 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37037 PyObject
*resultobj
;
37038 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37039 wxSizer
*arg2
= (wxSizer
*) 0 ;
37041 PyObject
* obj0
= 0 ;
37042 PyObject
* obj1
= 0 ;
37044 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37049 result
= (arg1
)->GetItemSpan(arg2
);
37051 wxPyEndAllowThreads(__tstate
);
37052 if (PyErr_Occurred()) SWIG_fail
;
37055 wxGBSpan
* resultptr
;
37056 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37057 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37065 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37066 PyObject
*resultobj
;
37067 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37070 PyObject
* obj0
= 0 ;
37071 PyObject
* obj1
= 0 ;
37073 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37076 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
37077 if (PyErr_Occurred()) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 result
= (arg1
)->GetItemSpan(arg2
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37087 wxGBSpan
* resultptr
;
37088 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37097 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37102 argc
= PyObject_Length(args
);
37103 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37104 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37110 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37120 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37128 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37136 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37146 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37154 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37162 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37171 SWIG_PyObj_AsUnsignedLong(argv
[1]);
37172 if (PyErr_Occurred()) {
37180 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37185 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37190 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37191 PyObject
*resultobj
;
37192 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37193 wxWindow
*arg2
= (wxWindow
*) 0 ;
37194 wxGBSpan
*arg3
= 0 ;
37197 PyObject
* obj0
= 0 ;
37198 PyObject
* obj1
= 0 ;
37199 PyObject
* obj2
= 0 ;
37201 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37206 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37210 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37212 wxPyEndAllowThreads(__tstate
);
37213 if (PyErr_Occurred()) SWIG_fail
;
37215 resultobj
= SWIG_PyObj_FromBool((bool)result
);
37222 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37223 PyObject
*resultobj
;
37224 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37225 wxSizer
*arg2
= (wxSizer
*) 0 ;
37226 wxGBSpan
*arg3
= 0 ;
37229 PyObject
* obj0
= 0 ;
37230 PyObject
* obj1
= 0 ;
37231 PyObject
* obj2
= 0 ;
37233 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37238 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37244 wxPyEndAllowThreads(__tstate
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37247 resultobj
= SWIG_PyObj_FromBool((bool)result
);
37254 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37255 PyObject
*resultobj
;
37256 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37258 wxGBSpan
*arg3
= 0 ;
37261 PyObject
* obj0
= 0 ;
37262 PyObject
* obj1
= 0 ;
37263 PyObject
* obj2
= 0 ;
37265 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37268 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37273 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37279 wxPyEndAllowThreads(__tstate
);
37280 if (PyErr_Occurred()) SWIG_fail
;
37282 resultobj
= SWIG_PyObj_FromBool((bool)result
);
37289 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37294 argc
= PyObject_Length(args
);
37295 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37296 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37302 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37312 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37321 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37324 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37333 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37343 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37352 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37355 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37364 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37373 SWIG_PyObj_AsUnsignedLong(argv
[1]);
37374 if (PyErr_Occurred()) {
37383 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37386 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37392 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37397 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
37398 PyObject
*resultobj
;
37399 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37400 wxWindow
*arg2
= (wxWindow
*) 0 ;
37401 wxGBSizerItem
*result
;
37402 PyObject
* obj0
= 0 ;
37403 PyObject
* obj1
= 0 ;
37405 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37410 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37412 wxPyEndAllowThreads(__tstate
);
37413 if (PyErr_Occurred()) SWIG_fail
;
37415 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37422 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
37423 PyObject
*resultobj
;
37424 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37425 wxSizer
*arg2
= (wxSizer
*) 0 ;
37426 wxGBSizerItem
*result
;
37427 PyObject
* obj0
= 0 ;
37428 PyObject
* obj1
= 0 ;
37430 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37435 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37437 wxPyEndAllowThreads(__tstate
);
37438 if (PyErr_Occurred()) SWIG_fail
;
37440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37447 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37452 argc
= PyObject_Length(args
);
37453 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37454 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37460 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37470 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37478 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37486 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37496 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37504 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37509 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37514 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
;
37516 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37517 wxGBPosition
*arg2
= 0 ;
37518 wxGBSizerItem
*result
;
37519 wxGBPosition temp2
;
37520 PyObject
* obj0
= 0 ;
37521 PyObject
* obj1
= 0 ;
37522 char *kwnames
[] = {
37523 (char *) "self",(char *) "pos", NULL
37526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37530 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37534 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37546 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37547 PyObject
*resultobj
;
37548 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37549 wxPoint
*arg2
= 0 ;
37550 wxGBSizerItem
*result
;
37552 PyObject
* obj0
= 0 ;
37553 PyObject
* obj1
= 0 ;
37554 char *kwnames
[] = {
37555 (char *) "self",(char *) "pt", NULL
37558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37566 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37568 wxPyEndAllowThreads(__tstate
);
37569 if (PyErr_Occurred()) SWIG_fail
;
37571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37578 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37579 PyObject
*resultobj
;
37580 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37581 wxObject
*arg2
= (wxObject
*) 0 ;
37582 wxGBSizerItem
*result
;
37583 PyObject
* obj0
= 0 ;
37584 PyObject
* obj1
= 0 ;
37585 char *kwnames
[] = {
37586 (char *) "self",(char *) "userData", NULL
37589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37596 wxPyEndAllowThreads(__tstate
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37606 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37607 PyObject
*resultobj
;
37608 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37609 PyObject
* obj0
= 0 ;
37610 char *kwnames
[] = {
37611 (char *) "self", NULL
37614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37618 (arg1
)->RecalcSizes();
37620 wxPyEndAllowThreads(__tstate
);
37621 if (PyErr_Occurred()) SWIG_fail
;
37623 Py_INCREF(Py_None
); resultobj
= Py_None
;
37630 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37631 PyObject
*resultobj
;
37632 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37634 PyObject
* obj0
= 0 ;
37635 char *kwnames
[] = {
37636 (char *) "self", NULL
37639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 result
= (arg1
)->CalcMin();
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37649 wxSize
* resultptr
;
37650 resultptr
= new wxSize((wxSize
&) result
);
37651 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
37659 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
37660 PyObject
*resultobj
;
37661 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37662 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37663 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37665 PyObject
* obj0
= 0 ;
37666 PyObject
* obj1
= 0 ;
37667 PyObject
* obj2
= 0 ;
37669 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37673 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37677 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37679 wxPyEndAllowThreads(__tstate
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37682 resultobj
= SWIG_PyObj_FromBool((bool)result
);
37689 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
37690 PyObject
*resultobj
;
37691 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37692 wxGBPosition
*arg2
= 0 ;
37693 wxGBSpan
*arg3
= 0 ;
37694 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37696 wxGBPosition temp2
;
37698 PyObject
* obj0
= 0 ;
37699 PyObject
* obj1
= 0 ;
37700 PyObject
* obj2
= 0 ;
37701 PyObject
* obj3
= 0 ;
37703 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37707 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37711 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37714 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37718 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
37720 wxPyEndAllowThreads(__tstate
);
37721 if (PyErr_Occurred()) SWIG_fail
;
37723 resultobj
= SWIG_PyObj_FromBool((bool)result
);
37730 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
37735 argc
= PyObject_Length(args
);
37736 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
37737 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37739 if ((argc
>= 2) && (argc
<= 3)) {
37743 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37753 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37762 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37766 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37774 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37779 if ((argc
>= 3) && (argc
<= 4)) {
37783 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37792 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37796 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37800 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37804 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37812 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37819 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37824 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37827 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
37829 return Py_BuildValue((char *)"");
37831 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37832 PyObject
*resultobj
;
37833 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37835 wxWindow
*arg3
= (wxWindow
*) 0 ;
37837 int arg5
= (int) 0 ;
37838 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
37839 PyObject
* obj0
= 0 ;
37840 PyObject
* obj1
= 0 ;
37841 PyObject
* obj2
= 0 ;
37842 PyObject
* obj3
= 0 ;
37843 PyObject
* obj4
= 0 ;
37844 PyObject
* obj5
= 0 ;
37845 char *kwnames
[] = {
37846 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37852 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
37853 if (PyErr_Occurred()) SWIG_fail
;
37855 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37857 arg4
= (wxEdge
) SWIG_PyObj_AsInt(obj3
);
37858 if (PyErr_Occurred()) SWIG_fail
;
37862 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37868 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37879 Py_INCREF(Py_None
); resultobj
= Py_None
;
37886 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37887 PyObject
*resultobj
;
37888 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37889 wxWindow
*arg2
= (wxWindow
*) 0 ;
37890 int arg3
= (int) 0 ;
37891 PyObject
* obj0
= 0 ;
37892 PyObject
* obj1
= 0 ;
37893 PyObject
* obj2
= 0 ;
37894 char *kwnames
[] = {
37895 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37900 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37903 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37904 if (PyErr_Occurred()) SWIG_fail
;
37908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37909 (arg1
)->LeftOf(arg2
,arg3
);
37911 wxPyEndAllowThreads(__tstate
);
37912 if (PyErr_Occurred()) SWIG_fail
;
37914 Py_INCREF(Py_None
); resultobj
= Py_None
;
37921 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37922 PyObject
*resultobj
;
37923 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37924 wxWindow
*arg2
= (wxWindow
*) 0 ;
37925 int arg3
= (int) 0 ;
37926 PyObject
* obj0
= 0 ;
37927 PyObject
* obj1
= 0 ;
37928 PyObject
* obj2
= 0 ;
37929 char *kwnames
[] = {
37930 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37938 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37939 if (PyErr_Occurred()) SWIG_fail
;
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 (arg1
)->RightOf(arg2
,arg3
);
37946 wxPyEndAllowThreads(__tstate
);
37947 if (PyErr_Occurred()) SWIG_fail
;
37949 Py_INCREF(Py_None
); resultobj
= Py_None
;
37956 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37957 PyObject
*resultobj
;
37958 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37959 wxWindow
*arg2
= (wxWindow
*) 0 ;
37960 int arg3
= (int) 0 ;
37961 PyObject
* obj0
= 0 ;
37962 PyObject
* obj1
= 0 ;
37963 PyObject
* obj2
= 0 ;
37964 char *kwnames
[] = {
37965 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37973 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37974 if (PyErr_Occurred()) SWIG_fail
;
37978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37979 (arg1
)->Above(arg2
,arg3
);
37981 wxPyEndAllowThreads(__tstate
);
37982 if (PyErr_Occurred()) SWIG_fail
;
37984 Py_INCREF(Py_None
); resultobj
= Py_None
;
37991 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37992 PyObject
*resultobj
;
37993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37994 wxWindow
*arg2
= (wxWindow
*) 0 ;
37995 int arg3
= (int) 0 ;
37996 PyObject
* obj0
= 0 ;
37997 PyObject
* obj1
= 0 ;
37998 PyObject
* obj2
= 0 ;
37999 char *kwnames
[] = {
38000 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38008 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
38009 if (PyErr_Occurred()) SWIG_fail
;
38013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38014 (arg1
)->Below(arg2
,arg3
);
38016 wxPyEndAllowThreads(__tstate
);
38017 if (PyErr_Occurred()) SWIG_fail
;
38019 Py_INCREF(Py_None
); resultobj
= Py_None
;
38026 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38027 PyObject
*resultobj
;
38028 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38029 wxWindow
*arg2
= (wxWindow
*) 0 ;
38031 int arg4
= (int) 0 ;
38032 PyObject
* obj0
= 0 ;
38033 PyObject
* obj1
= 0 ;
38034 PyObject
* obj2
= 0 ;
38035 PyObject
* obj3
= 0 ;
38036 char *kwnames
[] = {
38037 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38044 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
38045 if (PyErr_Occurred()) SWIG_fail
;
38049 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
38050 if (PyErr_Occurred()) SWIG_fail
;
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38060 Py_INCREF(Py_None
); resultobj
= Py_None
;
38067 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38068 PyObject
*resultobj
;
38069 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38070 wxWindow
*arg2
= (wxWindow
*) 0 ;
38073 PyObject
* obj0
= 0 ;
38074 PyObject
* obj1
= 0 ;
38075 PyObject
* obj2
= 0 ;
38076 PyObject
* obj3
= 0 ;
38077 char *kwnames
[] = {
38078 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38085 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
38086 if (PyErr_Occurred()) SWIG_fail
;
38089 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38094 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38096 wxPyEndAllowThreads(__tstate
);
38097 if (PyErr_Occurred()) SWIG_fail
;
38099 Py_INCREF(Py_None
); resultobj
= Py_None
;
38106 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38107 PyObject
*resultobj
;
38108 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38110 PyObject
* obj0
= 0 ;
38111 PyObject
* obj1
= 0 ;
38112 char *kwnames
[] = {
38113 (char *) "self",(char *) "val", NULL
38116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38119 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38120 if (PyErr_Occurred()) SWIG_fail
;
38123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38124 (arg1
)->Absolute(arg2
);
38126 wxPyEndAllowThreads(__tstate
);
38127 if (PyErr_Occurred()) SWIG_fail
;
38129 Py_INCREF(Py_None
); resultobj
= Py_None
;
38136 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38137 PyObject
*resultobj
;
38138 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38139 PyObject
* obj0
= 0 ;
38140 char *kwnames
[] = {
38141 (char *) "self", NULL
38144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38148 (arg1
)->Unconstrained();
38150 wxPyEndAllowThreads(__tstate
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38153 Py_INCREF(Py_None
); resultobj
= Py_None
;
38160 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38161 PyObject
*resultobj
;
38162 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38163 PyObject
* obj0
= 0 ;
38164 char *kwnames
[] = {
38165 (char *) "self", NULL
38168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38174 wxPyEndAllowThreads(__tstate
);
38175 if (PyErr_Occurred()) SWIG_fail
;
38177 Py_INCREF(Py_None
); resultobj
= Py_None
;
38184 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38185 PyObject
*resultobj
;
38186 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38188 PyObject
* obj0
= 0 ;
38189 char *kwnames
[] = {
38190 (char *) "self", NULL
38193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
38194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38197 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
38199 wxPyEndAllowThreads(__tstate
);
38200 if (PyErr_Occurred()) SWIG_fail
;
38203 resultobj
= wxPyMake_wxObject(result
);
38211 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38212 PyObject
*resultobj
;
38213 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38215 PyObject
* obj0
= 0 ;
38216 char *kwnames
[] = {
38217 (char *) "self", NULL
38220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38224 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38226 wxPyEndAllowThreads(__tstate
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38229 resultobj
= SWIG_PyObj_FromInt((int)result
);
38236 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38237 PyObject
*resultobj
;
38238 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38240 PyObject
* obj0
= 0 ;
38241 PyObject
* obj1
= 0 ;
38242 char *kwnames
[] = {
38243 (char *) "self",(char *) "which", NULL
38246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38249 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38250 if (PyErr_Occurred()) SWIG_fail
;
38253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38254 (arg1
)->SetEdge((wxEdge
)arg2
);
38256 wxPyEndAllowThreads(__tstate
);
38257 if (PyErr_Occurred()) SWIG_fail
;
38259 Py_INCREF(Py_None
); resultobj
= Py_None
;
38266 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38267 PyObject
*resultobj
;
38268 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38270 PyObject
* obj0
= 0 ;
38271 PyObject
* obj1
= 0 ;
38272 char *kwnames
[] = {
38273 (char *) "self",(char *) "v", NULL
38276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38279 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38280 if (PyErr_Occurred()) SWIG_fail
;
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 (arg1
)->SetValue(arg2
);
38286 wxPyEndAllowThreads(__tstate
);
38287 if (PyErr_Occurred()) SWIG_fail
;
38289 Py_INCREF(Py_None
); resultobj
= Py_None
;
38296 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38297 PyObject
*resultobj
;
38298 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38300 PyObject
* obj0
= 0 ;
38301 char *kwnames
[] = {
38302 (char *) "self", NULL
38305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38309 result
= (int)(arg1
)->GetMargin();
38311 wxPyEndAllowThreads(__tstate
);
38312 if (PyErr_Occurred()) SWIG_fail
;
38314 resultobj
= SWIG_PyObj_FromInt((int)result
);
38321 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38322 PyObject
*resultobj
;
38323 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38325 PyObject
* obj0
= 0 ;
38326 PyObject
* obj1
= 0 ;
38327 char *kwnames
[] = {
38328 (char *) "self",(char *) "m", NULL
38331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38334 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38339 (arg1
)->SetMargin(arg2
);
38341 wxPyEndAllowThreads(__tstate
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38344 Py_INCREF(Py_None
); resultobj
= Py_None
;
38351 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38352 PyObject
*resultobj
;
38353 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38355 PyObject
* obj0
= 0 ;
38356 char *kwnames
[] = {
38357 (char *) "self", NULL
38360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38364 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38366 wxPyEndAllowThreads(__tstate
);
38367 if (PyErr_Occurred()) SWIG_fail
;
38369 resultobj
= SWIG_PyObj_FromInt((int)result
);
38376 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38377 PyObject
*resultobj
;
38378 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38380 PyObject
* obj0
= 0 ;
38381 char *kwnames
[] = {
38382 (char *) "self", NULL
38385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38389 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= SWIG_PyObj_FromInt((int)result
);
38401 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38402 PyObject
*resultobj
;
38403 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38405 PyObject
* obj0
= 0 ;
38406 char *kwnames
[] = {
38407 (char *) "self", NULL
38410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38414 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38416 wxPyEndAllowThreads(__tstate
);
38417 if (PyErr_Occurred()) SWIG_fail
;
38419 resultobj
= SWIG_PyObj_FromInt((int)result
);
38426 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38427 PyObject
*resultobj
;
38428 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38430 PyObject
* obj0
= 0 ;
38431 char *kwnames
[] = {
38432 (char *) "self", NULL
38435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38439 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38441 wxPyEndAllowThreads(__tstate
);
38442 if (PyErr_Occurred()) SWIG_fail
;
38444 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38451 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38452 PyObject
*resultobj
;
38453 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38455 PyObject
* obj0
= 0 ;
38456 PyObject
* obj1
= 0 ;
38457 char *kwnames
[] = {
38458 (char *) "self",(char *) "d", NULL
38461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38464 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
38465 if (PyErr_Occurred()) SWIG_fail
;
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 (arg1
)->SetDone(arg2
);
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38474 Py_INCREF(Py_None
); resultobj
= Py_None
;
38481 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38482 PyObject
*resultobj
;
38483 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38485 PyObject
* obj0
= 0 ;
38486 char *kwnames
[] = {
38487 (char *) "self", NULL
38490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38494 result
= (int)(arg1
)->GetRelationship();
38496 wxPyEndAllowThreads(__tstate
);
38497 if (PyErr_Occurred()) SWIG_fail
;
38499 resultobj
= SWIG_PyObj_FromInt((int)result
);
38506 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38507 PyObject
*resultobj
;
38508 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38510 PyObject
* obj0
= 0 ;
38511 PyObject
* obj1
= 0 ;
38512 char *kwnames
[] = {
38513 (char *) "self",(char *) "r", NULL
38516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38519 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
38520 if (PyErr_Occurred()) SWIG_fail
;
38523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38524 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38526 wxPyEndAllowThreads(__tstate
);
38527 if (PyErr_Occurred()) SWIG_fail
;
38529 Py_INCREF(Py_None
); resultobj
= Py_None
;
38536 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38537 PyObject
*resultobj
;
38538 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38539 wxWindow
*arg2
= (wxWindow
*) 0 ;
38541 PyObject
* obj0
= 0 ;
38542 PyObject
* obj1
= 0 ;
38543 char *kwnames
[] = {
38544 (char *) "self",(char *) "otherW", NULL
38547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38552 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38554 wxPyEndAllowThreads(__tstate
);
38555 if (PyErr_Occurred()) SWIG_fail
;
38557 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38564 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38565 PyObject
*resultobj
;
38566 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38567 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38568 wxWindow
*arg3
= (wxWindow
*) 0 ;
38570 PyObject
* obj0
= 0 ;
38571 PyObject
* obj1
= 0 ;
38572 PyObject
* obj2
= 0 ;
38573 char *kwnames
[] = {
38574 (char *) "self",(char *) "constraints",(char *) "win", NULL
38577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38580 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38585 wxPyEndAllowThreads(__tstate
);
38586 if (PyErr_Occurred()) SWIG_fail
;
38588 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38595 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38596 PyObject
*resultobj
;
38597 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38599 wxWindow
*arg3
= (wxWindow
*) 0 ;
38600 wxWindow
*arg4
= (wxWindow
*) 0 ;
38602 PyObject
* obj0
= 0 ;
38603 PyObject
* obj1
= 0 ;
38604 PyObject
* obj2
= 0 ;
38605 PyObject
* obj3
= 0 ;
38606 char *kwnames
[] = {
38607 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38613 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38614 if (PyErr_Occurred()) SWIG_fail
;
38616 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38617 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38622 wxPyEndAllowThreads(__tstate
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= SWIG_PyObj_FromInt((int)result
);
38632 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
38634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38635 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38637 return Py_BuildValue((char *)"");
38639 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38640 PyObject
*resultobj
;
38641 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38642 wxIndividualLayoutConstraint
*result
;
38643 PyObject
* obj0
= 0 ;
38644 char *kwnames
[] = {
38645 (char *) "self", NULL
38648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38650 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38659 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38660 PyObject
*resultobj
;
38661 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38662 wxIndividualLayoutConstraint
*result
;
38663 PyObject
* obj0
= 0 ;
38664 char *kwnames
[] = {
38665 (char *) "self", NULL
38668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38670 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38679 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38680 PyObject
*resultobj
;
38681 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38682 wxIndividualLayoutConstraint
*result
;
38683 PyObject
* obj0
= 0 ;
38684 char *kwnames
[] = {
38685 (char *) "self", NULL
38688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38690 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38699 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38700 PyObject
*resultobj
;
38701 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38702 wxIndividualLayoutConstraint
*result
;
38703 PyObject
* obj0
= 0 ;
38704 char *kwnames
[] = {
38705 (char *) "self", NULL
38708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
38709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38710 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
38712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38719 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38720 PyObject
*resultobj
;
38721 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38722 wxIndividualLayoutConstraint
*result
;
38723 PyObject
* obj0
= 0 ;
38724 char *kwnames
[] = {
38725 (char *) "self", NULL
38728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
38729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38730 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
38732 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38739 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38740 PyObject
*resultobj
;
38741 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38742 wxIndividualLayoutConstraint
*result
;
38743 PyObject
* obj0
= 0 ;
38744 char *kwnames
[] = {
38745 (char *) "self", NULL
38748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
38749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38750 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
38752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38759 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38760 PyObject
*resultobj
;
38761 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38762 wxIndividualLayoutConstraint
*result
;
38763 PyObject
* obj0
= 0 ;
38764 char *kwnames
[] = {
38765 (char *) "self", NULL
38768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
38769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38770 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
38772 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38779 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38780 PyObject
*resultobj
;
38781 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38782 wxIndividualLayoutConstraint
*result
;
38783 PyObject
* obj0
= 0 ;
38784 char *kwnames
[] = {
38785 (char *) "self", NULL
38788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
38789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38790 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
38792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38799 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38800 PyObject
*resultobj
;
38801 wxLayoutConstraints
*result
;
38802 char *kwnames
[] = {
38806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
38808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38809 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
38811 wxPyEndAllowThreads(__tstate
);
38812 if (PyErr_Occurred()) SWIG_fail
;
38814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
38821 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38822 PyObject
*resultobj
;
38823 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38824 wxWindow
*arg2
= (wxWindow
*) 0 ;
38825 int *arg3
= (int *) 0 ;
38828 PyObject
* obj0
= 0 ;
38829 PyObject
* obj1
= 0 ;
38830 char *kwnames
[] = {
38831 (char *) "self",(char *) "win", NULL
38835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
38836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38840 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38845 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38847 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
38848 resultobj
= t_output_helper(resultobj
,o
);
38856 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38857 PyObject
*resultobj
;
38858 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38860 PyObject
* obj0
= 0 ;
38861 char *kwnames
[] = {
38862 (char *) "self", NULL
38865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
38866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38869 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
38871 wxPyEndAllowThreads(__tstate
);
38872 if (PyErr_Occurred()) SWIG_fail
;
38874 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38881 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
38883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38884 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
38886 return Py_BuildValue((char *)"");
38888 static PyMethodDef SwigMethods
[] = {
38889 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
38890 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
38891 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
38892 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38893 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
38894 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38895 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38896 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38897 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38898 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
38899 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
38900 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38901 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38902 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
38903 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38904 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
38905 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
38906 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
38907 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38908 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38909 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38910 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38911 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
38912 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
38913 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38914 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38915 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38916 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38917 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38918 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38919 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38920 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38921 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
38922 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38923 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
38924 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
38925 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
38926 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38927 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38928 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38929 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38930 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
38931 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
38932 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38933 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38934 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
38935 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38936 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38937 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38938 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
38939 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
38940 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
38941 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38942 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
38943 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
38944 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38945 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38946 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
38947 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38948 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
38949 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38950 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38951 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38952 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38953 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38954 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38955 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38956 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38957 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38958 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38959 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38960 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38961 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38962 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
38963 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38964 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
38965 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38966 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
38967 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
38968 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38969 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
38970 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
38971 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
38972 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
38973 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
38974 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
38975 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38976 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38977 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38978 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
38979 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
38980 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
38981 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38982 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38983 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38984 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38985 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38986 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38987 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38988 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38989 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
38990 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
38991 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
38992 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
38993 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
38994 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
38995 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
38996 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
38997 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
38998 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38999 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39000 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39001 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39002 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
39003 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
39004 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
39005 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
39006 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
39007 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39008 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39009 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
39010 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
39011 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39012 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39013 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39014 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39015 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39016 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39017 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
39018 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
39019 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
39020 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
39021 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
39022 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
39023 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
39024 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
39025 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
39026 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
39027 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
39028 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
39029 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
39030 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
39031 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
39032 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39033 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
39034 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
39035 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
39036 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
39037 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
39038 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
39039 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
39040 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39041 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39042 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
39043 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39044 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
39045 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39046 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
39047 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
39048 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
39049 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
39050 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39051 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39052 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39053 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39054 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39055 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
39056 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
39057 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39058 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
39059 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
39060 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
39061 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39062 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39063 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
39064 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
39065 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39066 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39067 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39068 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39069 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39070 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
39071 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
39072 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
39073 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39074 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39075 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39076 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
39077 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39078 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39079 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39080 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39081 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39082 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
39083 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
39084 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39085 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
39086 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39087 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
39088 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39089 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39090 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39091 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39092 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
39093 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39094 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39095 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
39096 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39097 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39098 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39099 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39100 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
39101 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39102 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
39103 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39104 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
39105 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39106 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
39107 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
39108 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
39109 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
39110 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
39111 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
39112 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
39113 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39114 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
39115 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
39116 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39117 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
39118 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
39119 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
39120 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
39121 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
39122 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
39123 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
39124 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39125 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39126 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39127 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39128 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
39129 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39130 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
39131 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
39132 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39133 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
39134 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39135 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
39136 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
39137 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
39138 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39139 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39140 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39141 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
39142 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
39143 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
39144 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
39145 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
39146 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39147 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39148 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39149 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39150 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39151 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39152 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
39153 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
39154 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
39155 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
39156 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
39157 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
39158 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
39159 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
39160 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
39161 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39162 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
39163 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
39164 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39165 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
39166 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39167 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
39168 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
39169 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39170 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39171 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
39172 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
39173 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
39174 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39175 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39176 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
39177 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39178 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
39179 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
39180 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
39181 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
39182 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
39183 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
39184 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
39185 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
39186 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39187 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
39188 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39189 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
39190 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
39191 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
39192 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39193 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
39194 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39195 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
39196 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39197 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
39198 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39199 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
39200 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
39201 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39202 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39203 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39204 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39205 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39206 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39207 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
39208 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
39209 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39210 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
39211 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
39212 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39213 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
39214 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
39215 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
39216 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39217 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39218 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39219 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39220 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39221 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39222 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39223 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39224 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39225 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
39226 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
39227 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
39228 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
39229 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
39230 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39231 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
39232 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39233 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39234 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
39235 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39236 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39237 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
39238 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39239 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39240 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39241 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39242 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39243 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
39244 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39245 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39246 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
39247 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
39248 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39249 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
39250 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39251 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39252 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
39253 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
39254 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
39255 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
39256 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39257 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39258 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39259 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39260 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
39261 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
39262 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39263 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39264 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39265 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39266 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
39267 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39268 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
39269 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
39270 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
39271 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
39272 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
39273 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39274 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
39275 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39276 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39277 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39278 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39279 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
39281 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
39282 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
39283 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
39284 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
39285 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
39288 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39291 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
39292 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
39294 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
39295 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
39298 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39300 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
39301 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39305 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39309 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39313 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39314 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39316 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39317 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39319 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39320 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39322 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
39326 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
39329 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
39336 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39340 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
39342 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39343 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39345 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
39346 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39348 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39350 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39351 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39354 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39356 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39358 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39361 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39363 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39366 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
39369 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
39371 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39372 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39373 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39374 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39375 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39376 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
39378 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39379 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39380 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
39381 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
39382 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39383 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39385 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
39388 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39390 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
39391 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39392 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
39393 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
39395 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
39398 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39399 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39400 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
39402 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39403 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
39405 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
39407 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
39408 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
39409 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
39410 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
39412 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
39413 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
39415 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39416 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39417 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39419 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39420 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
39422 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
39423 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
39426 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
39427 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39428 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
39430 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
39432 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39433 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
39435 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
39436 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
39437 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39438 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39440 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39443 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
39444 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39445 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39448 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
39449 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
39450 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39452 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
39453 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39454 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
39455 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39456 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
39458 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39459 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
39460 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39462 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
39464 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
39465 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39466 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
39468 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39469 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39471 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39472 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39473 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
39476 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39478 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
39479 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39481 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
39482 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39483 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39484 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
39486 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
39488 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39490 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39491 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39492 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39493 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39494 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39495 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39496 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39498 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39500 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39501 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39502 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39503 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39504 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39505 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39507 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39510 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39515 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39516 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39517 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39521 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39527 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39531 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39534 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39537 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39540 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39541 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39544 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39547 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39548 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39550 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39551 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39552 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39554 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39557 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39558 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39560 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39561 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39562 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39563 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39564 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39565 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39568 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39569 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39570 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39571 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39572 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39573 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39574 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39576 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39578 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39580 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39581 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39582 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39583 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39584 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39586 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39588 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39590 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39591 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39598 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39602 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39606 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39608 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39610 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
39611 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
39612 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
39613 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39614 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39615 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39616 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39617 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
39618 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
39619 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
39620 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
39621 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
39622 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39623 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39624 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39625 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39626 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39627 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
39628 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39629 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39630 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
39631 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39632 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39633 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39634 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39635 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39636 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39637 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
39638 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
39639 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39640 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39641 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
39642 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39643 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39644 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
39645 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
39646 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
39647 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
39648 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
39649 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
39650 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39651 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39652 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39653 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39654 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39655 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
39656 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
39657 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
39658 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
39659 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
39660 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39661 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39662 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39663 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39664 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39665 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39666 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39667 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39668 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39669 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39670 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39671 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39672 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39673 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39674 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39675 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
39676 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
39677 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39678 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39679 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
39680 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
39681 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
39682 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
39683 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
39684 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
39685 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
39686 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
39687 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
39688 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
39689 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
39690 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
39691 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
39692 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39693 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
39694 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
39695 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
39696 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39697 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39698 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39699 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39700 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39701 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39702 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39703 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39704 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39705 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39706 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
39707 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
39708 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39709 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39710 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
39711 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
39712 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
39713 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
39714 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
39715 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
39716 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
39717 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39718 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
39719 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
39720 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
39721 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
39722 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
39723 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39724 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39725 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39726 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39727 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
39728 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
39729 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
39730 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
39731 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
39732 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
39733 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
39734 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
39735 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
39736 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39737 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
39738 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39739 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
39740 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39741 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39742 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39743 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39744 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
39745 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39746 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39747 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39748 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39749 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39750 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39751 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
39752 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39753 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39754 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39755 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
39756 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39757 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39758 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
39759 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
39760 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
39761 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39762 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
39763 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
39764 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
39765 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39766 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39767 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
39768 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
39769 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
39770 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
39771 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39772 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
39773 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
39774 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
39775 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39776 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39777 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39778 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
39779 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
39780 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
39781 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39782 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39783 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39784 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39785 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39786 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
39787 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39788 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39789 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39790 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39791 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39792 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
39793 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39794 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
39795 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39796 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
39797 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39798 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
39799 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
39800 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
39801 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
39802 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
39803 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39804 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
39805 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39806 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39807 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
39808 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39809 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39810 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39811 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39812 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39813 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39814 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39815 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39816 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39817 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39818 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39819 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
39820 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
39821 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39822 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39823 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39824 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39825 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
39826 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39827 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
39828 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39829 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
39830 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39831 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
39832 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39833 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39834 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39835 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
39836 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
39837 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39838 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39839 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39840 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39841 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
39842 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39843 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
39844 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39845 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39846 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39847 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39848 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39849 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39850 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
39851 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39852 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39853 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39854 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
39855 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39856 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39857 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39858 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39859 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39860 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39861 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39862 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39863 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39864 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
39865 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
39866 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39867 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39868 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39869 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39870 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39871 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39872 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39873 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
39874 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39875 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
39876 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39877 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39878 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39879 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39880 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39881 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39882 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
39883 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
39884 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39885 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39886 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
39887 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39888 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39889 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39890 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39891 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39892 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39893 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39894 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39895 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39896 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39897 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
39898 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
39899 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
39900 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
39901 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
39902 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39903 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39904 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
39905 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
39906 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
39907 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39908 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39909 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39910 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
39911 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
39912 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39913 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
39914 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39915 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
39916 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
39917 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39918 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
39919 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39920 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39921 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
39922 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
39923 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39924 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39925 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39926 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39927 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39928 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39931 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39932 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
39935 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39937 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39938 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
39939 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
39940 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39941 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39942 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39945 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39947 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39948 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39949 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39951 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39952 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39956 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
39958 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39965 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39967 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39970 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39976 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39977 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39980 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
39987 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
39990 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39991 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39993 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
39996 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
40001 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40003 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
40013 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40016 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40017 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40024 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
40026 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
40027 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
40028 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
40030 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
40031 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
40032 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40034 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
40036 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
40037 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
40038 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40040 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
40046 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
40047 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40050 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
40052 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
40056 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
40057 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40058 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40059 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
40060 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
40066 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
40067 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
40068 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
40069 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
40070 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
40076 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
40077 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
40079 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
40082 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
40088 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40099 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
40104 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
40105 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
40111 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
40120 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40122 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40123 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40125 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40126 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40128 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40129 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40131 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40132 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40134 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40135 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40137 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40138 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40140 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40141 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40143 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40144 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40146 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40147 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40149 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40150 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40152 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40153 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40155 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40156 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40158 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40159 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40161 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40162 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40164 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40165 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40167 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40168 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40170 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40171 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40173 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40174 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40176 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40177 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40179 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40180 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40182 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40183 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40185 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40186 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40188 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40189 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40191 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40192 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40194 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40195 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40197 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40198 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40200 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40201 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40203 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40204 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40206 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40209 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40210 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40212 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40213 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40215 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40216 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40218 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40219 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40221 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40222 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40224 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40225 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40227 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40228 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40230 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40231 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40233 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40234 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40236 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40239 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40242 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40243 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40245 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40246 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40248 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40249 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40251 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40252 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40254 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40255 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40257 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40258 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40260 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40261 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40263 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40264 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40266 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40267 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40269 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40270 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40272 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40275 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40276 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40278 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40279 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40281 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40282 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40284 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40285 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40287 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40288 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40290 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40291 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40293 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40294 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40296 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40297 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40299 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40300 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40302 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40303 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40305 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40306 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40308 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40309 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40311 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40312 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40314 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40315 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40317 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40318 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40320 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40321 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40323 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40324 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40326 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40327 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40329 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40330 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40332 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40333 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40335 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40336 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40338 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40339 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40341 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40342 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40344 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40345 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40347 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40348 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40350 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40351 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40353 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40354 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40356 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40357 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40359 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40362 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40363 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40365 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40366 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40368 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40369 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40371 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40372 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40374 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40377 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40380 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40381 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40383 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40384 return (void *)((wxObject
*) ((wxSizer
*) x
));
40386 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40387 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40389 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40390 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40392 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40393 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40395 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40396 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40398 static void *_p_wxImageTo_p_wxObject(void *x
) {
40399 return (void *)((wxObject
*) ((wxImage
*) x
));
40401 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40404 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40405 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40407 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40408 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40410 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40411 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40413 static void *_p_wxControlTo_p_wxObject(void *x
) {
40414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40416 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40417 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40419 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40420 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40422 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40423 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40425 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40426 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40428 static void *_p_wxEventTo_p_wxObject(void *x
) {
40429 return (void *)((wxObject
*) ((wxEvent
*) x
));
40431 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40432 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40434 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40435 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40437 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40438 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40440 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40441 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40443 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40444 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40446 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40447 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40449 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40452 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40453 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40455 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40458 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40459 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40461 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40464 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40465 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40467 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40470 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40471 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40473 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40474 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40476 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40477 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40479 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40482 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40485 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40488 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40491 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40494 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40497 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40498 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40500 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40501 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40503 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40506 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40507 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40509 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40510 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40512 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40513 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40515 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40516 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40518 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40519 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40521 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40522 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40524 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40527 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40528 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40530 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40531 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40533 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40534 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40536 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40537 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40539 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40540 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40542 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40543 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40545 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40546 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40548 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40551 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40552 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40554 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40555 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40557 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40560 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40561 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40563 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40564 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40566 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40567 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40569 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40570 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40572 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40573 return (void *)((wxWindow
*) ((wxControl
*) x
));
40575 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40576 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40578 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40579 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40581 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40582 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40584 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40585 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40587 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40588 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40590 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40591 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40593 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40594 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40596 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40597 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40599 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40600 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40602 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40603 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40605 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40606 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40608 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
40609 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
40610 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
40611 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
40612 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
40613 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
40614 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
},{0}};
40615 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
40616 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
40617 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
40618 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
40619 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
40620 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
40621 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
40622 static swig_type_info _swigt__p_wxGridSizer
[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer
},{"_p_wxGridSizer"},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer
},{0}};
40623 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
40624 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
40625 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
40626 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
40627 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
40628 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
40629 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
40630 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
40631 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
40632 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
40633 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
40634 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
40635 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
40636 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
40637 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
40638 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
40639 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
40640 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
40641 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
40642 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
40643 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
40644 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
40645 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
40646 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
40647 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
40648 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
40649 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
40650 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
40651 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
40652 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
40653 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
40654 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
40655 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
40656 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
40657 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
40658 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
40659 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
40660 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
40661 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
40662 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
40663 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
40664 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
40665 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
40666 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
40667 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
40668 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
40669 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
40670 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
40671 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
40672 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{0}};
40673 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
40674 static swig_type_info _swigt__p_wxICOHandler
[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0},{"_p_wxICOHandler"},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler
},{0}};
40675 static swig_type_info _swigt__p_wxBMPHandler
[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0},{"_p_wxBMPHandler"},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler
},{0}};
40676 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0},{"_p_wxImageHandler"},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
},{0}};
40677 static swig_type_info _swigt__p_wxFileSystemHandler
[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0},{"_p_wxFileSystemHandler"},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler
},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler
},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler
},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler
},{0}};
40678 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
40679 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
40680 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
40681 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
40682 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
40683 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
40684 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
40685 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
40686 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
40687 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
40688 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
40689 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
40690 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40691 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
40692 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
40693 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}};
40694 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
40695 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
40696 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
40697 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
40698 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
40699 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
40700 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
40701 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}};
40702 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
40703 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
40704 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
40705 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
40706 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
40707 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
40708 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40709 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
40710 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
40711 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
40712 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
40713 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{0}};
40714 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
40715 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
40716 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
40717 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
40718 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
40719 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
40720 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
40721 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
40722 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
40724 static swig_type_info
*swig_types_initial
[] = {
40725 _swigt__p_wxLayoutConstraints
,
40726 _swigt__p_wxRealPoint
,
40727 _swigt__p_wxSizerItem
,
40728 _swigt__p_wxGBSizerItem
,
40729 _swigt__p_wxScrollEvent
,
40730 _swigt__p_wxIndividualLayoutConstraint
,
40732 _swigt__p_wxBoxSizer
,
40733 _swigt__p_wxStaticBoxSizer
,
40734 _swigt__p_wxGridBagSizer
,
40735 _swigt__p_wxAcceleratorEntry
,
40736 _swigt__p_wxUpdateUIEvent
,
40739 _swigt__p_wxGridSizer
,
40740 _swigt__p_wxFlexGridSizer
,
40741 _swigt__p_wxInitDialogEvent
,
40742 _swigt__p_wxItemContainer
,
40743 _swigt__p_wxNcPaintEvent
,
40744 _swigt__p_wxPaintEvent
,
40745 _swigt__p_wxSysColourChangedEvent
,
40746 _swigt__p_wxMouseCaptureChangedEvent
,
40747 _swigt__p_wxDisplayChangedEvent
,
40748 _swigt__p_wxPaletteChangedEvent
,
40749 _swigt__p_wxControl
,
40751 _swigt__p_wxMenuBarBase
,
40752 _swigt__p_wxSetCursorEvent
,
40753 _swigt__p_wxFSFile
,
40755 _swigt__p_wxRegion
,
40756 _swigt__p_wxPoint2D
,
40760 _swigt__p_wxPySizer
,
40761 _swigt__p_wxNotifyEvent
,
40762 _swigt__p_wxPyEvent
,
40763 _swigt__p_wxPropagationDisabler
,
40764 _swigt__p_wxAppTraits
,
40765 _swigt__p_wxArrayString
,
40766 _swigt__p_wxShowEvent
,
40767 _swigt__p_wxToolTip
,
40768 _swigt__p_wxIconizeEvent
,
40769 _swigt__p_wxActivateEvent
,
40770 _swigt__p_wxMoveEvent
,
40771 _swigt__p_wxSizeEvent
,
40772 _swigt__p_wxMaximizeEvent
,
40773 _swigt__p_wxQueryNewPaletteEvent
,
40774 _swigt__p_wxWindowCreateEvent
,
40775 _swigt__p_wxIdleEvent
,
40776 _swigt__p_wxMenuItem
,
40777 _swigt__p_wxStaticBox
,
40779 _swigt__p_wxTIFFHandler
,
40780 _swigt__p_wxXPMHandler
,
40781 _swigt__p_wxPNMHandler
,
40782 _swigt__p_wxJPEGHandler
,
40783 _swigt__p_wxPCXHandler
,
40784 _swigt__p_wxGIFHandler
,
40785 _swigt__p_wxPNGHandler
,
40786 _swigt__p_wxANIHandler
,
40787 _swigt__p_wxMemoryFSHandler
,
40788 _swigt__p_wxZipFSHandler
,
40789 _swigt__p_wxEvtHandler
,
40790 _swigt__p_wxCURHandler
,
40791 _swigt__p_wxICOHandler
,
40792 _swigt__p_wxBMPHandler
,
40793 _swigt__p_wxImageHandler
,
40794 _swigt__p_wxFileSystemHandler
,
40795 _swigt__p_wxPyFileSystemHandler
,
40796 _swigt__p_wxInternetFSHandler
,
40798 _swigt__p_wxGBSpan
,
40799 _swigt__p_wxPropagateOnce
,
40800 _swigt__p_wxAcceleratorTable
,
40802 _swigt__p_wxGBPosition
,
40805 _swigt__p_wxScrollWinEvent
,
40806 _swigt__p_wxImageHistogram
,
40809 _swigt__p_wxCursor
,
40810 _swigt__p_wxObject
,
40811 _swigt__p_wxPyInputStream
,
40812 _swigt__p_wxOutputStream
,
40813 _swigt__p_wxInputStream
,
40814 _swigt__p_wxDateTime
,
40815 _swigt__p_wxKeyEvent
,
40816 _swigt__p_wxNavigationKeyEvent
,
40817 _swigt__p_wxWindowDestroyEvent
,
40818 _swigt__p_wxWindow
,
40819 _swigt__p_wxMenuBar
,
40820 _swigt__p_wxString
,
40821 _swigt__p_wxFileSystem
,
40822 _swigt__p_wxBitmap
,
40823 _swigt__p_wxMenuEvent
,
40824 _swigt__p_wxContextMenuEvent
,
40825 _swigt__p_unsigned_char
,
40826 _swigt__p_wxCloseEvent
,
40827 _swigt__p_wxEraseEvent
,
40828 _swigt__p_wxMouseEvent
,
40830 _swigt__p_wxCommandEvent
,
40831 _swigt__p_wxPyCommandEvent
,
40832 _swigt__p_wxPyDropTarget
,
40833 _swigt__p_wxChildFocusEvent
,
40834 _swigt__p_wxFocusEvent
,
40835 _swigt__p_wxDropFilesEvent
,
40836 _swigt__p_wxControlWithItems
,
40837 _swigt__p_wxColour
,
40838 _swigt__p_wxValidator
,
40839 _swigt__p_wxPyValidator
,
40844 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40846 static swig_const_info swig_const_table
[] = {
40856 SWIGEXPORT(void) SWIG_init(void) {
40857 static PyObject
*SWIG_globals
= 0;
40858 static int typeinit
= 0;
40861 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
40862 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40863 d
= PyModule_GetDict(m
);
40866 for (i
= 0; swig_types_initial
[i
]; i
++) {
40867 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
40871 SWIG_InstallConstants(d
,swig_const_table
);
40874 #ifndef wxPyUSE_EXPORT
40875 // Make our API structure a CObject so other modules can import it
40876 // from this module.
40877 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
40878 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
40882 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_PyObj_FromInt((int)wxNOT_FOUND
));
40883 PyDict_SetItemString(d
,"VSCROLL", SWIG_PyObj_FromInt((int)wxVSCROLL
));
40884 PyDict_SetItemString(d
,"HSCROLL", SWIG_PyObj_FromInt((int)wxHSCROLL
));
40885 PyDict_SetItemString(d
,"CAPTION", SWIG_PyObj_FromInt((int)wxCAPTION
));
40886 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_PyObj_FromInt((int)wxDOUBLE_BORDER
));
40887 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_PyObj_FromInt((int)wxSUNKEN_BORDER
));
40888 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_PyObj_FromInt((int)wxRAISED_BORDER
));
40889 PyDict_SetItemString(d
,"BORDER", SWIG_PyObj_FromInt((int)wxBORDER
));
40890 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_PyObj_FromInt((int)wxSIMPLE_BORDER
));
40891 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_PyObj_FromInt((int)wxSTATIC_BORDER
));
40892 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_PyObj_FromInt((int)wxTRANSPARENT_WINDOW
));
40893 PyDict_SetItemString(d
,"NO_BORDER", SWIG_PyObj_FromInt((int)wxNO_BORDER
));
40894 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_PyObj_FromInt((int)wxUSER_COLOURS
));
40895 PyDict_SetItemString(d
,"NO_3D", SWIG_PyObj_FromInt((int)wxNO_3D
));
40896 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_PyObj_FromInt((int)wxTAB_TRAVERSAL
));
40897 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_PyObj_FromInt((int)wxWANTS_CHARS
));
40898 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_PyObj_FromInt((int)wxPOPUP_WINDOW
));
40899 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_PyObj_FromInt((int)wxCENTER_FRAME
));
40900 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTRE_ON_SCREEN
));
40901 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTER_ON_SCREEN
));
40902 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_PyObj_FromInt((int)wxSTAY_ON_TOP
));
40903 PyDict_SetItemString(d
,"ICONIZE", SWIG_PyObj_FromInt((int)wxICONIZE
));
40904 PyDict_SetItemString(d
,"MINIMIZE", SWIG_PyObj_FromInt((int)wxMINIMIZE
));
40905 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_PyObj_FromInt((int)wxMAXIMIZE
));
40906 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_PyObj_FromInt((int)wxCLOSE_BOX
));
40907 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_PyObj_FromInt((int)wxTHICK_FRAME
));
40908 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_PyObj_FromInt((int)wxSYSTEM_MENU
));
40909 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMINIMIZE_BOX
));
40910 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMAXIMIZE_BOX
));
40911 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_HORIZ
));
40912 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_VERT
));
40913 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_PyObj_FromInt((int)wxRESIZE_BOX
));
40914 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_PyObj_FromInt((int)wxRESIZE_BORDER
));
40915 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_PyObj_FromInt((int)wxDIALOG_MODAL
));
40916 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_PyObj_FromInt((int)wxDIALOG_MODELESS
));
40917 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_PyObj_FromInt((int)wxDIALOG_NO_PARENT
));
40918 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_FRAME_STYLE
));
40919 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
40920 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_PyObj_FromInt((int)wxFRAME_TOOL_WINDOW
));
40921 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_PyObj_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
40922 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_PyObj_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
40923 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_PyObj_FromInt((int)wxFRAME_NO_TASKBAR
));
40924 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_PyObj_FromInt((int)wxFRAME_SHAPED
));
40925 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_PyObj_FromInt((int)wxED_CLIENT_MARGIN
));
40926 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_PyObj_FromInt((int)wxED_BUTTONS_BOTTOM
));
40927 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_PyObj_FromInt((int)wxED_BUTTONS_RIGHT
));
40928 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_PyObj_FromInt((int)wxED_STATIC_LINE
));
40929 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxEXT_DIALOG_STYLE
));
40930 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_PyObj_FromInt((int)wxCLIP_CHILDREN
));
40931 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_PyObj_FromInt((int)wxCLIP_SIBLINGS
));
40932 PyDict_SetItemString(d
,"RETAINED", SWIG_PyObj_FromInt((int)wxRETAINED
));
40933 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_PyObj_FromInt((int)wxBACKINGSTORE
));
40934 PyDict_SetItemString(d
,"COLOURED", SWIG_PyObj_FromInt((int)wxCOLOURED
));
40935 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_PyObj_FromInt((int)wxFIXED_LENGTH
));
40936 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_PyObj_FromInt((int)wxLB_NEEDED_SB
));
40937 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_PyObj_FromInt((int)wxLB_ALWAYS_SB
));
40938 PyDict_SetItemString(d
,"LB_SORT", SWIG_PyObj_FromInt((int)wxLB_SORT
));
40939 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_PyObj_FromInt((int)wxLB_SINGLE
));
40940 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_PyObj_FromInt((int)wxLB_MULTIPLE
));
40941 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_PyObj_FromInt((int)wxLB_EXTENDED
));
40942 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_PyObj_FromInt((int)wxLB_OWNERDRAW
));
40943 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_PyObj_FromInt((int)wxLB_HSCROLL
));
40944 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxPROCESS_ENTER
));
40945 PyDict_SetItemString(d
,"PASSWORD", SWIG_PyObj_FromInt((int)wxPASSWORD
));
40946 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_PyObj_FromInt((int)wxCB_SIMPLE
));
40947 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_PyObj_FromInt((int)wxCB_DROPDOWN
));
40948 PyDict_SetItemString(d
,"CB_SORT", SWIG_PyObj_FromInt((int)wxCB_SORT
));
40949 PyDict_SetItemString(d
,"CB_READONLY", SWIG_PyObj_FromInt((int)wxCB_READONLY
));
40950 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxRA_HORIZONTAL
));
40951 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_PyObj_FromInt((int)wxRA_VERTICAL
));
40952 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_ROWS
));
40953 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_COLS
));
40954 PyDict_SetItemString(d
,"RB_GROUP", SWIG_PyObj_FromInt((int)wxRB_GROUP
));
40955 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_PyObj_FromInt((int)wxRB_SINGLE
));
40956 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSL_HORIZONTAL
));
40957 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_PyObj_FromInt((int)wxSL_VERTICAL
));
40958 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_PyObj_FromInt((int)wxSL_AUTOTICKS
));
40959 PyDict_SetItemString(d
,"SL_LABELS", SWIG_PyObj_FromInt((int)wxSL_LABELS
));
40960 PyDict_SetItemString(d
,"SL_LEFT", SWIG_PyObj_FromInt((int)wxSL_LEFT
));
40961 PyDict_SetItemString(d
,"SL_TOP", SWIG_PyObj_FromInt((int)wxSL_TOP
));
40962 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_PyObj_FromInt((int)wxSL_RIGHT
));
40963 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_PyObj_FromInt((int)wxSL_BOTTOM
));
40964 PyDict_SetItemString(d
,"SL_BOTH", SWIG_PyObj_FromInt((int)wxSL_BOTH
));
40965 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_PyObj_FromInt((int)wxSL_SELRANGE
));
40966 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSB_HORIZONTAL
));
40967 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_PyObj_FromInt((int)wxSB_VERTICAL
));
40968 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_PyObj_FromInt((int)wxST_SIZEGRIP
));
40969 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_PyObj_FromInt((int)wxST_NO_AUTORESIZE
));
40970 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_PyObj_FromInt((int)wxFLOOD_SURFACE
));
40971 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_PyObj_FromInt((int)wxFLOOD_BORDER
));
40972 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_PyObj_FromInt((int)wxODDEVEN_RULE
));
40973 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_PyObj_FromInt((int)wxWINDING_RULE
));
40974 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_PyObj_FromInt((int)wxTOOL_TOP
));
40975 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_PyObj_FromInt((int)wxTOOL_BOTTOM
));
40976 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_PyObj_FromInt((int)wxTOOL_LEFT
));
40977 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_PyObj_FromInt((int)wxTOOL_RIGHT
));
40978 PyDict_SetItemString(d
,"OK", SWIG_PyObj_FromInt((int)wxOK
));
40979 PyDict_SetItemString(d
,"YES_NO", SWIG_PyObj_FromInt((int)wxYES_NO
));
40980 PyDict_SetItemString(d
,"CANCEL", SWIG_PyObj_FromInt((int)wxCANCEL
));
40981 PyDict_SetItemString(d
,"YES", SWIG_PyObj_FromInt((int)wxYES
));
40982 PyDict_SetItemString(d
,"NO", SWIG_PyObj_FromInt((int)wxNO
));
40983 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_PyObj_FromInt((int)wxNO_DEFAULT
));
40984 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_PyObj_FromInt((int)wxYES_DEFAULT
));
40985 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_PyObj_FromInt((int)wxICON_EXCLAMATION
));
40986 PyDict_SetItemString(d
,"ICON_HAND", SWIG_PyObj_FromInt((int)wxICON_HAND
));
40987 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_PyObj_FromInt((int)wxICON_QUESTION
));
40988 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_PyObj_FromInt((int)wxICON_INFORMATION
));
40989 PyDict_SetItemString(d
,"ICON_STOP", SWIG_PyObj_FromInt((int)wxICON_STOP
));
40990 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_PyObj_FromInt((int)wxICON_ASTERISK
));
40991 PyDict_SetItemString(d
,"ICON_MASK", SWIG_PyObj_FromInt((int)wxICON_MASK
));
40992 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_PyObj_FromInt((int)wxICON_WARNING
));
40993 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_PyObj_FromInt((int)wxICON_ERROR
));
40994 PyDict_SetItemString(d
,"FORWARD", SWIG_PyObj_FromInt((int)wxFORWARD
));
40995 PyDict_SetItemString(d
,"BACKWARD", SWIG_PyObj_FromInt((int)wxBACKWARD
));
40996 PyDict_SetItemString(d
,"RESET", SWIG_PyObj_FromInt((int)wxRESET
));
40997 PyDict_SetItemString(d
,"HELP", SWIG_PyObj_FromInt((int)wxHELP
));
40998 PyDict_SetItemString(d
,"MORE", SWIG_PyObj_FromInt((int)wxMORE
));
40999 PyDict_SetItemString(d
,"SETUP", SWIG_PyObj_FromInt((int)wxSETUP
));
41000 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_WIDTH
));
41001 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_HEIGHT
));
41002 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_PyObj_FromInt((int)wxSIZE_AUTO
));
41003 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_PyObj_FromInt((int)wxSIZE_USE_EXISTING
));
41004 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_PyObj_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
41005 PyDict_SetItemString(d
,"PORTRAIT", SWIG_PyObj_FromInt((int)wxPORTRAIT
));
41006 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_PyObj_FromInt((int)wxLANDSCAPE
));
41007 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_HIGH
));
41008 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
41009 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_LOW
));
41010 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_DRAFT
));
41011 PyDict_SetItemString(d
,"ID_ANY", SWIG_PyObj_FromInt((int)wxID_ANY
));
41012 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_PyObj_FromInt((int)wxID_SEPARATOR
));
41013 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_PyObj_FromInt((int)wxID_LOWEST
));
41014 PyDict_SetItemString(d
,"ID_OPEN", SWIG_PyObj_FromInt((int)wxID_OPEN
));
41015 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_PyObj_FromInt((int)wxID_CLOSE
));
41016 PyDict_SetItemString(d
,"ID_NEW", SWIG_PyObj_FromInt((int)wxID_NEW
));
41017 PyDict_SetItemString(d
,"ID_SAVE", SWIG_PyObj_FromInt((int)wxID_SAVE
));
41018 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_PyObj_FromInt((int)wxID_SAVEAS
));
41019 PyDict_SetItemString(d
,"ID_REVERT", SWIG_PyObj_FromInt((int)wxID_REVERT
));
41020 PyDict_SetItemString(d
,"ID_EXIT", SWIG_PyObj_FromInt((int)wxID_EXIT
));
41021 PyDict_SetItemString(d
,"ID_UNDO", SWIG_PyObj_FromInt((int)wxID_UNDO
));
41022 PyDict_SetItemString(d
,"ID_REDO", SWIG_PyObj_FromInt((int)wxID_REDO
));
41023 PyDict_SetItemString(d
,"ID_HELP", SWIG_PyObj_FromInt((int)wxID_HELP
));
41024 PyDict_SetItemString(d
,"ID_PRINT", SWIG_PyObj_FromInt((int)wxID_PRINT
));
41025 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_PyObj_FromInt((int)wxID_PRINT_SETUP
));
41026 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_PyObj_FromInt((int)wxID_PREVIEW
));
41027 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_PyObj_FromInt((int)wxID_ABOUT
));
41028 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_PyObj_FromInt((int)wxID_HELP_CONTENTS
));
41029 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_PyObj_FromInt((int)wxID_HELP_COMMANDS
));
41030 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_PyObj_FromInt((int)wxID_HELP_PROCEDURES
));
41031 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_PyObj_FromInt((int)wxID_HELP_CONTEXT
));
41032 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_PyObj_FromInt((int)wxID_CLOSE_ALL
));
41033 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_PyObj_FromInt((int)wxID_PREFERENCES
));
41034 PyDict_SetItemString(d
,"ID_CUT", SWIG_PyObj_FromInt((int)wxID_CUT
));
41035 PyDict_SetItemString(d
,"ID_COPY", SWIG_PyObj_FromInt((int)wxID_COPY
));
41036 PyDict_SetItemString(d
,"ID_PASTE", SWIG_PyObj_FromInt((int)wxID_PASTE
));
41037 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_PyObj_FromInt((int)wxID_CLEAR
));
41038 PyDict_SetItemString(d
,"ID_FIND", SWIG_PyObj_FromInt((int)wxID_FIND
));
41039 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_PyObj_FromInt((int)wxID_DUPLICATE
));
41040 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_PyObj_FromInt((int)wxID_SELECTALL
));
41041 PyDict_SetItemString(d
,"ID_DELETE", SWIG_PyObj_FromInt((int)wxID_DELETE
));
41042 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_PyObj_FromInt((int)wxID_REPLACE
));
41043 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_PyObj_FromInt((int)wxID_REPLACE_ALL
));
41044 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_PyObj_FromInt((int)wxID_PROPERTIES
));
41045 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_PyObj_FromInt((int)wxID_VIEW_DETAILS
));
41046 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_LARGEICONS
));
41047 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_SMALLICONS
));
41048 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_PyObj_FromInt((int)wxID_VIEW_LIST
));
41049 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTDATE
));
41050 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTNAME
));
41051 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTSIZE
));
41052 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTTYPE
));
41053 PyDict_SetItemString(d
,"ID_FILE1", SWIG_PyObj_FromInt((int)wxID_FILE1
));
41054 PyDict_SetItemString(d
,"ID_FILE2", SWIG_PyObj_FromInt((int)wxID_FILE2
));
41055 PyDict_SetItemString(d
,"ID_FILE3", SWIG_PyObj_FromInt((int)wxID_FILE3
));
41056 PyDict_SetItemString(d
,"ID_FILE4", SWIG_PyObj_FromInt((int)wxID_FILE4
));
41057 PyDict_SetItemString(d
,"ID_FILE5", SWIG_PyObj_FromInt((int)wxID_FILE5
));
41058 PyDict_SetItemString(d
,"ID_FILE6", SWIG_PyObj_FromInt((int)wxID_FILE6
));
41059 PyDict_SetItemString(d
,"ID_FILE7", SWIG_PyObj_FromInt((int)wxID_FILE7
));
41060 PyDict_SetItemString(d
,"ID_FILE8", SWIG_PyObj_FromInt((int)wxID_FILE8
));
41061 PyDict_SetItemString(d
,"ID_FILE9", SWIG_PyObj_FromInt((int)wxID_FILE9
));
41062 PyDict_SetItemString(d
,"ID_OK", SWIG_PyObj_FromInt((int)wxID_OK
));
41063 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_PyObj_FromInt((int)wxID_CANCEL
));
41064 PyDict_SetItemString(d
,"ID_APPLY", SWIG_PyObj_FromInt((int)wxID_APPLY
));
41065 PyDict_SetItemString(d
,"ID_YES", SWIG_PyObj_FromInt((int)wxID_YES
));
41066 PyDict_SetItemString(d
,"ID_NO", SWIG_PyObj_FromInt((int)wxID_NO
));
41067 PyDict_SetItemString(d
,"ID_STATIC", SWIG_PyObj_FromInt((int)wxID_STATIC
));
41068 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_PyObj_FromInt((int)wxID_FORWARD
));
41069 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_PyObj_FromInt((int)wxID_BACKWARD
));
41070 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_PyObj_FromInt((int)wxID_DEFAULT
));
41071 PyDict_SetItemString(d
,"ID_MORE", SWIG_PyObj_FromInt((int)wxID_MORE
));
41072 PyDict_SetItemString(d
,"ID_SETUP", SWIG_PyObj_FromInt((int)wxID_SETUP
));
41073 PyDict_SetItemString(d
,"ID_RESET", SWIG_PyObj_FromInt((int)wxID_RESET
));
41074 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_PyObj_FromInt((int)wxID_CONTEXT_HELP
));
41075 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_PyObj_FromInt((int)wxID_YESTOALL
));
41076 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_PyObj_FromInt((int)wxID_NOTOALL
));
41077 PyDict_SetItemString(d
,"ID_ABORT", SWIG_PyObj_FromInt((int)wxID_ABORT
));
41078 PyDict_SetItemString(d
,"ID_RETRY", SWIG_PyObj_FromInt((int)wxID_RETRY
));
41079 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_PyObj_FromInt((int)wxID_IGNORE
));
41080 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_PyObj_FromInt((int)wxID_HIGHEST
));
41081 PyDict_SetItemString(d
,"OPEN", SWIG_PyObj_FromInt((int)wxOPEN
));
41082 PyDict_SetItemString(d
,"SAVE", SWIG_PyObj_FromInt((int)wxSAVE
));
41083 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_PyObj_FromInt((int)wxHIDE_READONLY
));
41084 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_PyObj_FromInt((int)wxOVERWRITE_PROMPT
));
41085 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_PyObj_FromInt((int)wxFILE_MUST_EXIST
));
41086 PyDict_SetItemString(d
,"MULTIPLE", SWIG_PyObj_FromInt((int)wxMULTIPLE
));
41087 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_PyObj_FromInt((int)wxCHANGE_DIR
));
41088 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_PyObj_FromInt((int)wxACCEL_ALT
));
41089 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_PyObj_FromInt((int)wxACCEL_CTRL
));
41090 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_PyObj_FromInt((int)wxACCEL_SHIFT
));
41091 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_PyObj_FromInt((int)wxACCEL_NORMAL
));
41092 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_PyObj_FromInt((int)wxPD_AUTO_HIDE
));
41093 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_PyObj_FromInt((int)wxPD_APP_MODAL
));
41094 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_PyObj_FromInt((int)wxPD_CAN_ABORT
));
41095 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_PyObj_FromInt((int)wxPD_ELAPSED_TIME
));
41096 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_PyObj_FromInt((int)wxPD_ESTIMATED_TIME
));
41097 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_PyObj_FromInt((int)wxPD_REMAINING_TIME
));
41098 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_PyObj_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41099 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxDD_DEFAULT_STYLE
));
41100 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_PyObj_FromInt((int)wxMENU_TEAROFF
));
41101 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_PyObj_FromInt((int)wxMB_DOCKABLE
));
41102 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41103 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41104 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLI_HORIZONTAL
));
41105 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_PyObj_FromInt((int)wxLI_VERTICAL
));
41106 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_PyObj_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41107 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_PyObj_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41108 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_PyObj_FromInt((int)wxWS_EX_TRANSIENT
));
41109 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_PyObj_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41110 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41111 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41112 PyDict_SetItemString(d
,"MM_TEXT", SWIG_PyObj_FromInt((int)wxMM_TEXT
));
41113 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_PyObj_FromInt((int)wxMM_LOMETRIC
));
41114 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_PyObj_FromInt((int)wxMM_HIMETRIC
));
41115 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_PyObj_FromInt((int)wxMM_LOENGLISH
));
41116 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_PyObj_FromInt((int)wxMM_HIENGLISH
));
41117 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_PyObj_FromInt((int)wxMM_TWIPS
));
41118 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ISOTROPIC
));
41119 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ANISOTROPIC
));
41120 PyDict_SetItemString(d
,"MM_POINTS", SWIG_PyObj_FromInt((int)wxMM_POINTS
));
41121 PyDict_SetItemString(d
,"MM_METRIC", SWIG_PyObj_FromInt((int)wxMM_METRIC
));
41122 PyDict_SetItemString(d
,"CENTRE", SWIG_PyObj_FromInt((int)wxCENTRE
));
41123 PyDict_SetItemString(d
,"CENTER", SWIG_PyObj_FromInt((int)wxCENTER
));
41124 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_PyObj_FromInt((int)wxHORIZONTAL
));
41125 PyDict_SetItemString(d
,"VERTICAL", SWIG_PyObj_FromInt((int)wxVERTICAL
));
41126 PyDict_SetItemString(d
,"BOTH", SWIG_PyObj_FromInt((int)wxBOTH
));
41127 PyDict_SetItemString(d
,"LEFT", SWIG_PyObj_FromInt((int)wxLEFT
));
41128 PyDict_SetItemString(d
,"RIGHT", SWIG_PyObj_FromInt((int)wxRIGHT
));
41129 PyDict_SetItemString(d
,"UP", SWIG_PyObj_FromInt((int)wxUP
));
41130 PyDict_SetItemString(d
,"DOWN", SWIG_PyObj_FromInt((int)wxDOWN
));
41131 PyDict_SetItemString(d
,"TOP", SWIG_PyObj_FromInt((int)wxTOP
));
41132 PyDict_SetItemString(d
,"BOTTOM", SWIG_PyObj_FromInt((int)wxBOTTOM
));
41133 PyDict_SetItemString(d
,"NORTH", SWIG_PyObj_FromInt((int)wxNORTH
));
41134 PyDict_SetItemString(d
,"SOUTH", SWIG_PyObj_FromInt((int)wxSOUTH
));
41135 PyDict_SetItemString(d
,"WEST", SWIG_PyObj_FromInt((int)wxWEST
));
41136 PyDict_SetItemString(d
,"EAST", SWIG_PyObj_FromInt((int)wxEAST
));
41137 PyDict_SetItemString(d
,"ALL", SWIG_PyObj_FromInt((int)wxALL
));
41138 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_PyObj_FromInt((int)wxALIGN_NOT
));
41139 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41140 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41141 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxALIGN_LEFT
));
41142 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_PyObj_FromInt((int)wxALIGN_TOP
));
41143 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxALIGN_RIGHT
));
41144 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxALIGN_BOTTOM
));
41145 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41146 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41147 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxALIGN_CENTER
));
41148 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE
));
41149 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_PyObj_FromInt((int)wxALIGN_MASK
));
41150 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_PyObj_FromInt((int)wxSTRETCH_NOT
));
41151 PyDict_SetItemString(d
,"SHRINK", SWIG_PyObj_FromInt((int)wxSHRINK
));
41152 PyDict_SetItemString(d
,"GROW", SWIG_PyObj_FromInt((int)wxGROW
));
41153 PyDict_SetItemString(d
,"EXPAND", SWIG_PyObj_FromInt((int)wxEXPAND
));
41154 PyDict_SetItemString(d
,"SHAPED", SWIG_PyObj_FromInt((int)wxSHAPED
));
41155 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_PyObj_FromInt((int)wxADJUST_MINSIZE
));
41156 PyDict_SetItemString(d
,"TILE", SWIG_PyObj_FromInt((int)wxTILE
));
41157 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_PyObj_FromInt((int)wxBORDER_DEFAULT
));
41158 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_PyObj_FromInt((int)wxBORDER_NONE
));
41159 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_PyObj_FromInt((int)wxBORDER_STATIC
));
41160 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_PyObj_FromInt((int)wxBORDER_SIMPLE
));
41161 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_PyObj_FromInt((int)wxBORDER_RAISED
));
41162 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_PyObj_FromInt((int)wxBORDER_SUNKEN
));
41163 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_PyObj_FromInt((int)wxBORDER_DOUBLE
));
41164 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_PyObj_FromInt((int)wxBORDER_MASK
));
41165 PyDict_SetItemString(d
,"DEFAULT", SWIG_PyObj_FromInt((int)wxDEFAULT
));
41166 PyDict_SetItemString(d
,"DECORATIVE", SWIG_PyObj_FromInt((int)wxDECORATIVE
));
41167 PyDict_SetItemString(d
,"ROMAN", SWIG_PyObj_FromInt((int)wxROMAN
));
41168 PyDict_SetItemString(d
,"SCRIPT", SWIG_PyObj_FromInt((int)wxSCRIPT
));
41169 PyDict_SetItemString(d
,"SWISS", SWIG_PyObj_FromInt((int)wxSWISS
));
41170 PyDict_SetItemString(d
,"MODERN", SWIG_PyObj_FromInt((int)wxMODERN
));
41171 PyDict_SetItemString(d
,"TELETYPE", SWIG_PyObj_FromInt((int)wxTELETYPE
));
41172 PyDict_SetItemString(d
,"VARIABLE", SWIG_PyObj_FromInt((int)wxVARIABLE
));
41173 PyDict_SetItemString(d
,"FIXED", SWIG_PyObj_FromInt((int)wxFIXED
));
41174 PyDict_SetItemString(d
,"NORMAL", SWIG_PyObj_FromInt((int)wxNORMAL
));
41175 PyDict_SetItemString(d
,"LIGHT", SWIG_PyObj_FromInt((int)wxLIGHT
));
41176 PyDict_SetItemString(d
,"BOLD", SWIG_PyObj_FromInt((int)wxBOLD
));
41177 PyDict_SetItemString(d
,"ITALIC", SWIG_PyObj_FromInt((int)wxITALIC
));
41178 PyDict_SetItemString(d
,"SLANT", SWIG_PyObj_FromInt((int)wxSLANT
));
41179 PyDict_SetItemString(d
,"SOLID", SWIG_PyObj_FromInt((int)wxSOLID
));
41180 PyDict_SetItemString(d
,"DOT", SWIG_PyObj_FromInt((int)wxDOT
));
41181 PyDict_SetItemString(d
,"LONG_DASH", SWIG_PyObj_FromInt((int)wxLONG_DASH
));
41182 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_PyObj_FromInt((int)wxSHORT_DASH
));
41183 PyDict_SetItemString(d
,"DOT_DASH", SWIG_PyObj_FromInt((int)wxDOT_DASH
));
41184 PyDict_SetItemString(d
,"USER_DASH", SWIG_PyObj_FromInt((int)wxUSER_DASH
));
41185 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_PyObj_FromInt((int)wxTRANSPARENT
));
41186 PyDict_SetItemString(d
,"STIPPLE", SWIG_PyObj_FromInt((int)wxSTIPPLE
));
41187 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxBDIAGONAL_HATCH
));
41188 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_PyObj_FromInt((int)wxCROSSDIAG_HATCH
));
41189 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxFDIAGONAL_HATCH
));
41190 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_PyObj_FromInt((int)wxCROSS_HATCH
));
41191 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_PyObj_FromInt((int)wxHORIZONTAL_HATCH
));
41192 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_PyObj_FromInt((int)wxVERTICAL_HATCH
));
41193 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_PyObj_FromInt((int)wxJOIN_BEVEL
));
41194 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_PyObj_FromInt((int)wxJOIN_MITER
));
41195 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_PyObj_FromInt((int)wxJOIN_ROUND
));
41196 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_PyObj_FromInt((int)wxCAP_ROUND
));
41197 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_PyObj_FromInt((int)wxCAP_PROJECTING
));
41198 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_PyObj_FromInt((int)wxCAP_BUTT
));
41199 PyDict_SetItemString(d
,"CLEAR", SWIG_PyObj_FromInt((int)wxCLEAR
));
41200 PyDict_SetItemString(d
,"XOR", SWIG_PyObj_FromInt((int)wxXOR
));
41201 PyDict_SetItemString(d
,"INVERT", SWIG_PyObj_FromInt((int)wxINVERT
));
41202 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_PyObj_FromInt((int)wxOR_REVERSE
));
41203 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_PyObj_FromInt((int)wxAND_REVERSE
));
41204 PyDict_SetItemString(d
,"COPY", SWIG_PyObj_FromInt((int)wxCOPY
));
41205 PyDict_SetItemString(d
,"AND", SWIG_PyObj_FromInt((int)wxAND
));
41206 PyDict_SetItemString(d
,"AND_INVERT", SWIG_PyObj_FromInt((int)wxAND_INVERT
));
41207 PyDict_SetItemString(d
,"NO_OP", SWIG_PyObj_FromInt((int)wxNO_OP
));
41208 PyDict_SetItemString(d
,"NOR", SWIG_PyObj_FromInt((int)wxNOR
));
41209 PyDict_SetItemString(d
,"EQUIV", SWIG_PyObj_FromInt((int)wxEQUIV
));
41210 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_PyObj_FromInt((int)wxSRC_INVERT
));
41211 PyDict_SetItemString(d
,"OR_INVERT", SWIG_PyObj_FromInt((int)wxOR_INVERT
));
41212 PyDict_SetItemString(d
,"NAND", SWIG_PyObj_FromInt((int)wxNAND
));
41213 PyDict_SetItemString(d
,"OR", SWIG_PyObj_FromInt((int)wxOR
));
41214 PyDict_SetItemString(d
,"SET", SWIG_PyObj_FromInt((int)wxSET
));
41215 PyDict_SetItemString(d
,"WXK_BACK", SWIG_PyObj_FromInt((int)WXK_BACK
));
41216 PyDict_SetItemString(d
,"WXK_TAB", SWIG_PyObj_FromInt((int)WXK_TAB
));
41217 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_PyObj_FromInt((int)WXK_RETURN
));
41218 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_PyObj_FromInt((int)WXK_ESCAPE
));
41219 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_PyObj_FromInt((int)WXK_SPACE
));
41220 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_PyObj_FromInt((int)WXK_DELETE
));
41221 PyDict_SetItemString(d
,"WXK_START", SWIG_PyObj_FromInt((int)WXK_START
));
41222 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_PyObj_FromInt((int)WXK_LBUTTON
));
41223 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_PyObj_FromInt((int)WXK_RBUTTON
));
41224 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_PyObj_FromInt((int)WXK_CANCEL
));
41225 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_PyObj_FromInt((int)WXK_MBUTTON
));
41226 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_PyObj_FromInt((int)WXK_CLEAR
));
41227 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_PyObj_FromInt((int)WXK_SHIFT
));
41228 PyDict_SetItemString(d
,"WXK_ALT", SWIG_PyObj_FromInt((int)WXK_ALT
));
41229 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_PyObj_FromInt((int)WXK_CONTROL
));
41230 PyDict_SetItemString(d
,"WXK_MENU", SWIG_PyObj_FromInt((int)WXK_MENU
));
41231 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_PyObj_FromInt((int)WXK_PAUSE
));
41232 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_PyObj_FromInt((int)WXK_CAPITAL
));
41233 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_PyObj_FromInt((int)WXK_PRIOR
));
41234 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_PyObj_FromInt((int)WXK_NEXT
));
41235 PyDict_SetItemString(d
,"WXK_END", SWIG_PyObj_FromInt((int)WXK_END
));
41236 PyDict_SetItemString(d
,"WXK_HOME", SWIG_PyObj_FromInt((int)WXK_HOME
));
41237 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_PyObj_FromInt((int)WXK_LEFT
));
41238 PyDict_SetItemString(d
,"WXK_UP", SWIG_PyObj_FromInt((int)WXK_UP
));
41239 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_PyObj_FromInt((int)WXK_RIGHT
));
41240 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_PyObj_FromInt((int)WXK_DOWN
));
41241 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_PyObj_FromInt((int)WXK_SELECT
));
41242 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_PyObj_FromInt((int)WXK_PRINT
));
41243 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_PyObj_FromInt((int)WXK_EXECUTE
));
41244 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_PyObj_FromInt((int)WXK_SNAPSHOT
));
41245 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_PyObj_FromInt((int)WXK_INSERT
));
41246 PyDict_SetItemString(d
,"WXK_HELP", SWIG_PyObj_FromInt((int)WXK_HELP
));
41247 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_PyObj_FromInt((int)WXK_NUMPAD0
));
41248 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_PyObj_FromInt((int)WXK_NUMPAD1
));
41249 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_PyObj_FromInt((int)WXK_NUMPAD2
));
41250 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_PyObj_FromInt((int)WXK_NUMPAD3
));
41251 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_PyObj_FromInt((int)WXK_NUMPAD4
));
41252 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_PyObj_FromInt((int)WXK_NUMPAD5
));
41253 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_PyObj_FromInt((int)WXK_NUMPAD6
));
41254 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_PyObj_FromInt((int)WXK_NUMPAD7
));
41255 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_PyObj_FromInt((int)WXK_NUMPAD8
));
41256 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_PyObj_FromInt((int)WXK_NUMPAD9
));
41257 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_MULTIPLY
));
41258 PyDict_SetItemString(d
,"WXK_ADD", SWIG_PyObj_FromInt((int)WXK_ADD
));
41259 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_SEPARATOR
));
41260 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_SUBTRACT
));
41261 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_PyObj_FromInt((int)WXK_DECIMAL
));
41262 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_PyObj_FromInt((int)WXK_DIVIDE
));
41263 PyDict_SetItemString(d
,"WXK_F1", SWIG_PyObj_FromInt((int)WXK_F1
));
41264 PyDict_SetItemString(d
,"WXK_F2", SWIG_PyObj_FromInt((int)WXK_F2
));
41265 PyDict_SetItemString(d
,"WXK_F3", SWIG_PyObj_FromInt((int)WXK_F3
));
41266 PyDict_SetItemString(d
,"WXK_F4", SWIG_PyObj_FromInt((int)WXK_F4
));
41267 PyDict_SetItemString(d
,"WXK_F5", SWIG_PyObj_FromInt((int)WXK_F5
));
41268 PyDict_SetItemString(d
,"WXK_F6", SWIG_PyObj_FromInt((int)WXK_F6
));
41269 PyDict_SetItemString(d
,"WXK_F7", SWIG_PyObj_FromInt((int)WXK_F7
));
41270 PyDict_SetItemString(d
,"WXK_F8", SWIG_PyObj_FromInt((int)WXK_F8
));
41271 PyDict_SetItemString(d
,"WXK_F9", SWIG_PyObj_FromInt((int)WXK_F9
));
41272 PyDict_SetItemString(d
,"WXK_F10", SWIG_PyObj_FromInt((int)WXK_F10
));
41273 PyDict_SetItemString(d
,"WXK_F11", SWIG_PyObj_FromInt((int)WXK_F11
));
41274 PyDict_SetItemString(d
,"WXK_F12", SWIG_PyObj_FromInt((int)WXK_F12
));
41275 PyDict_SetItemString(d
,"WXK_F13", SWIG_PyObj_FromInt((int)WXK_F13
));
41276 PyDict_SetItemString(d
,"WXK_F14", SWIG_PyObj_FromInt((int)WXK_F14
));
41277 PyDict_SetItemString(d
,"WXK_F15", SWIG_PyObj_FromInt((int)WXK_F15
));
41278 PyDict_SetItemString(d
,"WXK_F16", SWIG_PyObj_FromInt((int)WXK_F16
));
41279 PyDict_SetItemString(d
,"WXK_F17", SWIG_PyObj_FromInt((int)WXK_F17
));
41280 PyDict_SetItemString(d
,"WXK_F18", SWIG_PyObj_FromInt((int)WXK_F18
));
41281 PyDict_SetItemString(d
,"WXK_F19", SWIG_PyObj_FromInt((int)WXK_F19
));
41282 PyDict_SetItemString(d
,"WXK_F20", SWIG_PyObj_FromInt((int)WXK_F20
));
41283 PyDict_SetItemString(d
,"WXK_F21", SWIG_PyObj_FromInt((int)WXK_F21
));
41284 PyDict_SetItemString(d
,"WXK_F22", SWIG_PyObj_FromInt((int)WXK_F22
));
41285 PyDict_SetItemString(d
,"WXK_F23", SWIG_PyObj_FromInt((int)WXK_F23
));
41286 PyDict_SetItemString(d
,"WXK_F24", SWIG_PyObj_FromInt((int)WXK_F24
));
41287 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_PyObj_FromInt((int)WXK_NUMLOCK
));
41288 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_PyObj_FromInt((int)WXK_SCROLL
));
41289 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_PyObj_FromInt((int)WXK_PAGEUP
));
41290 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_PAGEDOWN
));
41291 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SPACE
));
41292 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_PyObj_FromInt((int)WXK_NUMPAD_TAB
));
41293 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ENTER
));
41294 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F1
));
41295 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F2
));
41296 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F3
));
41297 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F4
));
41298 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_PyObj_FromInt((int)WXK_NUMPAD_HOME
));
41299 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_LEFT
));
41300 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_UP
));
41301 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_RIGHT
));
41302 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DOWN
));
41303 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PRIOR
));
41304 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEUP
));
41305 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_NEXT
));
41306 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41307 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_PyObj_FromInt((int)WXK_NUMPAD_END
));
41308 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_BEGIN
));
41309 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_INSERT
));
41310 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DELETE
));
41311 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_EQUAL
));
41312 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41313 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ADD
));
41314 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41315 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41316 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DECIMAL
));
41317 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DIVIDE
));
41318 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_LEFT
));
41319 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_RIGHT
));
41320 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_PyObj_FromInt((int)WXK_WINDOWS_MENU
));
41321 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_PyObj_FromInt((int)wxPAPER_NONE
));
41322 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_PyObj_FromInt((int)wxPAPER_LETTER
));
41323 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL
));
41324 PyDict_SetItemString(d
,"PAPER_A4", SWIG_PyObj_FromInt((int)wxPAPER_A4
));
41325 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_PyObj_FromInt((int)wxPAPER_CSHEET
));
41326 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_PyObj_FromInt((int)wxPAPER_DSHEET
));
41327 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_PyObj_FromInt((int)wxPAPER_ESHEET
));
41328 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_PyObj_FromInt((int)wxPAPER_LETTERSMALL
));
41329 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID
));
41330 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_PyObj_FromInt((int)wxPAPER_LEDGER
));
41331 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_PyObj_FromInt((int)wxPAPER_STATEMENT
));
41332 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_PyObj_FromInt((int)wxPAPER_EXECUTIVE
));
41333 PyDict_SetItemString(d
,"PAPER_A3", SWIG_PyObj_FromInt((int)wxPAPER_A3
));
41334 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_PyObj_FromInt((int)wxPAPER_A4SMALL
));
41335 PyDict_SetItemString(d
,"PAPER_A5", SWIG_PyObj_FromInt((int)wxPAPER_A5
));
41336 PyDict_SetItemString(d
,"PAPER_B4", SWIG_PyObj_FromInt((int)wxPAPER_B4
));
41337 PyDict_SetItemString(d
,"PAPER_B5", SWIG_PyObj_FromInt((int)wxPAPER_B5
));
41338 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_PyObj_FromInt((int)wxPAPER_FOLIO
));
41339 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_PyObj_FromInt((int)wxPAPER_QUARTO
));
41340 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_PyObj_FromInt((int)wxPAPER_10X14
));
41341 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_PyObj_FromInt((int)wxPAPER_11X17
));
41342 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_PyObj_FromInt((int)wxPAPER_NOTE
));
41343 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_PyObj_FromInt((int)wxPAPER_ENV_9
));
41344 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_PyObj_FromInt((int)wxPAPER_ENV_10
));
41345 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_PyObj_FromInt((int)wxPAPER_ENV_11
));
41346 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_PyObj_FromInt((int)wxPAPER_ENV_12
));
41347 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_PyObj_FromInt((int)wxPAPER_ENV_14
));
41348 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_DL
));
41349 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C5
));
41350 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C3
));
41351 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C4
));
41352 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C6
));
41353 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C65
));
41354 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B4
));
41355 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B5
));
41356 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B6
));
41357 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_PyObj_FromInt((int)wxPAPER_ENV_ITALY
));
41358 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_PyObj_FromInt((int)wxPAPER_ENV_MONARCH
));
41359 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_PERSONAL
));
41360 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_US
));
41361 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41362 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41363 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_PyObj_FromInt((int)wxPAPER_ISO_B4
));
41364 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_PyObj_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41365 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_PyObj_FromInt((int)wxPAPER_9X11
));
41366 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_PyObj_FromInt((int)wxPAPER_10X11
));
41367 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_PyObj_FromInt((int)wxPAPER_15X11
));
41368 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_PyObj_FromInt((int)wxPAPER_ENV_INVITE
));
41369 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA
));
41370 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41371 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41372 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A4_EXTRA
));
41373 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41374 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41375 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41376 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A_PLUS
));
41377 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_B_PLUS
));
41378 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_PLUS
));
41379 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A4_PLUS
));
41380 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41381 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41382 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA
));
41383 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A5_EXTRA
));
41384 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_B5_EXTRA
));
41385 PyDict_SetItemString(d
,"PAPER_A2", SWIG_PyObj_FromInt((int)wxPAPER_A2
));
41386 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41387 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41388 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_PyObj_FromInt((int)wxDUPLEX_SIMPLEX
));
41389 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_PyObj_FromInt((int)wxDUPLEX_HORIZONTAL
));
41390 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_PyObj_FromInt((int)wxDUPLEX_VERTICAL
));
41391 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_PyObj_FromInt((int)wxITEM_SEPARATOR
));
41392 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_PyObj_FromInt((int)wxITEM_NORMAL
));
41393 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_PyObj_FromInt((int)wxITEM_CHECK
));
41394 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_PyObj_FromInt((int)wxITEM_RADIO
));
41395 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_PyObj_FromInt((int)wxITEM_MAX
));
41396 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_PyObj_FromInt((int)wxHT_NOWHERE
));
41397 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41398 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41399 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41400 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41401 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41402 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41403 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41404 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41405 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_LAST
));
41406 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41407 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_INSIDE
));
41408 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41409 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41410 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_PyObj_FromInt((int)wxHT_WINDOW_CORNER
));
41411 PyDict_SetItemString(d
,"HT_MAX", SWIG_PyObj_FromInt((int)wxHT_MAX
));
41412 PyDict_SetItemString(d
,"MOD_NONE", SWIG_PyObj_FromInt((int)wxMOD_NONE
));
41413 PyDict_SetItemString(d
,"MOD_ALT", SWIG_PyObj_FromInt((int)wxMOD_ALT
));
41414 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_PyObj_FromInt((int)wxMOD_CONTROL
));
41415 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_PyObj_FromInt((int)wxMOD_SHIFT
));
41416 PyDict_SetItemString(d
,"MOD_WIN", SWIG_PyObj_FromInt((int)wxMOD_WIN
));
41417 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_NONE
));
41418 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_RECURSE
));
41419 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41420 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41421 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41422 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_INVALID
));
41423 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_BMP
));
41424 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICO
));
41425 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_CUR
));
41426 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM
));
41427 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41428 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM
));
41429 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41430 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_TIF
));
41431 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_GIF
));
41432 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNG
));
41433 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_JPEG
));
41434 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNM
));
41435 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PCX
));
41436 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PICT
));
41437 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICON
));
41438 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANI
));
41439 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_IFF
));
41440 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41441 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANY
));
41442 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_PyObj_FromInt((int)wxCURSOR_NONE
));
41443 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_ARROW
));
41444 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41445 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_PyObj_FromInt((int)wxCURSOR_BULLSEYE
));
41446 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_PyObj_FromInt((int)wxCURSOR_CHAR
));
41447 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_PyObj_FromInt((int)wxCURSOR_CROSS
));
41448 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_PyObj_FromInt((int)wxCURSOR_HAND
));
41449 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_PyObj_FromInt((int)wxCURSOR_IBEAM
));
41450 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41451 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_PyObj_FromInt((int)wxCURSOR_MAGNIFIER
));
41452 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41453 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_PyObj_FromInt((int)wxCURSOR_NO_ENTRY
));
41454 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_PyObj_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41455 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_PyObj_FromInt((int)wxCURSOR_PENCIL
));
41456 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_LEFT
));
41457 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_RIGHT
));
41458 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41459 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41460 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENESW
));
41461 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENS
));
41462 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENWSE
));
41463 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZEWE
));
41464 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_PyObj_FromInt((int)wxCURSOR_SIZING
));
41465 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_PyObj_FromInt((int)wxCURSOR_SPRAYCAN
));
41466 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_PyObj_FromInt((int)wxCURSOR_WAIT
));
41467 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_PyObj_FromInt((int)wxCURSOR_WATCH
));
41468 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_PyObj_FromInt((int)wxCURSOR_BLANK
));
41469 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_PyObj_FromInt((int)wxCURSOR_DEFAULT
));
41470 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_COPY_ARROW
));
41471 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_PyObj_FromInt((int)wxCURSOR_ARROWWAIT
));
41472 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_PyObj_FromInt((int)wxCURSOR_MAX
));
41473 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41474 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41475 PyDict_SetItemString(d
,"FromStart", SWIG_PyObj_FromInt((int)wxFromStart
));
41476 PyDict_SetItemString(d
,"FromCurrent", SWIG_PyObj_FromInt((int)wxFromCurrent
));
41477 PyDict_SetItemString(d
,"FromEnd", SWIG_PyObj_FromInt((int)wxFromEnd
));
41479 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41482 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41484 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41485 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41486 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41487 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41488 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41489 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41490 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41491 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41492 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_PyObj_FromInt((int)wxBMP_24BPP
));
41493 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_PyObj_FromInt((int)wxBMP_8BPP
));
41494 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GREY
));
41495 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GRAY
));
41496 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_PyObj_FromInt((int)wxBMP_8BPP_RED
));
41497 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_PyObj_FromInt((int)wxBMP_8BPP_PALETTE
));
41498 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_PyObj_FromInt((int)wxBMP_4BPP
));
41499 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_PyObj_FromInt((int)wxBMP_1BPP
));
41500 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_PyObj_FromInt((int)wxBMP_1BPP_BW
));
41501 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41502 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41503 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41504 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41505 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41506 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41507 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41508 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41510 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41511 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41512 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41513 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41514 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41515 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41516 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41517 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41518 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41519 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41520 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41521 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41522 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41523 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41524 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41525 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41526 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41527 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41528 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41529 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41530 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41531 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41532 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41533 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41534 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41535 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41536 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41537 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41538 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41539 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41540 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41541 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41542 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41543 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41544 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41545 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41546 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41547 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41548 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41549 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41550 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41551 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41552 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41553 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41554 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41555 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41556 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41557 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41558 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41559 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41560 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41561 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41562 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41563 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41564 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41565 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41566 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41567 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41568 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41569 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41570 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41571 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41572 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41573 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41574 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41575 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41576 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41577 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41578 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41579 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41580 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41581 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41582 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41583 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41584 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41585 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41586 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41587 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41588 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41589 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41590 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41591 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41592 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41593 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41594 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41595 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41596 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41597 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41598 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41599 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41600 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41601 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41602 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41603 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41604 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41605 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41606 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41607 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41608 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41609 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41610 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41611 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41612 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41613 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41614 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41615 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41616 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41617 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_ANY
));
41618 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_NONE
));
41619 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_LEFT
));
41620 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41621 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_RIGHT
));
41622 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41623 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41624 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_ALL
));
41625 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41626 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41627 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41628 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41629 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_LOG
));
41630 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_PyObj_FromInt((int)wxPRINT_WINDOWS
));
41631 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_PyObj_FromInt((int)wxPRINT_POSTSCRIPT
));
41632 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41633 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41634 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41635 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41636 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_NONE
));
41637 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41638 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_ALL
));
41639 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41640 PyDict_SetItemString(d
,"Left", SWIG_PyObj_FromInt((int)wxLeft
));
41641 PyDict_SetItemString(d
,"Top", SWIG_PyObj_FromInt((int)wxTop
));
41642 PyDict_SetItemString(d
,"Right", SWIG_PyObj_FromInt((int)wxRight
));
41643 PyDict_SetItemString(d
,"Bottom", SWIG_PyObj_FromInt((int)wxBottom
));
41644 PyDict_SetItemString(d
,"Width", SWIG_PyObj_FromInt((int)wxWidth
));
41645 PyDict_SetItemString(d
,"Height", SWIG_PyObj_FromInt((int)wxHeight
));
41646 PyDict_SetItemString(d
,"Centre", SWIG_PyObj_FromInt((int)wxCentre
));
41647 PyDict_SetItemString(d
,"Center", SWIG_PyObj_FromInt((int)wxCenter
));
41648 PyDict_SetItemString(d
,"CentreX", SWIG_PyObj_FromInt((int)wxCentreX
));
41649 PyDict_SetItemString(d
,"CentreY", SWIG_PyObj_FromInt((int)wxCentreY
));
41650 PyDict_SetItemString(d
,"Unconstrained", SWIG_PyObj_FromInt((int)wxUnconstrained
));
41651 PyDict_SetItemString(d
,"AsIs", SWIG_PyObj_FromInt((int)wxAsIs
));
41652 PyDict_SetItemString(d
,"PercentOf", SWIG_PyObj_FromInt((int)wxPercentOf
));
41653 PyDict_SetItemString(d
,"Above", SWIG_PyObj_FromInt((int)wxAbove
));
41654 PyDict_SetItemString(d
,"Below", SWIG_PyObj_FromInt((int)wxBelow
));
41655 PyDict_SetItemString(d
,"LeftOf", SWIG_PyObj_FromInt((int)wxLeftOf
));
41656 PyDict_SetItemString(d
,"RightOf", SWIG_PyObj_FromInt((int)wxRightOf
));
41657 PyDict_SetItemString(d
,"SameAs", SWIG_PyObj_FromInt((int)wxSameAs
));
41658 PyDict_SetItemString(d
,"Absolute", SWIG_PyObj_FromInt((int)wxAbsolute
));
41660 // Initialize threading, some globals and such
41664 // Although these are defined in __version__ they need to be here too so
41665 // that an assert can be done to ensure that the wxPython and the wxWindows
41667 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41668 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41669 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));