1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxMetaFile swig_types[51]
261 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
262 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
263 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
264 static swig_type_info
*swig_types
[56];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_gdi_
274 #define SWIG_name "_gdi_"
276 /* Auxiliar swig macros */
279 #define SWIGSTATICINLINE(a) static inline a
280 #define SWIGSTATIC(a) static a
281 #define swig_new_array(type, size) (new type[(size)])
282 #define swig_delete_array(cptr) delete[] cptr
283 #define swig_const_cast(type,a) const_cast<type>(a)
284 #define swig_static_cast(type,a) static_cast<type>(a)
285 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
287 #ifdef HAVE_NUMERIC_CAST
288 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
290 #define swig_numeric_cast(type,a) static_cast<type>(a)
295 #define SWIGSTATICINLINE(a) static a
296 #define SWIGSTATIC(a) static a
297 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
298 #define swig_delete_array(cptr) free((char*)cptr)
299 #define swig_const_cast(type,a) (type)(a)
300 #define swig_static_cast(type,a) (type)(a)
301 #define swig_reinterpret_cast(type,a) (type)(a)
302 #define swig_numeric_cast(type,a) (type)(a)
304 #endif /* __cplusplus */
307 #define SWIG_FromSignedChar PyInt_FromLong
308 #define SWIG_FromUnsignedChar PyInt_FromLong
309 #define SWIG_FromShort PyInt_FromLong
310 #define SWIG_FromUnsignedShort PyInt_FromLong
311 #define SWIG_FromInt PyInt_FromLong
312 #define SWIG_FromLong PyInt_FromLong
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315 #define SWIG_FromFloat PyFloat_FromDouble
316 #define SWIG_FromDouble PyFloat_FromDouble
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
323 static const wxString
wxPyEmptyString(wxEmptyString
);
325 SWIGSTATICINLINE(bool)
326 SWIG_AsBool(PyObject
*obj
)
328 return PyObject_IsTrue(obj
) ? true : false;
332 SWIGSTATICINLINE(int)
333 SWIG_CheckBool(PyObject
* obj
)
336 if (PyErr_Occurred()) {
348 SWIGSTATICINLINE(unsigned long)
349 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
350 unsigned long max_value
)
352 if (!PyErr_Occurred()) {
353 if (value
> max_value
) {
355 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
356 value
, type
, max_value
);
357 PyErr_SetObject(PyExc_OverflowError
, err
);
365 SWIGSTATICINLINE(long)
366 SWIG_AsLong(PyObject
* obj
)
368 if (PyNumber_Check(obj
))
369 return PyInt_AsLong(obj
);
371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
372 obj
->ob_type
->tp_name
);
373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
380 SWIGSTATICINLINE(unsigned long)
381 SWIG_AsUnsignedLong(PyObject
* obj
)
383 if (PyLong_Check(obj
)) {
384 return PyLong_AsUnsignedLong(obj
);
386 long i
= SWIG_AsLong(obj
);
387 if ( !PyErr_Occurred() && (i
< 0)) {
388 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
395 SWIGSTATICINLINE(unsigned char)
396 SWIG_AsUnsignedChar(PyObject
*obj
)
398 return swig_numeric_cast(unsigned char,
399 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
400 "unsigned char", UCHAR_MAX
));
404 SWIGSTATICINLINE(int)
405 SWIG_CheckUnsignedChar(PyObject
* obj
)
407 SWIG_AsUnsignedChar(obj
);
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckUnsignedLong(PyObject
* obj
)
420 SWIG_AsUnsignedLong(obj
);
421 if (PyErr_Occurred()) {
429 PyObject
*wxColour_Get(wxColour
*self
){
430 PyObject
* rv
= PyTuple_New(3);
436 green
= self
->Green();
439 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
440 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
441 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
444 unsigned long wxColour_GetRGB(wxColour
*self
){
445 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
448 SWIGSTATICINLINE(PyObject
* )
449 SWIG_FromUnsignedLong(unsigned long value
)
451 return (value
> LONG_MAX
) ?
452 PyLong_FromUnsignedLong(value
)
453 : PyInt_FromLong(swig_numeric_cast(long,value
));
457 SWIGSTATICINLINE(long)
458 SWIG_CheckLongInRange(long value
, const char* type
,
459 long min_value
, long max_value
)
461 if (!PyErr_Occurred()) {
462 if (value
< min_value
) {
464 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
465 value
, type
, min_value
);
467 PyErr_SetObject(PyExc_OverflowError
, err
);
469 } else if (value
> max_value
) {
471 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
472 value
, type
, max_value
);
473 PyErr_SetObject(PyExc_OverflowError
, err
);
481 #if INT_MAX != LONG_MAX
482 SWIGSTATICINLINE(int)
483 SWIG_AsInt(PyObject
*obj
)
485 return swig_numeric_cast(int,
486 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
487 "int", INT_MIN
, INT_MAX
));
490 #define SWIG_AsInt SWIG_AsLong
494 SWIGSTATICINLINE(int)
495 SWIG_CheckInt(PyObject
* obj
)
498 if (PyErr_Occurred()) {
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
533 PyObject
*wxPen_GetDashes(wxPen
*self
){
535 int count
= self
->GetDashes(&dashes
);
536 bool blocked
= wxPyBeginBlockThreads();
537 PyObject
* retval
= PyList_New(0);
538 for (int x
=0; x
<count
; x
++)
539 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
540 wxPyEndBlockThreads(blocked
);
543 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
544 bool blocked
= wxPyBeginBlockThreads();
545 int size
= PyList_Size(pyDashes
);
546 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
548 // black magic warning! The array of wxDashes needs to exist as
549 // long as the pen does because wxPen does not copy the array. So
550 // stick a copy in a Python string object and attach it to _self,
551 // and then call SetDashes with a pointer to that array. Then
552 // when the Python pen object is destroyed the array will be
554 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
555 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
557 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
559 Py_DECREF(strDashes
);
560 wxPyEndBlockThreads(blocked
);
562 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
563 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
565 #include <wx/image.h>
567 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
568 char** cArray
= NULL
;
571 if (!PyList_Check(listOfStrings
)) {
572 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
575 count
= PyList_Size(listOfStrings
);
576 cArray
= new char*[count
];
578 for(int x
=0; x
<count
; x
++) {
579 // TODO: Need some validation and error checking here
580 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
586 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
587 char** cArray
= NULL
;
590 cArray
= ConvertListOfStrings(listOfStrings
);
593 bmp
= new wxBitmap(cArray
);
597 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
600 PyString_AsStringAndSize(bits
, &buf
, &length
);
601 return new wxBitmap(buf
, width
, height
, depth
);
603 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
604 wxSize
size(self
->GetWidth(), self
->GetHeight());
607 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
608 wxMask
*mask
= new wxMask(*self
, colour
);
611 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
612 self
->SetWidth(size
.x
);
613 self
->SetHeight(size
.y
);
615 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
616 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
617 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
619 return new wxMask(bitmap
, *wxBLACK
);
621 return new wxMask(bitmap
, colour
);
624 #include <wx/iconbndl.h>
626 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
627 wxIcon
* icon
= new wxIcon();
628 icon
->CopyFromBitmap(bmp
);
631 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
632 char** cArray
= NULL
;
635 cArray
= ConvertListOfStrings(listOfStrings
);
638 icon
= new wxIcon(cArray
);
642 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
646 return new wxIconLocation(*filename
);
649 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
656 int wxIconLocation_GetIndex(wxIconLocation
*self
){
664 SWIGSTATICINLINE(int)
665 SWIG_CheckLong(PyObject
* obj
)
668 if (PyErr_Occurred()) {
676 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
678 wxCHECK_MSG(False
, NULL
,
679 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
681 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
686 void wxRegionIterator_Next(wxRegionIterator
*self
){
689 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
690 return self
->operator bool();
693 #include <wx/fontutil.h>
694 #include <wx/fontmap.h>
695 #include <wx/fontenum.h>
697 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
698 return self
->ToString();
701 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
702 static wxNativeEncodingInfo info
;
703 if ( wxGetNativeFontEncoding(encoding
, &info
) )
709 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
710 wxFontEncoding alt_enc
;
711 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
712 return PyInt_FromLong(alt_enc
);
718 wxFont
*new_wxFont(wxString
const &info
){
719 wxNativeFontInfo nfi
;
720 nfi
.FromString(info
);
721 return new wxFont(nfi
);
723 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
724 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
726 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
727 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
729 class wxPyFontEnumerator
: public wxFontEnumerator
{
731 wxPyFontEnumerator() {}
732 ~wxPyFontEnumerator() {}
734 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
735 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
740 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
741 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
744 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
745 wxArrayString
* arr
= self
->GetEncodings();
746 return wxArrayString2PyList_helper(*arr
);
748 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
749 wxArrayString
* arr
= self
->GetFacenames();
750 return wxArrayString2PyList_helper(*arr
);
754 wxLocale
*new_wxLocale(int language
,int flags
){
756 return new wxLocale();
758 return new wxLocale(language
, flags
);
761 #include "wx/wxPython/pydrawxxx.h"
763 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
765 self
->GetPixel(x
, y
, &col
);
768 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
770 self
->GetPixel(pt
, &col
);
774 SWIGSTATICINLINE(double)
775 SWIG_AsDouble(PyObject
*obj
)
777 if (PyNumber_Check(obj
))
778 return PyFloat_AsDouble(obj
);
780 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
781 obj
->ob_type
->tp_name
);
782 PyErr_SetObject(PyExc_TypeError
, errmsg
);
789 SWIGSTATICINLINE(int)
790 SWIG_CheckDouble(PyObject
* obj
)
793 if (PyErr_Occurred()) {
801 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
803 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
806 wxRect
wxDC_GetClippingRect(wxDC
*self
){
808 self
->GetClippingBox(rect
);
811 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
813 self
->GetPartialTextExtents(text
, widths
);
816 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
817 self
->SetLogicalOrigin(point
.x
, point
.y
);
819 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
820 self
->SetDeviceOrigin(point
.x
, point
.y
);
822 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
823 self
->CalcBoundingBox(point
.x
, point
.y
);
825 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
826 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
828 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
829 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
831 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
832 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
834 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
835 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
837 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
838 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
840 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
841 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
844 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
852 #include <wx/dcbuffer.h>
858 class wxMetaFile
: public wxObject
{
860 wxMetaFile(const wxString
&)
861 { wxPyRaiseNotImplemented(); }
864 class wxMetaFileDC
: public wxClientDC
{
866 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
867 { wxPyRaiseNotImplemented(); }
872 class wxPrinterDC
: public wxClientDC
{
874 wxPrinterDC(const wxPrintData
&)
875 { wxPyRaiseNotImplemented(); }
877 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
878 // { wxPyRaiseNotImplemented(); }
883 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
884 self
->AddColour(name
, wxColour(red
, green
, blue
));
887 #include <wx/effects.h>
892 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
902 result
= (wxGDIObject
*)new wxGDIObject();
904 wxPyEndAllowThreads(__tstate
);
905 if (PyErr_Occurred()) SWIG_fail
;
907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
914 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
917 PyObject
* obj0
= 0 ;
919 (char *) "self", NULL
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
929 wxPyEndAllowThreads(__tstate
);
930 if (PyErr_Occurred()) SWIG_fail
;
932 Py_INCREF(Py_None
); resultobj
= Py_None
;
939 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
941 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
943 PyObject
* obj0
= 0 ;
945 (char *) "self", NULL
948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
953 result
= (bool)(arg1
)->GetVisible();
955 wxPyEndAllowThreads(__tstate
);
956 if (PyErr_Occurred()) SWIG_fail
;
959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
967 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
969 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
971 PyObject
* obj0
= 0 ;
972 PyObject
* obj1
= 0 ;
974 (char *) "self",(char *) "visible", NULL
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
980 arg2
= (bool) SWIG_AsBool(obj1
);
981 if (PyErr_Occurred()) SWIG_fail
;
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 (arg1
)->SetVisible(arg2
);
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) SWIG_fail
;
989 Py_INCREF(Py_None
); resultobj
= Py_None
;
996 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
998 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1000 PyObject
* obj0
= 0 ;
1002 (char *) "self", NULL
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 result
= (bool)(arg1
)->IsNull();
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) SWIG_fail
;
1016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1024 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1027 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1029 return Py_BuildValue((char *)"");
1031 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
*resultobj
;
1033 byte arg1
= (byte
) 0 ;
1034 byte arg2
= (byte
) 0 ;
1035 byte arg3
= (byte
) 0 ;
1037 PyObject
* obj0
= 0 ;
1038 PyObject
* obj1
= 0 ;
1039 PyObject
* obj2
= 0 ;
1041 (char *) "red",(char *) "green",(char *) "blue", NULL
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1046 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1047 if (PyErr_Occurred()) SWIG_fail
;
1050 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1051 if (PyErr_Occurred()) SWIG_fail
;
1054 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) SWIG_fail
;
1064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1071 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
*resultobj
;
1073 wxString
*arg1
= 0 ;
1075 bool temp1
= False
;
1076 PyObject
* obj0
= 0 ;
1078 (char *) "colorName", NULL
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1083 arg1
= wxString_in_helper(obj0
);
1084 if (arg1
== NULL
) SWIG_fail
;
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1109 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
*resultobj
;
1111 unsigned long arg1
;
1113 PyObject
* obj0
= 0 ;
1115 (char *) "colRGB", NULL
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1119 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1120 if (PyErr_Occurred()) SWIG_fail
;
1122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1123 result
= (wxColour
*)new wxColour(arg1
);
1125 wxPyEndAllowThreads(__tstate
);
1126 if (PyErr_Occurred()) SWIG_fail
;
1128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1135 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
*resultobj
;
1137 wxColour
*arg1
= (wxColour
*) 0 ;
1138 PyObject
* obj0
= 0 ;
1140 (char *) "self", NULL
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1150 wxPyEndAllowThreads(__tstate
);
1151 if (PyErr_Occurred()) SWIG_fail
;
1153 Py_INCREF(Py_None
); resultobj
= Py_None
;
1160 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
*resultobj
;
1162 wxColour
*arg1
= (wxColour
*) 0 ;
1164 PyObject
* obj0
= 0 ;
1166 (char *) "self", NULL
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 result
= (byte
)(arg1
)->Red();
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) SWIG_fail
;
1179 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1186 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
*resultobj
;
1188 wxColour
*arg1
= (wxColour
*) 0 ;
1190 PyObject
* obj0
= 0 ;
1192 (char *) "self", NULL
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 result
= (byte
)(arg1
)->Green();
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) SWIG_fail
;
1205 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1212 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
*resultobj
;
1214 wxColour
*arg1
= (wxColour
*) 0 ;
1216 PyObject
* obj0
= 0 ;
1218 (char *) "self", NULL
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 result
= (byte
)(arg1
)->Blue();
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1231 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1238 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
*resultobj
;
1240 wxColour
*arg1
= (wxColour
*) 0 ;
1242 PyObject
* obj0
= 0 ;
1244 (char *) "self", NULL
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 result
= (bool)(arg1
)->Ok();
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) SWIG_fail
;
1258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1266 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
*resultobj
;
1268 wxColour
*arg1
= (wxColour
*) 0 ;
1272 PyObject
* obj0
= 0 ;
1273 PyObject
* obj1
= 0 ;
1274 PyObject
* obj2
= 0 ;
1275 PyObject
* obj3
= 0 ;
1277 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1283 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1284 if (PyErr_Occurred()) SWIG_fail
;
1285 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1286 if (PyErr_Occurred()) SWIG_fail
;
1287 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 (arg1
)->Set(arg2
,arg3
,arg4
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 Py_INCREF(Py_None
); resultobj
= Py_None
;
1303 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1305 wxColour
*arg1
= (wxColour
*) 0 ;
1306 unsigned long arg2
;
1307 PyObject
* obj0
= 0 ;
1308 PyObject
* obj1
= 0 ;
1310 (char *) "self",(char *) "colRGB", NULL
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1316 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 wxPyEndAllowThreads(__tstate
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1325 Py_INCREF(Py_None
); resultobj
= Py_None
;
1332 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
*resultobj
;
1334 wxColour
*arg1
= (wxColour
*) 0 ;
1335 wxString
*arg2
= 0 ;
1336 bool temp2
= False
;
1337 PyObject
* obj0
= 0 ;
1338 PyObject
* obj1
= 0 ;
1340 (char *) "self",(char *) "colourName", NULL
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 arg2
= wxString_in_helper(obj1
);
1348 if (arg2
== NULL
) SWIG_fail
;
1352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 (arg1
)->InitFromName((wxString
const &)*arg2
);
1355 wxPyEndAllowThreads(__tstate
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1358 Py_INCREF(Py_None
); resultobj
= Py_None
;
1373 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
*resultobj
;
1375 wxColour
*arg1
= (wxColour
*) 0 ;
1377 PyObject
* obj0
= 0 ;
1379 (char *) "self", NULL
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) SWIG_fail
;
1392 resultobj
= SWIG_FromLong((long)result
);
1399 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
*resultobj
;
1401 wxColour
*arg1
= (wxColour
*) 0 ;
1402 wxColour
*arg2
= 0 ;
1405 PyObject
* obj0
= 0 ;
1406 PyObject
* obj1
= 0 ;
1408 (char *) "self",(char *) "colour", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1434 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
*resultobj
;
1436 wxColour
*arg1
= (wxColour
*) 0 ;
1437 wxColour
*arg2
= 0 ;
1440 PyObject
* obj0
= 0 ;
1441 PyObject
* obj1
= 0 ;
1443 (char *) "self",(char *) "colour", NULL
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1451 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1469 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1471 wxColour
*arg1
= (wxColour
*) 0 ;
1473 PyObject
* obj0
= 0 ;
1475 (char *) "self", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 result
= (PyObject
*)wxColour_Get(arg1
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1495 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
*resultobj
;
1497 wxColour
*arg1
= (wxColour
*) 0 ;
1498 unsigned long result
;
1499 PyObject
* obj0
= 0 ;
1501 (char *) "self", NULL
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 result
= (unsigned long)wxColour_GetRGB(arg1
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1514 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1521 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1524 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1526 return Py_BuildValue((char *)"");
1528 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
*resultobj
;
1531 unsigned char *arg2
= (unsigned char *) 0 ;
1532 unsigned char *arg3
= (unsigned char *) 0 ;
1533 unsigned char *arg4
= (unsigned char *) 0 ;
1535 PyObject
* obj0
= 0 ;
1536 PyObject
* obj1
= 0 ;
1537 PyObject
* obj2
= 0 ;
1538 PyObject
* obj3
= 0 ;
1540 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1544 arg1
= (int) SWIG_AsInt(obj0
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1548 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1550 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1566 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
*resultobj
;
1568 wxPalette
*arg1
= (wxPalette
*) 0 ;
1569 PyObject
* obj0
= 0 ;
1571 (char *) "self", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1584 Py_INCREF(Py_None
); resultobj
= Py_None
;
1591 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxPalette
*arg1
= (wxPalette
*) 0 ;
1598 PyObject
* obj0
= 0 ;
1599 PyObject
* obj1
= 0 ;
1600 PyObject
* obj2
= 0 ;
1601 PyObject
* obj3
= 0 ;
1603 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1609 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1611 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1613 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1622 resultobj
= SWIG_FromInt((int)result
);
1629 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
*resultobj
;
1631 wxPalette
*arg1
= (wxPalette
*) 0 ;
1633 byte
*arg3
= (byte
*) 0 ;
1634 byte
*arg4
= (byte
*) 0 ;
1635 byte
*arg5
= (byte
*) 0 ;
1640 PyObject
* obj0
= 0 ;
1641 PyObject
* obj1
= 0 ;
1643 (char *) "self",(char *) "pixel", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 arg2
= (int) SWIG_AsInt(obj1
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1665 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1666 resultobj
= t_output_helper(resultobj
,o
);
1669 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1670 resultobj
= t_output_helper(resultobj
,o
);
1673 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1674 resultobj
= t_output_helper(resultobj
,o
);
1682 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxPalette
*arg1
= (wxPalette
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "self", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= (bool)(arg1
)->Ok();
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1710 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1713 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1715 return Py_BuildValue((char *)"");
1717 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1719 wxColour
*arg1
= 0 ;
1720 int arg2
= (int) 1 ;
1721 int arg3
= (int) wxSOLID
;
1724 PyObject
* obj0
= 0 ;
1725 PyObject
* obj1
= 0 ;
1726 PyObject
* obj2
= 0 ;
1728 (char *) "colour",(char *) "width",(char *) "style", NULL
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1734 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1737 arg2
= (int) SWIG_AsInt(obj1
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1741 arg3
= (int) SWIG_AsInt(obj2
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1758 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
*resultobj
;
1760 wxPen
*arg1
= (wxPen
*) 0 ;
1761 PyObject
* obj0
= 0 ;
1763 (char *) "self", NULL
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 Py_INCREF(Py_None
); resultobj
= Py_None
;
1783 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
*resultobj
;
1785 wxPen
*arg1
= (wxPen
*) 0 ;
1787 PyObject
* obj0
= 0 ;
1789 (char *) "self", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 result
= (int)(arg1
)->GetCap();
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1802 resultobj
= SWIG_FromInt((int)result
);
1809 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1811 wxPen
*arg1
= (wxPen
*) 0 ;
1813 PyObject
* obj0
= 0 ;
1815 (char *) "self", NULL
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 result
= (arg1
)->GetColour();
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1829 wxColour
* resultptr
;
1830 resultptr
= new wxColour((wxColour
&) result
);
1831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1839 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxPen
*arg1
= (wxPen
*) 0 ;
1843 PyObject
* obj0
= 0 ;
1845 (char *) "self", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 result
= (int)(arg1
)->GetJoin();
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 resultobj
= SWIG_FromInt((int)result
);
1865 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxPen
*arg1
= (wxPen
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1871 (char *) "self", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 result
= (int)(arg1
)->GetStyle();
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1884 resultobj
= SWIG_FromInt((int)result
);
1891 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxPen
*arg1
= (wxPen
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1897 (char *) "self", NULL
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 result
= (int)(arg1
)->GetWidth();
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1910 resultobj
= SWIG_FromInt((int)result
);
1917 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
*resultobj
;
1919 wxPen
*arg1
= (wxPen
*) 0 ;
1921 PyObject
* obj0
= 0 ;
1923 (char *) "self", NULL
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 result
= (bool)(arg1
)->Ok();
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1945 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
*resultobj
;
1947 wxPen
*arg1
= (wxPen
*) 0 ;
1949 PyObject
* obj0
= 0 ;
1950 PyObject
* obj1
= 0 ;
1952 (char *) "self",(char *) "cap_style", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1958 arg2
= (int) SWIG_AsInt(obj1
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 (arg1
)->SetCap(arg2
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 Py_INCREF(Py_None
); resultobj
= Py_None
;
1974 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxPen
*arg1
= (wxPen
*) 0 ;
1977 wxColour
*arg2
= 0 ;
1979 PyObject
* obj0
= 0 ;
1980 PyObject
* obj1
= 0 ;
1982 (char *) "self",(char *) "colour", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1990 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 (arg1
)->SetColour(*arg2
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 Py_INCREF(Py_None
); resultobj
= Py_None
;
2006 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxPen
*arg1
= (wxPen
*) 0 ;
2010 PyObject
* obj0
= 0 ;
2011 PyObject
* obj1
= 0 ;
2013 (char *) "self",(char *) "join_style", NULL
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2019 arg2
= (int) SWIG_AsInt(obj1
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 (arg1
)->SetJoin(arg2
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 Py_INCREF(Py_None
); resultobj
= Py_None
;
2035 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxPen
*arg1
= (wxPen
*) 0 ;
2039 PyObject
* obj0
= 0 ;
2040 PyObject
* obj1
= 0 ;
2042 (char *) "self",(char *) "style", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2048 arg2
= (int) SWIG_AsInt(obj1
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 (arg1
)->SetStyle(arg2
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 Py_INCREF(Py_None
); resultobj
= Py_None
;
2064 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxPen
*arg1
= (wxPen
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2069 PyObject
* obj1
= 0 ;
2071 (char *) "self",(char *) "width", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 arg2
= (int) SWIG_AsInt(obj1
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 (arg1
)->SetWidth(arg2
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 Py_INCREF(Py_None
); resultobj
= Py_None
;
2093 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
*resultobj
;
2095 wxPen
*arg1
= (wxPen
*) 0 ;
2097 wxDash
*arg3
= (wxDash
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2099 PyObject
* obj1
= 0 ;
2101 (char *) "self",(char *) "dashes", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2108 arg2
= PyList_Size(obj1
);
2109 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2110 if (arg3
== NULL
) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 (arg1
)->SetDashes(arg2
,arg3
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 Py_INCREF(Py_None
); resultobj
= Py_None
;
2121 if (arg3
) delete [] arg3
;
2126 if (arg3
) delete [] arg3
;
2132 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxPen
*arg1
= (wxPen
*) 0 ;
2136 PyObject
* obj0
= 0 ;
2138 (char *) "self", NULL
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2158 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxPen
*arg1
= (wxPen
*) 0 ;
2161 PyObject
*arg2
= (PyObject
*) 0 ;
2162 PyObject
*arg3
= (PyObject
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2164 PyObject
* obj1
= 0 ;
2165 PyObject
* obj2
= 0 ;
2167 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 wxPen__SetDashes(arg1
,arg2
,arg3
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2182 Py_INCREF(Py_None
); resultobj
= Py_None
;
2189 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxPen
*arg1
= (wxPen
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2195 (char *) "self", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2208 resultobj
= SWIG_FromInt((int)result
);
2215 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxPen
*arg1
= (wxPen
*) 0 ;
2218 wxPen
*arg2
= (wxPen
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "self",(char *) "other", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2247 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxPen
*arg1
= (wxPen
*) 0 ;
2250 wxPen
*arg2
= (wxPen
*) 0 ;
2252 PyObject
* obj0
= 0 ;
2253 PyObject
* obj1
= 0 ;
2255 (char *) "self",(char *) "other", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2279 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2282 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2284 return Py_BuildValue((char *)"");
2286 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxColour
*arg1
= 0 ;
2289 int arg2
= (int) wxSOLID
;
2292 PyObject
* obj0
= 0 ;
2293 PyObject
* obj1
= 0 ;
2295 (char *) "colour",(char *) "style", NULL
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2301 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2304 arg2
= (int) SWIG_AsInt(obj1
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2321 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 wxBrush
*arg1
= (wxBrush
*) 0 ;
2324 PyObject
* obj0
= 0 ;
2326 (char *) "self", NULL
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 Py_INCREF(Py_None
); resultobj
= Py_None
;
2346 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxBrush
*arg1
= (wxBrush
*) 0 ;
2349 wxColour
*arg2
= 0 ;
2351 PyObject
* obj0
= 0 ;
2352 PyObject
* obj1
= 0 ;
2354 (char *) "self",(char *) "col", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 (arg1
)->SetColour((wxColour
const &)*arg2
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 Py_INCREF(Py_None
); resultobj
= Py_None
;
2378 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxBrush
*arg1
= (wxBrush
*) 0 ;
2382 PyObject
* obj0
= 0 ;
2383 PyObject
* obj1
= 0 ;
2385 (char *) "self",(char *) "style", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2391 arg2
= (int) SWIG_AsInt(obj1
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 (arg1
)->SetStyle(arg2
);
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) SWIG_fail
;
2400 Py_INCREF(Py_None
); resultobj
= Py_None
;
2407 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
*resultobj
;
2409 wxBrush
*arg1
= (wxBrush
*) 0 ;
2410 wxBitmap
*arg2
= 0 ;
2411 PyObject
* obj0
= 0 ;
2412 PyObject
* obj1
= 0 ;
2414 (char *) "self",(char *) "stipple", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2424 PyErr_SetString(PyExc_TypeError
,"null reference");
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 Py_INCREF(Py_None
); resultobj
= Py_None
;
2441 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2443 wxBrush
*arg1
= (wxBrush
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2447 (char *) "self", NULL
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 result
= ((wxBrush
const *)arg1
)->GetColour();
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 wxColour
* resultptr
;
2462 resultptr
= new wxColour((wxColour
&) result
);
2463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2471 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxBrush
*arg1
= (wxBrush
*) 0 ;
2475 PyObject
* obj0
= 0 ;
2477 (char *) "self", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 resultobj
= SWIG_FromInt((int)result
);
2497 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 wxBrush
*arg1
= (wxBrush
*) 0 ;
2501 PyObject
* obj0
= 0 ;
2503 (char *) "self", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2523 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxBrush
*arg1
= (wxBrush
*) 0 ;
2527 PyObject
* obj0
= 0 ;
2529 (char *) "self", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 result
= (bool)(arg1
)->Ok();
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2551 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2554 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2556 return Py_BuildValue((char *)"");
2558 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
*resultobj
;
2560 wxString
*arg1
= 0 ;
2561 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2563 bool temp1
= False
;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj1
= 0 ;
2567 (char *) "name",(char *) "type", NULL
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2572 arg1
= wxString_in_helper(obj0
);
2573 if (arg1
== NULL
) SWIG_fail
;
2577 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2602 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2605 PyObject
* obj0
= 0 ;
2607 (char *) "self", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2620 Py_INCREF(Py_None
); resultobj
= Py_None
;
2627 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
*resultobj
;
2631 int arg3
= (int) -1 ;
2633 PyObject
* obj0
= 0 ;
2634 PyObject
* obj1
= 0 ;
2635 PyObject
* obj2
= 0 ;
2637 (char *) "width",(char *) "height",(char *) "depth", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2641 arg1
= (int) SWIG_AsInt(obj0
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2643 arg2
= (int) SWIG_AsInt(obj1
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2646 arg3
= (int) SWIG_AsInt(obj2
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2663 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2667 PyObject
* obj0
= 0 ;
2669 (char *) "icon", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2677 PyErr_SetString(PyExc_TypeError
,"null reference");
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2694 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2697 int arg2
= (int) -1 ;
2699 PyObject
* obj0
= 0 ;
2700 PyObject
* obj1
= 0 ;
2702 (char *) "image",(char *) "depth", NULL
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2710 PyErr_SetString(PyExc_TypeError
,"null reference");
2714 arg2
= (int) SWIG_AsInt(obj1
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2731 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 PyObject
*arg1
= (PyObject
*) 0 ;
2735 PyObject
* obj0
= 0 ;
2737 (char *) "listOfStrings", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2744 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2756 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 PyObject
*arg1
= (PyObject
*) 0 ;
2761 int arg4
= (int) 1 ;
2763 PyObject
* obj0
= 0 ;
2764 PyObject
* obj1
= 0 ;
2765 PyObject
* obj2
= 0 ;
2766 PyObject
* obj3
= 0 ;
2768 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2773 arg2
= (int) SWIG_AsInt(obj1
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2775 arg3
= (int) SWIG_AsInt(obj2
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2778 arg4
= (int) SWIG_AsInt(obj3
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2795 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2799 PyObject
* obj0
= 0 ;
2801 (char *) "self", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 result
= (bool)(arg1
)->Ok();
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2823 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2827 PyObject
* obj0
= 0 ;
2829 (char *) "self", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 result
= (int)(arg1
)->GetWidth();
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 resultobj
= SWIG_FromInt((int)result
);
2849 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2853 PyObject
* obj0
= 0 ;
2855 (char *) "self", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= (int)(arg1
)->GetHeight();
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2868 resultobj
= SWIG_FromInt((int)result
);
2875 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2879 PyObject
* obj0
= 0 ;
2881 (char *) "self", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 result
= (int)(arg1
)->GetDepth();
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2894 resultobj
= SWIG_FromInt((int)result
);
2901 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2903 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2905 PyObject
* obj0
= 0 ;
2907 (char *) "self", NULL
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 result
= wxBitmap_GetSize(arg1
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2922 resultptr
= new wxSize((wxSize
&) result
);
2923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2931 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2934 SwigValueWrapper
< wxImage
> result
;
2935 PyObject
* obj0
= 0 ;
2937 (char *) "self", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2951 wxImage
* resultptr
;
2952 resultptr
= new wxImage((wxImage
&) result
);
2953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
2961 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2965 PyObject
* obj0
= 0 ;
2967 (char *) "self", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
2987 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2990 wxMask
*arg2
= (wxMask
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2992 PyObject
* obj1
= 0 ;
2994 (char *) "self",(char *) "mask", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 (arg1
)->SetMask(arg2
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 Py_INCREF(Py_None
); resultobj
= Py_None
;
3016 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3018 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3019 wxColour
*arg2
= 0 ;
3021 PyObject
* obj0
= 0 ;
3022 PyObject
* obj1
= 0 ;
3024 (char *) "self",(char *) "colour", NULL
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3041 Py_INCREF(Py_None
); resultobj
= Py_None
;
3048 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
*resultobj
;
3050 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3052 SwigValueWrapper
< wxBitmap
> result
;
3054 PyObject
* obj0
= 0 ;
3055 PyObject
* obj1
= 0 ;
3057 (char *) "self",(char *) "rect", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3065 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3075 wxBitmap
* resultptr
;
3076 resultptr
= new wxBitmap((wxBitmap
&) result
);
3077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3085 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3088 wxString
*arg2
= 0 ;
3090 wxPalette
*arg4
= (wxPalette
*) NULL
;
3092 bool temp2
= False
;
3093 PyObject
* obj0
= 0 ;
3094 PyObject
* obj1
= 0 ;
3095 PyObject
* obj2
= 0 ;
3096 PyObject
* obj3
= 0 ;
3098 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 arg2
= wxString_in_helper(obj1
);
3106 if (arg2
== NULL
) SWIG_fail
;
3109 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3139 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3142 wxString
*arg2
= 0 ;
3145 bool temp2
= False
;
3146 PyObject
* obj0
= 0 ;
3147 PyObject
* obj1
= 0 ;
3148 PyObject
* obj2
= 0 ;
3150 (char *) "self",(char *) "name",(char *) "type", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3157 arg2
= wxString_in_helper(obj1
);
3158 if (arg2
== NULL
) SWIG_fail
;
3161 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3187 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
;
3189 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3192 PyObject
* obj0
= 0 ;
3193 PyObject
* obj1
= 0 ;
3195 (char *) "self",(char *) "icon", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3205 PyErr_SetString(PyExc_TypeError
,"null reference");
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3224 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "self",(char *) "height", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3237 arg2
= (int) SWIG_AsInt(obj1
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 (arg1
)->SetHeight(arg2
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 Py_INCREF(Py_None
); resultobj
= Py_None
;
3253 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
*resultobj
;
3255 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3257 PyObject
* obj0
= 0 ;
3258 PyObject
* obj1
= 0 ;
3260 (char *) "self",(char *) "width", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3266 arg2
= (int) SWIG_AsInt(obj1
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 (arg1
)->SetWidth(arg2
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3275 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3286 PyObject
* obj0
= 0 ;
3287 PyObject
* obj1
= 0 ;
3289 (char *) "self",(char *) "depth", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3295 arg2
= (int) SWIG_AsInt(obj1
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 (arg1
)->SetDepth(arg2
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3304 Py_INCREF(Py_None
); resultobj
= Py_None
;
3311 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
*resultobj
;
3313 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3316 PyObject
* obj0
= 0 ;
3317 PyObject
* obj1
= 0 ;
3319 (char *) "self",(char *) "size", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3327 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3346 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3351 (char *) "self",(char *) "other", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3363 wxPyEndAllowThreads(__tstate
);
3364 if (PyErr_Occurred()) SWIG_fail
;
3367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3375 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3378 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3381 PyObject
* obj1
= 0 ;
3383 (char *) "self",(char *) "other", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3407 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3410 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3412 return Py_BuildValue((char *)"");
3414 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxBitmap
*arg1
= 0 ;
3417 wxColour
const &arg2_defvalue
= wxNullColour
;
3418 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "bitmap",(char *) "colour", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3432 PyErr_SetString(PyExc_TypeError
,"null reference");
3438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3455 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3458 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3460 return Py_BuildValue((char *)"");
3462 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxString
*arg1
= 0 ;
3466 int arg3
= (int) -1 ;
3467 int arg4
= (int) -1 ;
3469 bool temp1
= False
;
3470 PyObject
* obj0
= 0 ;
3471 PyObject
* obj1
= 0 ;
3472 PyObject
* obj2
= 0 ;
3473 PyObject
* obj3
= 0 ;
3475 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3480 arg1
= wxString_in_helper(obj0
);
3481 if (arg1
== NULL
) SWIG_fail
;
3484 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 arg3
= (int) SWIG_AsInt(obj2
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3491 arg4
= (int) SWIG_AsInt(obj3
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3516 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxIcon
*arg1
= (wxIcon
*) 0 ;
3519 PyObject
* obj0
= 0 ;
3521 (char *) "self", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3534 Py_INCREF(Py_None
); resultobj
= Py_None
;
3541 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxIcon
*)new wxIcon();
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3563 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxIconLocation
*arg1
= 0 ;
3567 PyObject
* obj0
= 0 ;
3569 (char *) "loc", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3577 PyErr_SetString(PyExc_TypeError
,"null reference");
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3594 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxBitmap
*arg1
= 0 ;
3598 PyObject
* obj0
= 0 ;
3600 (char *) "bmp", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3608 PyErr_SetString(PyExc_TypeError
,"null reference");
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3625 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
*resultobj
;
3627 PyObject
*arg1
= (PyObject
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3631 (char *) "listOfStrings", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (wxIcon
*)new_wxIcon(arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3650 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxIcon
*arg1
= (wxIcon
*) 0 ;
3653 wxString
*arg2
= 0 ;
3656 bool temp2
= False
;
3657 PyObject
* obj0
= 0 ;
3658 PyObject
* obj1
= 0 ;
3659 PyObject
* obj2
= 0 ;
3661 (char *) "self",(char *) "name",(char *) "type", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3668 arg2
= wxString_in_helper(obj1
);
3669 if (arg2
== NULL
) SWIG_fail
;
3672 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3698 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3700 wxIcon
*arg1
= (wxIcon
*) 0 ;
3702 PyObject
* obj0
= 0 ;
3704 (char *) "self", NULL
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 result
= (bool)(arg1
)->Ok();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3726 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxIcon
*arg1
= (wxIcon
*) 0 ;
3730 PyObject
* obj0
= 0 ;
3732 (char *) "self", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (int)(arg1
)->GetWidth();
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= SWIG_FromInt((int)result
);
3752 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxIcon
*arg1
= (wxIcon
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3758 (char *) "self", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= (int)(arg1
)->GetHeight();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= SWIG_FromInt((int)result
);
3778 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxIcon
*arg1
= (wxIcon
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)(arg1
)->GetDepth();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_FromInt((int)result
);
3804 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxIcon
*arg1
= (wxIcon
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "w", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 arg2
= (int) SWIG_AsInt(obj1
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 (arg1
)->SetWidth(arg2
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 Py_INCREF(Py_None
); resultobj
= Py_None
;
3833 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxIcon
*arg1
= (wxIcon
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3840 (char *) "self",(char *) "h", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3846 arg2
= (int) SWIG_AsInt(obj1
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 (arg1
)->SetHeight(arg2
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 Py_INCREF(Py_None
); resultobj
= Py_None
;
3862 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxIcon
*arg1
= (wxIcon
*) 0 ;
3866 PyObject
* obj0
= 0 ;
3867 PyObject
* obj1
= 0 ;
3869 (char *) "self",(char *) "d", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3875 arg2
= (int) SWIG_AsInt(obj1
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 (arg1
)->SetDepth(arg2
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 Py_INCREF(Py_None
); resultobj
= Py_None
;
3891 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 wxIcon
*arg1
= (wxIcon
*) 0 ;
3894 wxBitmap
*arg2
= 0 ;
3895 PyObject
* obj0
= 0 ;
3896 PyObject
* obj1
= 0 ;
3898 (char *) "self",(char *) "bmp", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3908 PyErr_SetString(PyExc_TypeError
,"null reference");
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 Py_INCREF(Py_None
); resultobj
= Py_None
;
3925 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3928 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3930 return Py_BuildValue((char *)"");
3932 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3935 int arg2
= (int) 0 ;
3936 wxIconLocation
*result
;
3937 bool temp1
= False
;
3938 PyObject
* obj0
= 0 ;
3939 PyObject
* obj1
= 0 ;
3941 (char *) "filename",(char *) "num", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 arg1
= wxString_in_helper(obj0
);
3948 if (arg1
== NULL
) SWIG_fail
;
3953 arg2
= (int) SWIG_AsInt(obj1
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3978 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3981 PyObject
* obj0
= 0 ;
3983 (char *) "self", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 Py_INCREF(Py_None
); resultobj
= Py_None
;
4003 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4009 (char *) "self", NULL
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4031 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4034 wxString
*arg2
= 0 ;
4035 bool temp2
= False
;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4039 (char *) "self",(char *) "filename", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4046 arg2
= wxString_in_helper(obj1
);
4047 if (arg2
== NULL
) SWIG_fail
;
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 (arg1
)->SetFileName((wxString
const &)*arg2
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 Py_INCREF(Py_None
); resultobj
= Py_None
;
4072 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4076 PyObject
* obj0
= 0 ;
4078 (char *) "self", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4088 result
= (wxString
*) &_result_ref
;
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4098 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4107 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4112 PyObject
* obj1
= 0 ;
4114 (char *) "self",(char *) "num", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 arg2
= (int) SWIG_AsInt(obj1
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 wxIconLocation_SetIndex(arg1
,arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4142 (char *) "self", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (int)wxIconLocation_GetIndex(arg1
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_FromInt((int)result
);
4162 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4165 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4167 return Py_BuildValue((char *)"");
4169 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxIconBundle
*result
;
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (wxIconBundle
*)new wxIconBundle();
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4191 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxString
*arg1
= 0 ;
4195 wxIconBundle
*result
;
4196 bool temp1
= False
;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj1
= 0 ;
4200 (char *) "file",(char *) "type", NULL
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4205 arg1
= wxString_in_helper(obj0
);
4206 if (arg1
== NULL
) SWIG_fail
;
4209 arg2
= (long) SWIG_AsLong(obj1
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4233 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
;
4236 wxIconBundle
*result
;
4237 PyObject
* obj0
= 0 ;
4239 (char *) "icon", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4247 PyErr_SetString(PyExc_TypeError
,"null reference");
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4264 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "self", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4296 (char *) "self",(char *) "icon", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4306 PyErr_SetString(PyExc_TypeError
,"null reference");
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 Py_INCREF(Py_None
); resultobj
= Py_None
;
4323 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
;
4325 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4326 wxString
*arg2
= 0 ;
4328 bool temp2
= False
;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4331 PyObject
* obj2
= 0 ;
4333 (char *) "self",(char *) "file",(char *) "type", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4340 arg2
= wxString_in_helper(obj1
);
4341 if (arg2
== NULL
) SWIG_fail
;
4344 arg3
= (long) SWIG_AsLong(obj2
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 Py_INCREF(Py_None
); resultobj
= Py_None
;
4368 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4377 (char *) "self",(char *) "size", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4391 result
= (wxIcon
*) &_result_ref
;
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4398 wxIcon
* resultptr
= new wxIcon(*result
);
4399 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4407 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4410 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4412 return Py_BuildValue((char *)"");
4414 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxString
*arg1
= (wxString
*) 0 ;
4418 int arg3
= (int) 0 ;
4419 int arg4
= (int) 0 ;
4421 bool temp1
= False
;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4424 PyObject
* obj2
= 0 ;
4425 PyObject
* obj3
= 0 ;
4427 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4432 arg1
= wxString_in_helper(obj0
);
4433 if (arg1
== NULL
) SWIG_fail
;
4436 arg2
= (long) SWIG_AsLong(obj1
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 arg3
= (int) SWIG_AsInt(obj2
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 arg4
= (int) SWIG_AsInt(obj3
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4468 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxCursor
*arg1
= (wxCursor
*) 0 ;
4471 PyObject
* obj0
= 0 ;
4473 (char *) "self", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 Py_INCREF(Py_None
); resultobj
= Py_None
;
4493 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4497 PyObject
* obj0
= 0 ;
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4503 arg1
= (int) SWIG_AsInt(obj0
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= (wxCursor
*)new wxCursor(arg1
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4519 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4523 PyObject
* obj0
= 0 ;
4525 (char *) "image", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4533 PyErr_SetString(PyExc_TypeError
,"null reference");
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4550 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxCursor
*arg1
= (wxCursor
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 result
= (bool)(arg1
)->Ok();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4578 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4581 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4583 return Py_BuildValue((char *)"");
4585 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 int arg1
= (int) 0 ;
4588 int arg2
= (int) 0 ;
4589 int arg3
= (int) 0 ;
4590 int arg4
= (int) 0 ;
4592 PyObject
* obj0
= 0 ;
4593 PyObject
* obj1
= 0 ;
4594 PyObject
* obj2
= 0 ;
4595 PyObject
* obj3
= 0 ;
4597 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4602 arg1
= (int) SWIG_AsInt(obj0
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 arg2
= (int) SWIG_AsInt(obj1
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4610 arg3
= (int) SWIG_AsInt(obj2
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 arg4
= (int) SWIG_AsInt(obj3
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4631 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxBitmap
*arg1
= 0 ;
4634 wxColour
const &arg2_defvalue
= wxNullColour
;
4635 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4636 int arg3
= (int) 0 ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4641 PyObject
* obj2
= 0 ;
4643 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4651 PyErr_SetString(PyExc_TypeError
,"null reference");
4657 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4661 arg3
= (int) SWIG_AsInt(obj2
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4678 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4681 wxPoint
*arg2
= (wxPoint
*) 0 ;
4682 int arg3
= (int) wxWINDING_RULE
;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj1
= 0 ;
4687 (char *) "points",(char *) "fillStyle", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4692 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4693 if (arg2
== NULL
) SWIG_fail
;
4696 arg3
= (int) SWIG_AsInt(obj1
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4708 if (arg2
) delete [] arg2
;
4713 if (arg2
) delete [] arg2
;
4719 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxRegion
*arg1
= (wxRegion
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 Py_INCREF(Py_None
); resultobj
= Py_None
;
4744 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxRegion
*arg1
= (wxRegion
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 Py_INCREF(Py_None
); resultobj
= Py_None
;
4769 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 wxRegion
*arg1
= (wxRegion
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4779 (char *) "self",(char *) "x",(char *) "y", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4785 arg2
= (int) SWIG_AsInt(obj1
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4787 arg3
= (int) SWIG_AsInt(obj2
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4805 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxRegion
*arg1
= (wxRegion
*) 0 ;
4811 PyObject
* obj0
= 0 ;
4812 PyObject
* obj1
= 0 ;
4813 PyObject
* obj2
= 0 ;
4815 (char *) "self",(char *) "x",(char *) "y", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4821 arg2
= (int) SWIG_AsInt(obj1
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4823 arg3
= (int) SWIG_AsInt(obj2
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_FromInt((int)result
);
4839 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxRegion
*arg1
= (wxRegion
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4848 (char *) "self",(char *) "pt", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_FromInt((int)result
);
4872 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxRegion
*arg1
= (wxRegion
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4881 (char *) "self",(char *) "rect", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4889 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_FromInt((int)result
);
4905 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxRegion
*arg1
= (wxRegion
*) 0 ;
4913 PyObject
* obj0
= 0 ;
4914 PyObject
* obj1
= 0 ;
4915 PyObject
* obj2
= 0 ;
4916 PyObject
* obj3
= 0 ;
4917 PyObject
* obj4
= 0 ;
4919 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4925 arg2
= (int) SWIG_AsInt(obj1
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4927 arg3
= (int) SWIG_AsInt(obj2
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4929 arg4
= (int) SWIG_AsInt(obj3
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4931 arg5
= (int) SWIG_AsInt(obj4
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= SWIG_FromInt((int)result
);
4947 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxRegion
*arg1
= (wxRegion
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (arg1
)->GetBox();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4968 resultptr
= new wxRect((wxRect
&) result
);
4969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4977 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxRegion
*arg1
= (wxRegion
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4987 PyObject
* obj2
= 0 ;
4988 PyObject
* obj3
= 0 ;
4989 PyObject
* obj4
= 0 ;
4991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4997 arg2
= (int) SWIG_AsInt(obj1
);
4998 if (PyErr_Occurred()) SWIG_fail
;
4999 arg3
= (int) SWIG_AsInt(obj2
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5001 arg4
= (int) SWIG_AsInt(obj3
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5003 arg5
= (int) SWIG_AsInt(obj4
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5021 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxRegion
*arg1
= (wxRegion
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5030 (char *) "self",(char *) "rect", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5038 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5056 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxRegion
*arg1
= (wxRegion
*) 0 ;
5059 wxRegion
*arg2
= 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5064 (char *) "self",(char *) "region", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5074 PyErr_SetString(PyExc_TypeError
,"null reference");
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5093 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxRegion
*arg1
= (wxRegion
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5099 (char *) "self", NULL
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (bool)(arg1
)->IsEmpty();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5121 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxRegion
*arg1
= (wxRegion
*) 0 ;
5129 PyObject
* obj0
= 0 ;
5130 PyObject
* obj1
= 0 ;
5131 PyObject
* obj2
= 0 ;
5132 PyObject
* obj3
= 0 ;
5133 PyObject
* obj4
= 0 ;
5135 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5141 arg2
= (int) SWIG_AsInt(obj1
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5143 arg3
= (int) SWIG_AsInt(obj2
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5145 arg4
= (int) SWIG_AsInt(obj3
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5147 arg5
= (int) SWIG_AsInt(obj4
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5165 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxRegion
*arg1
= (wxRegion
*) 0 ;
5171 PyObject
* obj0
= 0 ;
5172 PyObject
* obj1
= 0 ;
5174 (char *) "self",(char *) "rect", NULL
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5200 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxRegion
*arg1
= (wxRegion
*) 0 ;
5203 wxRegion
*arg2
= 0 ;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5208 (char *) "self",(char *) "region", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5218 PyErr_SetString(PyExc_TypeError
,"null reference");
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5237 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxRegion
*arg1
= (wxRegion
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 PyObject
* obj2
= 0 ;
5248 PyObject
* obj3
= 0 ;
5249 PyObject
* obj4
= 0 ;
5251 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5257 arg2
= (int) SWIG_AsInt(obj1
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5259 arg3
= (int) SWIG_AsInt(obj2
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5261 arg4
= (int) SWIG_AsInt(obj3
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5263 arg5
= (int) SWIG_AsInt(obj4
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5281 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxRegion
*arg1
= (wxRegion
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5290 (char *) "self",(char *) "rect", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5316 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxRegion
*arg1
= (wxRegion
*) 0 ;
5319 wxRegion
*arg2
= 0 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5324 (char *) "self",(char *) "region", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5334 PyErr_SetString(PyExc_TypeError
,"null reference");
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5353 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxRegion
*arg1
= (wxRegion
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5362 PyObject
* obj1
= 0 ;
5363 PyObject
* obj2
= 0 ;
5364 PyObject
* obj3
= 0 ;
5365 PyObject
* obj4
= 0 ;
5367 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5373 arg2
= (int) SWIG_AsInt(obj1
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5375 arg3
= (int) SWIG_AsInt(obj2
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5377 arg4
= (int) SWIG_AsInt(obj3
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5379 arg5
= (int) SWIG_AsInt(obj4
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5397 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxRegion
*arg1
= (wxRegion
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5406 (char *) "self",(char *) "rect", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5432 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxRegion
*arg1
= (wxRegion
*) 0 ;
5435 wxRegion
*arg2
= 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5440 (char *) "self",(char *) "region", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5450 PyErr_SetString(PyExc_TypeError
,"null reference");
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5469 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxRegion
*arg1
= (wxRegion
*) 0 ;
5472 SwigValueWrapper
< wxBitmap
> result
;
5473 PyObject
* obj0
= 0 ;
5475 (char *) "self", NULL
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (arg1
)->ConvertToBitmap();
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5489 wxBitmap
* resultptr
;
5490 resultptr
= new wxBitmap((wxBitmap
&) result
);
5491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5499 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxRegion
*arg1
= (wxRegion
*) 0 ;
5502 wxBitmap
*arg2
= 0 ;
5503 wxColour
const &arg3_defvalue
= wxNullColour
;
5504 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5505 int arg4
= (int) 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5510 PyObject
* obj2
= 0 ;
5511 PyObject
* obj3
= 0 ;
5513 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5523 PyErr_SetString(PyExc_TypeError
,"null reference");
5529 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5533 arg4
= (int) SWIG_AsInt(obj3
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5552 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5555 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5557 return Py_BuildValue((char *)"");
5559 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxRegion
*arg1
= 0 ;
5562 wxRegionIterator
*result
;
5563 PyObject
* obj0
= 0 ;
5565 (char *) "region", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5573 PyErr_SetString(PyExc_TypeError
,"null reference");
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5590 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5595 (char *) "self", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (int)(arg1
)->GetX();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= SWIG_FromInt((int)result
);
5641 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5647 (char *) "self", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (int)(arg1
)->GetY();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_FromInt((int)result
);
5667 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "self", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (int)(arg1
)->GetW();
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_FromInt((int)result
);
5693 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5699 (char *) "self", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (int)(arg1
)->GetWidth();
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_FromInt((int)result
);
5719 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (int)(arg1
)->GetH();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_FromInt((int)result
);
5745 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (int)(arg1
)->GetHeight();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_FromInt((int)result
);
5771 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (arg1
)->GetRect();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5792 resultptr
= new wxRect((wxRect
&) result
);
5793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5801 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
;
5803 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5805 PyObject
* obj0
= 0 ;
5807 (char *) "self", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 result
= (bool)(arg1
)->HaveRects();
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5829 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5832 PyObject
* obj0
= 0 ;
5834 (char *) "self", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 Py_INCREF(Py_None
); resultobj
= Py_None
;
5854 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "self", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxRegionIterator_Next(arg1
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 Py_INCREF(Py_None
); resultobj
= Py_None
;
5879 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5883 PyObject
* obj0
= 0 ;
5885 (char *) "self", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5907 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5910 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5912 return Py_BuildValue((char *)"");
5914 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxNativeFontInfo
*result
;
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5936 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5938 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "self", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 Py_INCREF(Py_None
); resultobj
= Py_None
;
5961 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5986 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5993 (char *) "self",(char *) "font", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6003 PyErr_SetString(PyExc_TypeError
,"null reference");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6026 (char *) "self", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_FromInt((int)result
);
6046 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "self", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_FromInt((int)result
);
6072 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "self", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_FromInt((int)result
);
6098 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6126 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6158 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6164 (char *) "self", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_FromInt((int)result
);
6184 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6190 (char *) "self", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_FromInt((int)result
);
6210 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6215 PyObject
* obj1
= 0 ;
6217 (char *) "self",(char *) "pointsize", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 arg2
= (int) SWIG_AsInt(obj1
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 (arg1
)->SetPointSize(arg2
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 Py_INCREF(Py_None
); resultobj
= Py_None
;
6239 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6244 PyObject
* obj1
= 0 ;
6246 (char *) "self",(char *) "style", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6252 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 Py_INCREF(Py_None
); resultobj
= Py_None
;
6268 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "self",(char *) "weight", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 Py_INCREF(Py_None
); resultobj
= Py_None
;
6297 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6304 (char *) "self",(char *) "underlined", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 arg2
= (bool) SWIG_AsBool(obj1
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 (arg1
)->SetUnderlined(arg2
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 Py_INCREF(Py_None
); resultobj
= Py_None
;
6326 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6333 (char *) "self",(char *) "facename", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 wxString
* sptr
= wxString_in_helper(obj1
);
6341 if (sptr
== NULL
) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 (arg1
)->SetFaceName(arg2
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 Py_INCREF(Py_None
); resultobj
= Py_None
;
6359 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "self",(char *) "family", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6395 (char *) "self",(char *) "encoding", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 Py_INCREF(Py_None
); resultobj
= Py_None
;
6417 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6420 wxString
*arg2
= 0 ;
6422 bool temp2
= False
;
6423 PyObject
* obj0
= 0 ;
6424 PyObject
* obj1
= 0 ;
6426 (char *) "self",(char *) "s", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 arg2
= wxString_in_helper(obj1
);
6434 if (arg2
== NULL
) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6461 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6465 PyObject
* obj0
= 0 ;
6467 (char *) "self", NULL
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6493 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= wxNativeFontInfo___str__(arg1
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6525 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6528 wxString
*arg2
= 0 ;
6530 bool temp2
= False
;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6534 (char *) "self",(char *) "s", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 arg2
= wxString_in_helper(obj1
);
6542 if (arg2
== NULL
) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6569 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6573 PyObject
* obj0
= 0 ;
6575 (char *) "self", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6601 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6604 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6606 return Py_BuildValue((char *)"");
6608 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6611 wxString
*arg2
= (wxString
*) 0 ;
6612 bool temp2
= False
;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "facename", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 arg2
= wxString_in_helper(obj1
);
6624 if (arg2
== NULL
) SWIG_fail
;
6627 if (arg1
) (arg1
)->facename
= *arg2
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6644 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
;
6646 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6648 PyObject
* obj0
= 0 ;
6650 (char *) "self", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6656 result
= (wxString
*)& ((arg1
)->facename
);
6660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6671 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6678 (char *) "self",(char *) "encoding", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6686 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6688 Py_INCREF(Py_None
); resultobj
= Py_None
;
6695 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6707 result
= (int) ((arg1
)->encoding
);
6709 resultobj
= SWIG_FromInt((int)result
);
6716 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxNativeEncodingInfo
*result
;
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6738 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6743 (char *) "self", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 Py_INCREF(Py_None
); resultobj
= Py_None
;
6763 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6766 wxString
*arg2
= 0 ;
6768 bool temp2
= False
;
6769 PyObject
* obj0
= 0 ;
6770 PyObject
* obj1
= 0 ;
6772 (char *) "self",(char *) "s", NULL
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6779 arg2
= wxString_in_helper(obj1
);
6780 if (arg2
== NULL
) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6807 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6813 (char *) "self", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6839 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6842 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6844 return Py_BuildValue((char *)"");
6846 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6849 wxNativeEncodingInfo
*result
;
6850 PyObject
* obj0
= 0 ;
6852 (char *) "encoding", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6856 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6872 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 wxNativeEncodingInfo
*arg1
= 0 ;
6876 PyObject
* obj0
= 0 ;
6878 (char *) "info", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6886 PyErr_SetString(PyExc_TypeError
,"null reference");
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6905 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
;
6907 wxFontMapper
*result
;
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (wxFontMapper
*)new wxFontMapper();
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6927 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6932 (char *) "self", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 Py_INCREF(Py_None
); resultobj
= Py_None
;
6952 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxFontMapper
*result
;
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (wxFontMapper
*)wxFontMapper::Get();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6974 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6977 wxFontMapper
*result
;
6978 PyObject
* obj0
= 0 ;
6980 (char *) "mapper", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7000 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7003 wxString
*arg2
= 0 ;
7004 bool arg3
= (bool) True
;
7006 bool temp2
= False
;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 PyObject
* obj2
= 0 ;
7011 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7018 arg2
= wxString_in_helper(obj1
);
7019 if (arg2
== NULL
) SWIG_fail
;
7023 arg3
= (bool) SWIG_AsBool(obj2
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_FromInt((int)result
);
7048 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7070 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7074 PyObject
* obj0
= 0 ;
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7080 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (int)wxFontMapper::GetEncoding(arg1
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_FromInt((int)result
);
7096 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "encoding", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7106 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7128 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "encoding", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7138 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7160 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxString
*arg1
= 0 ;
7164 bool temp1
= False
;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "name", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7172 arg1
= wxString_in_helper(obj0
);
7173 if (arg1
== NULL
) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_FromInt((int)result
);
7198 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7201 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "config", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 (arg1
)->SetConfig(arg2
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 Py_INCREF(Py_None
); resultobj
= Py_None
;
7227 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7230 wxString
*arg2
= 0 ;
7231 bool temp2
= False
;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 (char *) "self",(char *) "prefix", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7242 arg2
= wxString_in_helper(obj1
);
7243 if (arg2
== NULL
) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 Py_INCREF(Py_None
); resultobj
= Py_None
;
7268 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= wxFontMapper::GetDefaultConfigPath();
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7296 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7300 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7301 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7302 bool arg4
= (bool) True
;
7304 bool temp3
= False
;
7305 PyObject
* obj0
= 0 ;
7306 PyObject
* obj1
= 0 ;
7307 PyObject
* obj2
= 0 ;
7308 PyObject
* obj3
= 0 ;
7310 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7316 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7320 arg3
= wxString_in_helper(obj2
);
7321 if (arg3
== NULL
) SWIG_fail
;
7326 arg4
= (bool) SWIG_AsBool(obj3
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7351 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
;
7353 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7358 bool temp3
= False
;
7359 PyObject
* obj0
= 0 ;
7360 PyObject
* obj1
= 0 ;
7361 PyObject
* obj2
= 0 ;
7363 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7369 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7373 arg3
= wxString_in_helper(obj2
);
7374 if (arg3
== NULL
) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7402 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7405 wxWindow
*arg2
= (wxWindow
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7409 (char *) "self",(char *) "parent", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 (arg1
)->SetDialogParent(arg2
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7434 wxString
*arg2
= 0 ;
7435 bool temp2
= False
;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7439 (char *) "self",(char *) "title", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 arg2
= wxString_in_helper(obj1
);
7447 if (arg2
== NULL
) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7475 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7477 return Py_BuildValue((char *)"");
7479 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7485 bool arg5
= (bool) False
;
7486 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7487 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7488 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7490 bool temp6
= False
;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7493 PyObject
* obj2
= 0 ;
7494 PyObject
* obj3
= 0 ;
7495 PyObject
* obj4
= 0 ;
7496 PyObject
* obj5
= 0 ;
7497 PyObject
* obj6
= 0 ;
7499 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7503 arg1
= (int) SWIG_AsInt(obj0
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7505 arg2
= (int) SWIG_AsInt(obj1
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7507 arg3
= (int) SWIG_AsInt(obj2
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7509 arg4
= (int) SWIG_AsInt(obj3
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 arg5
= (bool) SWIG_AsBool(obj4
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7517 arg6
= wxString_in_helper(obj5
);
7518 if (arg6
== NULL
) SWIG_fail
;
7523 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7548 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxFont
*arg1
= (wxFont
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7553 (char *) "self", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 Py_INCREF(Py_None
); resultobj
= Py_None
;
7573 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
;
7575 wxNativeFontInfo
*arg1
= 0 ;
7577 PyObject
* obj0
= 0 ;
7579 (char *) "info", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7587 PyErr_SetString(PyExc_TypeError
,"null reference");
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7604 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxString
*arg1
= 0 ;
7608 bool temp1
= False
;
7609 PyObject
* obj0
= 0 ;
7611 (char *) "info", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7616 arg1
= wxString_in_helper(obj0
);
7617 if (arg1
== NULL
) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7642 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7646 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7649 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7651 bool temp4
= False
;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7654 PyObject
* obj2
= 0 ;
7655 PyObject
* obj3
= 0 ;
7656 PyObject
* obj4
= 0 ;
7658 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7662 arg1
= (int) SWIG_AsInt(obj0
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7664 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 arg3
= (int) SWIG_AsInt(obj2
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7672 arg4
= wxString_in_helper(obj3
);
7673 if (arg4
== NULL
) SWIG_fail
;
7678 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7703 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
;
7705 wxFont
*arg1
= (wxFont
*) 0 ;
7707 PyObject
* obj0
= 0 ;
7709 (char *) "self", NULL
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (bool)((wxFont
const *)arg1
)->Ok();
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7731 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxFont
*arg1
= (wxFont
*) 0 ;
7734 wxFont
*arg2
= (wxFont
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7737 PyObject
* obj1
= 0 ;
7739 (char *) "self",(char *) "other", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7763 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
;
7765 wxFont
*arg1
= (wxFont
*) 0 ;
7766 wxFont
*arg2
= (wxFont
*) 0 ;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7771 (char *) "self",(char *) "other", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7795 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxFont
*arg1
= (wxFont
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7801 (char *) "self", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_FromInt((int)result
);
7821 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxFont
*arg1
= (wxFont
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_FromInt((int)result
);
7847 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxFont
*arg1
= (wxFont
*) 0 ;
7851 PyObject
* obj0
= 0 ;
7853 (char *) "self", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= SWIG_FromInt((int)result
);
7873 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxFont
*arg1
= (wxFont
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7879 (char *) "self", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_FromInt((int)result
);
7899 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxFont
*arg1
= (wxFont
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7927 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxFont
*arg1
= (wxFont
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= ((wxFont
const *)arg1
)->GetFaceName();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7959 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxFont
*arg1
= (wxFont
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "self", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= SWIG_FromInt((int)result
);
7985 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxFont
*arg1
= (wxFont
*) 0 ;
7988 wxNativeFontInfo
*result
;
7989 PyObject
* obj0
= 0 ;
7991 (char *) "self", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8011 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxFont
*arg1
= (wxFont
*) 0 ;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "self", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8039 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxFont
*arg1
= (wxFont
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8045 (char *) "self", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8071 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxFont
*arg1
= (wxFont
*) 0 ;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8103 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxFont
*arg1
= (wxFont
*) 0 ;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8110 (char *) "self",(char *) "pointSize", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8116 arg2
= (int) SWIG_AsInt(obj1
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 (arg1
)->SetPointSize(arg2
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxFont
*arg1
= (wxFont
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8139 (char *) "self",(char *) "family", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 arg2
= (int) SWIG_AsInt(obj1
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 (arg1
)->SetFamily(arg2
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 Py_INCREF(Py_None
); resultobj
= Py_None
;
8161 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxFont
*arg1
= (wxFont
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8168 (char *) "self",(char *) "style", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8174 arg2
= (int) SWIG_AsInt(obj1
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->SetStyle(arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8190 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxFont
*arg1
= (wxFont
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8197 (char *) "self",(char *) "weight", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 arg2
= (int) SWIG_AsInt(obj1
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 (arg1
)->SetWeight(arg2
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxFont
*arg1
= (wxFont
*) 0 ;
8222 wxString
*arg2
= 0 ;
8223 bool temp2
= False
;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8227 (char *) "self",(char *) "faceName", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8234 arg2
= wxString_in_helper(obj1
);
8235 if (arg2
== NULL
) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxFont
*arg1
= (wxFont
*) 0 ;
8264 PyObject
* obj0
= 0 ;
8265 PyObject
* obj1
= 0 ;
8267 (char *) "self",(char *) "underlined", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8273 arg2
= (bool) SWIG_AsBool(obj1
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 (arg1
)->SetUnderlined(arg2
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 Py_INCREF(Py_None
); resultobj
= Py_None
;
8289 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxFont
*arg1
= (wxFont
*) 0 ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8296 (char *) "self",(char *) "encoding", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8302 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 Py_INCREF(Py_None
); resultobj
= Py_None
;
8318 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxFont
*arg1
= (wxFont
*) 0 ;
8321 wxNativeFontInfo
*arg2
= 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "info", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8335 PyErr_SetString(PyExc_TypeError
,"null reference");
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8352 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxFont
*arg1
= (wxFont
*) 0 ;
8355 wxString
*arg2
= 0 ;
8356 bool temp2
= False
;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8360 (char *) "self",(char *) "info", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 arg2
= wxString_in_helper(obj1
);
8368 if (arg2
== NULL
) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 Py_INCREF(Py_None
); resultobj
= Py_None
;
8393 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxFont
*arg1
= (wxFont
*) 0 ;
8396 wxString
*arg2
= 0 ;
8397 bool temp2
= False
;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8401 (char *) "self",(char *) "info", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 arg2
= wxString_in_helper(obj1
);
8409 if (arg2
== NULL
) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 Py_INCREF(Py_None
); resultobj
= Py_None
;
8434 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxFont
*arg1
= (wxFont
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "self", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8466 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxFont
*arg1
= (wxFont
*) 0 ;
8470 PyObject
* obj0
= 0 ;
8472 (char *) "self", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= ((wxFont
const *)arg1
)->GetStyleString();
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8498 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 wxFont
*arg1
= (wxFont
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8504 (char *) "self", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= ((wxFont
const *)arg1
)->GetWeightString();
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8530 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxFont
*arg1
= (wxFont
*) 0 ;
8533 bool arg2
= (bool) True
;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8537 (char *) "self",(char *) "no", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 arg2
= (bool) SWIG_AsBool(obj1
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 (arg1
)->SetNoAntiAliasing(arg2
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 Py_INCREF(Py_None
); resultobj
= Py_None
;
8561 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxFont
*arg1
= (wxFont
*) 0 ;
8565 PyObject
* obj0
= 0 ;
8567 (char *) "self", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (bool)(arg1
)->GetNoAntiAliasing();
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8589 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (int)wxFont::GetDefaultEncoding();
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_FromInt((int)result
);
8611 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8614 PyObject
* obj0
= 0 ;
8616 (char *) "encoding", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8620 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 Py_INCREF(Py_None
); resultobj
= Py_None
;
8636 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8639 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8641 return Py_BuildValue((char *)"");
8643 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxPyFontEnumerator
*result
;
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8665 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8670 (char *) "self", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8693 PyObject
*arg2
= (PyObject
*) 0 ;
8694 PyObject
*arg3
= (PyObject
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8698 PyObject
* obj2
= 0 ;
8699 PyObject
* obj3
= 0 ;
8701 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8709 arg4
= (bool) SWIG_AsBool(obj3
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 Py_INCREF(Py_None
); resultobj
= Py_None
;
8725 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8728 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8729 bool arg3
= (bool) False
;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 PyObject
* obj2
= 0 ;
8735 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8742 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8746 arg3
= (bool) SWIG_AsBool(obj2
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8765 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8768 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8769 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8771 bool temp2
= False
;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "self",(char *) "facename", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8783 arg2
= wxString_in_helper(obj1
);
8784 if (arg2
== NULL
) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8812 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8816 PyObject
* obj0
= 0 ;
8818 (char *) "self", NULL
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8838 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8842 PyObject
* obj0
= 0 ;
8844 (char *) "self", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8864 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8867 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8869 return Py_BuildValue((char *)"");
8871 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8878 (char *) "self",(char *) "Language", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8884 arg2
= (int) SWIG_AsInt(obj1
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8886 if (arg1
) (arg1
)->Language
= arg2
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8895 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8899 PyObject
* obj0
= 0 ;
8901 (char *) "self", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8907 result
= (int) ((arg1
)->Language
);
8909 resultobj
= SWIG_FromInt((int)result
);
8916 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8919 wxString
*arg2
= (wxString
*) 0 ;
8920 bool temp2
= False
;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8924 (char *) "self",(char *) "CanonicalName", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 arg2
= wxString_in_helper(obj1
);
8932 if (arg2
== NULL
) SWIG_fail
;
8935 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8956 PyObject
* obj0
= 0 ;
8958 (char *) "self", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8968 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8970 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8979 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8982 wxString
*arg2
= (wxString
*) 0 ;
8983 bool temp2
= False
;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8987 (char *) "self",(char *) "Description", NULL
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8994 arg2
= wxString_in_helper(obj1
);
8995 if (arg2
== NULL
) SWIG_fail
;
8998 if (arg1
) (arg1
)->Description
= *arg2
;
9000 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "self", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 result
= (wxString
*)& ((arg1
)->Description
);
9031 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9033 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9042 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9045 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9047 return Py_BuildValue((char *)"");
9049 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 int arg1
= (int) -1 ;
9052 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9057 (char *) "language",(char *) "flags", NULL
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9062 arg1
= (int) SWIG_AsInt(obj0
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9066 arg2
= (int) SWIG_AsInt(obj1
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9083 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxLocale
*arg1
= (wxLocale
*) 0 ;
9086 PyObject
* obj0
= 0 ;
9088 (char *) "self", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 Py_INCREF(Py_None
); resultobj
= Py_None
;
9108 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxLocale
*arg1
= (wxLocale
*) 0 ;
9111 wxString
*arg2
= 0 ;
9112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9114 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9116 bool arg5
= (bool) True
;
9117 bool arg6
= (bool) False
;
9119 bool temp2
= False
;
9120 bool temp3
= False
;
9121 bool temp4
= False
;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9124 PyObject
* obj2
= 0 ;
9125 PyObject
* obj3
= 0 ;
9126 PyObject
* obj4
= 0 ;
9127 PyObject
* obj5
= 0 ;
9129 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9136 arg2
= wxString_in_helper(obj1
);
9137 if (arg2
== NULL
) SWIG_fail
;
9142 arg3
= wxString_in_helper(obj2
);
9143 if (arg3
== NULL
) SWIG_fail
;
9149 arg4
= wxString_in_helper(obj3
);
9150 if (arg4
== NULL
) SWIG_fail
;
9155 arg5
= (bool) SWIG_AsBool(obj4
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 arg6
= (bool) SWIG_AsBool(obj5
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9202 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxLocale
*arg1
= (wxLocale
*) 0 ;
9205 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9206 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9210 PyObject
* obj2
= 0 ;
9212 (char *) "self",(char *) "language",(char *) "flags", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9219 arg2
= (int) SWIG_AsInt(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9223 arg3
= (int) SWIG_AsInt(obj2
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9242 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (int)wxLocale::GetSystemLanguage();
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= SWIG_FromInt((int)result
);
9264 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (int)wxLocale::GetSystemEncoding();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_FromInt((int)result
);
9286 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= wxLocale::GetSystemEncodingName();
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9314 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxLocale
*arg1
= (wxLocale
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9320 (char *) "self", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9342 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxLocale
*arg1
= (wxLocale
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9348 (char *) "self", NULL
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= ((wxLocale
const *)arg1
)->GetLocale();
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9374 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxLocale
*arg1
= (wxLocale
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9380 (char *) "self", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_FromInt((int)result
);
9400 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxLocale
*arg1
= (wxLocale
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= ((wxLocale
const *)arg1
)->GetSysName();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9432 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxLocale
*arg1
= (wxLocale
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9438 (char *) "self", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9464 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxString
*arg1
= 0 ;
9467 bool temp1
= False
;
9468 PyObject
* obj0
= 0 ;
9470 (char *) "prefix", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9475 arg1
= wxString_in_helper(obj0
);
9476 if (arg1
== NULL
) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 Py_INCREF(Py_None
); resultobj
= Py_None
;
9501 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxLocale
*arg1
= (wxLocale
*) 0 ;
9504 wxString
*arg2
= 0 ;
9506 bool temp2
= False
;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9510 (char *) "self",(char *) "szDomain", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9517 arg2
= wxString_in_helper(obj1
);
9518 if (arg2
== NULL
) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9545 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxLocale
*arg1
= (wxLocale
*) 0 ;
9548 wxString
*arg2
= 0 ;
9550 bool temp2
= False
;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9554 (char *) "self",(char *) "szDomain", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9561 arg2
= wxString_in_helper(obj1
);
9562 if (arg2
== NULL
) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9589 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9592 wxLanguageInfo
*result
;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "lang", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9599 arg1
= (int) SWIG_AsInt(obj0
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9615 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "lang", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9625 arg1
= (int) SWIG_AsInt(obj0
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= wxLocale::GetLanguageName(arg1
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9647 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxString
*arg1
= 0 ;
9650 wxLanguageInfo
*result
;
9651 bool temp1
= False
;
9652 PyObject
* obj0
= 0 ;
9654 (char *) "locale", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9659 arg1
= wxString_in_helper(obj0
);
9660 if (arg1
== NULL
) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9685 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxLanguageInfo
*arg1
= 0 ;
9688 PyObject
* obj0
= 0 ;
9690 (char *) "info", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9698 PyErr_SetString(PyExc_TypeError
,"null reference");
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 Py_INCREF(Py_None
); resultobj
= Py_None
;
9715 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxLocale
*arg1
= (wxLocale
*) 0 ;
9718 wxString
*arg2
= 0 ;
9719 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9720 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9722 bool temp2
= False
;
9723 bool temp3
= False
;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 PyObject
* obj2
= 0 ;
9728 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9735 arg2
= wxString_in_helper(obj1
);
9736 if (arg2
== NULL
) SWIG_fail
;
9741 arg3
= wxString_in_helper(obj2
);
9742 if (arg3
== NULL
) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9782 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxLocale
*arg1
= (wxLocale
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9788 (char *) "self", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9798 result
= (wxString
*) &_result_ref
;
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9808 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9817 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9820 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9822 return Py_BuildValue((char *)"");
9824 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (wxLocale
*)wxGetLocale();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9846 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9847 PyObject
*resultobj
;
9848 wxString
*arg1
= 0 ;
9850 bool temp1
= False
;
9851 PyObject
* obj0
= 0 ;
9853 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9855 arg1
= wxString_in_helper(obj0
);
9856 if (arg1
== NULL
) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= wxGetTranslation((wxString
const &)*arg1
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9887 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9888 PyObject
*resultobj
;
9889 wxString
*arg1
= 0 ;
9890 wxString
*arg2
= 0 ;
9893 bool temp1
= False
;
9894 bool temp2
= False
;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 PyObject
* obj2
= 0 ;
9899 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9901 arg1
= wxString_in_helper(obj0
);
9902 if (arg1
== NULL
) SWIG_fail
;
9906 arg2
= wxString_in_helper(obj1
);
9907 if (arg2
== NULL
) SWIG_fail
;
9910 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9948 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9953 argc
= PyObject_Length(args
);
9954 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9955 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9960 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9963 return _wrap_GetTranslation__SWIG_0(self
,args
);
9969 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9973 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9976 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9978 return _wrap_GetTranslation__SWIG_1(self
,args
);
9984 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9989 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxEncodingConverter
*result
;
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10011 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 char *kwnames
[] = {
10016 (char *) "self", NULL
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 Py_INCREF(Py_None
); resultobj
= Py_None
;
10036 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10041 int arg4
= (int) wxCONVERT_STRICT
;
10043 PyObject
* obj0
= 0 ;
10044 PyObject
* obj1
= 0 ;
10045 PyObject
* obj2
= 0 ;
10046 PyObject
* obj3
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10054 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10056 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 arg4
= (int) SWIG_AsInt(obj3
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10078 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10081 wxString
*arg2
= 0 ;
10083 bool temp2
= False
;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self",(char *) "input", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 arg2
= wxString_in_helper(obj1
);
10095 if (arg2
== NULL
) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10126 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10129 int arg2
= (int) wxPLATFORM_CURRENT
;
10130 wxFontEncodingArray result
;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "enc",(char *) "platform", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 arg2
= (int) SWIG_AsInt(obj1
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= PyList_New(0);
10153 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10154 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10155 PyList_Append(resultobj
, number
);
10165 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10168 wxFontEncodingArray result
;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "enc", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10175 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= PyList_New(0);
10186 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10187 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10188 PyList_Append(resultobj
, number
);
10198 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 char *kwnames
[] = {
10206 (char *) "encIn",(char *) "encOut", NULL
10209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10210 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10212 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10230 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10233 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10235 return Py_BuildValue((char *)"");
10237 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxDC
*arg1
= (wxDC
*) 0 ;
10240 PyObject
* obj0
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 Py_INCREF(Py_None
); resultobj
= Py_None
;
10262 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxDC
*arg1
= (wxDC
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 (arg1
)->BeginDrawing();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 Py_INCREF(Py_None
); resultobj
= Py_None
;
10287 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxDC
*arg1
= (wxDC
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 char *kwnames
[] = {
10292 (char *) "self", NULL
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 (arg1
)->EndDrawing();
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 Py_INCREF(Py_None
); resultobj
= Py_None
;
10312 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10314 wxDC
*arg1
= (wxDC
*) 0 ;
10317 wxColour
*arg4
= 0 ;
10318 int arg5
= (int) wxFLOOD_SURFACE
;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 PyObject
* obj2
= 0 ;
10324 PyObject
* obj3
= 0 ;
10325 PyObject
* obj4
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10333 arg2
= (int) SWIG_AsInt(obj1
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10335 arg3
= (int) SWIG_AsInt(obj2
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10342 arg5
= (int) SWIG_AsInt(obj4
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10361 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
;
10363 wxDC
*arg1
= (wxDC
*) 0 ;
10364 wxPoint
*arg2
= 0 ;
10365 wxColour
*arg3
= 0 ;
10366 int arg4
= (int) wxFLOOD_SURFACE
;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 PyObject
* obj2
= 0 ;
10373 PyObject
* obj3
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10387 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10390 arg4
= (int) SWIG_AsInt(obj3
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10409 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxDC
*arg1
= (wxDC
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 PyObject
* obj2
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self",(char *) "x",(char *) "y", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 arg2
= (int) SWIG_AsInt(obj1
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10427 arg3
= (int) SWIG_AsInt(obj2
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10437 wxColour
* resultptr
;
10438 resultptr
= new wxColour((wxColour
&) result
);
10439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10447 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxDC
*arg1
= (wxDC
*) 0 ;
10450 wxPoint
*arg2
= 0 ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "pt", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10474 wxColour
* resultptr
;
10475 resultptr
= new wxColour((wxColour
&) result
);
10476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10484 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxDC
*arg1
= (wxDC
*) 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 PyObject
* obj2
= 0 ;
10494 PyObject
* obj3
= 0 ;
10495 PyObject
* obj4
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 arg2
= (int) SWIG_AsInt(obj1
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10505 arg3
= (int) SWIG_AsInt(obj2
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10507 arg4
= (int) SWIG_AsInt(obj3
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10509 arg5
= (int) SWIG_AsInt(obj4
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxDC
*arg1
= (wxDC
*) 0 ;
10528 wxPoint
*arg2
= 0 ;
10529 wxPoint
*arg3
= 0 ;
10532 PyObject
* obj0
= 0 ;
10533 PyObject
* obj1
= 0 ;
10534 PyObject
* obj2
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10548 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 Py_INCREF(Py_None
); resultobj
= Py_None
;
10564 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxDC
*arg1
= (wxDC
*) 0 ;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 PyObject
* obj2
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "x",(char *) "y", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10579 arg2
= (int) SWIG_AsInt(obj1
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10581 arg3
= (int) SWIG_AsInt(obj2
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 (arg1
)->CrossHair(arg2
,arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 Py_INCREF(Py_None
); resultobj
= Py_None
;
10597 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxDC
*arg1
= (wxDC
*) 0 ;
10600 wxPoint
*arg2
= 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self",(char *) "pt", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 Py_INCREF(Py_None
); resultobj
= Py_None
;
10629 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxDC
*arg1
= (wxDC
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 PyObject
* obj2
= 0 ;
10641 PyObject
* obj3
= 0 ;
10642 PyObject
* obj4
= 0 ;
10643 PyObject
* obj5
= 0 ;
10644 PyObject
* obj6
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 arg2
= (int) SWIG_AsInt(obj1
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10654 arg3
= (int) SWIG_AsInt(obj2
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10656 arg4
= (int) SWIG_AsInt(obj3
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10658 arg5
= (int) SWIG_AsInt(obj4
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10660 arg6
= (int) SWIG_AsInt(obj5
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10662 arg7
= (int) SWIG_AsInt(obj6
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxDC
*arg1
= (wxDC
*) 0 ;
10681 wxPoint
*arg2
= 0 ;
10682 wxPoint
*arg3
= 0 ;
10683 wxPoint
*arg4
= 0 ;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 PyObject
* obj2
= 0 ;
10690 PyObject
* obj3
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10704 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10708 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 Py_INCREF(Py_None
); resultobj
= Py_None
;
10724 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxDC
*arg1
= (wxDC
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 PyObject
* obj2
= 0 ;
10734 PyObject
* obj3
= 0 ;
10735 PyObject
* obj4
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10743 arg2
= (int) SWIG_AsInt(obj1
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10745 arg3
= (int) SWIG_AsInt(obj2
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10747 arg4
= (int) SWIG_AsInt(obj3
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10749 arg5
= (int) SWIG_AsInt(obj4
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 Py_INCREF(Py_None
); resultobj
= Py_None
;
10765 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxDC
*arg1
= (wxDC
*) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 PyObject
* obj1
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self",(char *) "rect", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxDC
*arg1
= (wxDC
*) 0 ;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 PyObject
* obj2
= 0 ;
10809 PyObject
* obj3
= 0 ;
10810 PyObject
* obj4
= 0 ;
10811 PyObject
* obj5
= 0 ;
10812 PyObject
* obj6
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 arg2
= (int) SWIG_AsInt(obj1
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10822 arg3
= (int) SWIG_AsInt(obj2
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10824 arg4
= (int) SWIG_AsInt(obj3
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10826 arg5
= (int) SWIG_AsInt(obj4
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10828 arg6
= (double) SWIG_AsDouble(obj5
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10830 arg7
= (double) SWIG_AsDouble(obj6
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 Py_INCREF(Py_None
); resultobj
= Py_None
;
10846 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxDC
*arg1
= (wxDC
*) 0 ;
10849 wxPoint
*arg2
= 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 PyObject
* obj2
= 0 ;
10858 PyObject
* obj3
= 0 ;
10859 PyObject
* obj4
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10873 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10875 arg4
= (double) SWIG_AsDouble(obj3
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10877 arg5
= (double) SWIG_AsDouble(obj4
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxDC
*arg1
= (wxDC
*) 0 ;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 PyObject
* obj2
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "x",(char *) "y", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= (int) SWIG_AsInt(obj1
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10910 arg3
= (int) SWIG_AsInt(obj2
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->DrawPoint(arg2
,arg3
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 Py_INCREF(Py_None
); resultobj
= Py_None
;
10926 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxDC
*arg1
= (wxDC
*) 0 ;
10929 wxPoint
*arg2
= 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "pt", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 Py_INCREF(Py_None
); resultobj
= Py_None
;
10958 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxDC
*arg1
= (wxDC
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 PyObject
* obj2
= 0 ;
10968 PyObject
* obj3
= 0 ;
10969 PyObject
* obj4
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 arg2
= (int) SWIG_AsInt(obj1
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10979 arg3
= (int) SWIG_AsInt(obj2
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10981 arg4
= (int) SWIG_AsInt(obj3
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10983 arg5
= (int) SWIG_AsInt(obj4
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxDC
*arg1
= (wxDC
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "rect", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxDC
*arg1
= (wxDC
*) 0 ;
11034 wxPoint
*arg2
= 0 ;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 PyObject
* obj2
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self",(char *) "pt",(char *) "sz", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11054 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 Py_INCREF(Py_None
); resultobj
= Py_None
;
11070 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxDC
*arg1
= (wxDC
*) 0 ;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 PyObject
* obj2
= 0 ;
11081 PyObject
* obj3
= 0 ;
11082 PyObject
* obj4
= 0 ;
11083 PyObject
* obj5
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 arg2
= (int) SWIG_AsInt(obj1
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11093 arg3
= (int) SWIG_AsInt(obj2
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11095 arg4
= (int) SWIG_AsInt(obj3
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11097 arg5
= (int) SWIG_AsInt(obj4
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11099 arg6
= (double) SWIG_AsDouble(obj5
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 Py_INCREF(Py_None
); resultobj
= Py_None
;
11115 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxDC
*arg1
= (wxDC
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 PyObject
* obj1
= 0 ;
11123 PyObject
* obj2
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "self",(char *) "r",(char *) "radius", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11133 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11135 arg3
= (double) SWIG_AsDouble(obj2
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 Py_INCREF(Py_None
); resultobj
= Py_None
;
11151 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxDC
*arg1
= (wxDC
*) 0 ;
11154 wxPoint
*arg2
= 0 ;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 PyObject
* obj2
= 0 ;
11162 PyObject
* obj3
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11172 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11176 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11178 arg4
= (double) SWIG_AsDouble(obj3
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 Py_INCREF(Py_None
); resultobj
= Py_None
;
11194 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxDC
*arg1
= (wxDC
*) 0 ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 PyObject
* obj2
= 0 ;
11203 PyObject
* obj3
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11211 arg2
= (int) SWIG_AsInt(obj1
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11213 arg3
= (int) SWIG_AsInt(obj2
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11215 arg4
= (int) SWIG_AsInt(obj3
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 Py_INCREF(Py_None
); resultobj
= Py_None
;
11231 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxDC
*arg1
= (wxDC
*) 0 ;
11234 wxPoint
*arg2
= 0 ;
11237 PyObject
* obj0
= 0 ;
11238 PyObject
* obj1
= 0 ;
11239 PyObject
* obj2
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "pt",(char *) "radius", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11251 arg3
= (int) SWIG_AsInt(obj2
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 Py_INCREF(Py_None
); resultobj
= Py_None
;
11267 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxDC
*arg1
= (wxDC
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 PyObject
* obj2
= 0 ;
11277 PyObject
* obj3
= 0 ;
11278 PyObject
* obj4
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 arg2
= (int) SWIG_AsInt(obj1
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11288 arg3
= (int) SWIG_AsInt(obj2
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11290 arg4
= (int) SWIG_AsInt(obj3
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11292 arg5
= (int) SWIG_AsInt(obj4
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 Py_INCREF(Py_None
); resultobj
= Py_None
;
11308 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxDC
*arg1
= (wxDC
*) 0 ;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self",(char *) "rect", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11324 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxDC
*arg1
= (wxDC
*) 0 ;
11343 wxPoint
*arg2
= 0 ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 PyObject
* obj2
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "self",(char *) "pt",(char *) "sz", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11363 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 Py_INCREF(Py_None
); resultobj
= Py_None
;
11379 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxDC
*arg1
= (wxDC
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 PyObject
* obj2
= 0 ;
11388 PyObject
* obj3
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11399 if (arg2
== NULL
) {
11400 PyErr_SetString(PyExc_TypeError
,"null reference");
11403 arg3
= (int) SWIG_AsInt(obj2
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11405 arg4
= (int) SWIG_AsInt(obj3
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 Py_INCREF(Py_None
); resultobj
= Py_None
;
11421 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxDC
*arg1
= (wxDC
*) 0 ;
11425 wxPoint
*arg3
= 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self",(char *) "icon",(char *) "pt", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11440 if (arg2
== NULL
) {
11441 PyErr_SetString(PyExc_TypeError
,"null reference");
11446 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 Py_INCREF(Py_None
); resultobj
= Py_None
;
11462 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxDC
*arg1
= (wxDC
*) 0 ;
11465 wxBitmap
*arg2
= 0 ;
11468 bool arg5
= (bool) False
;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 PyObject
* obj2
= 0 ;
11472 PyObject
* obj3
= 0 ;
11473 PyObject
* obj4
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11484 if (arg2
== NULL
) {
11485 PyErr_SetString(PyExc_TypeError
,"null reference");
11488 arg3
= (int) SWIG_AsInt(obj2
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11490 arg4
= (int) SWIG_AsInt(obj3
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 arg5
= (bool) SWIG_AsBool(obj4
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxDC
*arg1
= (wxDC
*) 0 ;
11513 wxBitmap
*arg2
= 0 ;
11514 wxPoint
*arg3
= 0 ;
11515 bool arg4
= (bool) False
;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 PyObject
* obj2
= 0 ;
11520 PyObject
* obj3
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11531 if (arg2
== NULL
) {
11532 PyErr_SetString(PyExc_TypeError
,"null reference");
11537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11540 arg4
= (bool) SWIG_AsBool(obj3
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 Py_INCREF(Py_None
); resultobj
= Py_None
;
11557 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 wxDC
*arg1
= (wxDC
*) 0 ;
11560 wxString
*arg2
= 0 ;
11563 bool temp2
= False
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 PyObject
* obj2
= 0 ;
11567 PyObject
* obj3
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11576 arg2
= wxString_in_helper(obj1
);
11577 if (arg2
== NULL
) SWIG_fail
;
11580 arg3
= (int) SWIG_AsInt(obj2
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11582 arg4
= (int) SWIG_AsInt(obj3
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 Py_INCREF(Py_None
); resultobj
= Py_None
;
11606 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
;
11608 wxDC
*arg1
= (wxDC
*) 0 ;
11609 wxString
*arg2
= 0 ;
11610 wxPoint
*arg3
= 0 ;
11611 bool temp2
= False
;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 PyObject
* obj2
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self",(char *) "text",(char *) "pt", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11624 arg2
= wxString_in_helper(obj1
);
11625 if (arg2
== NULL
) SWIG_fail
;
11630 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxDC
*arg1
= (wxDC
*) 0 ;
11657 wxString
*arg2
= 0 ;
11661 bool temp2
= False
;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 PyObject
* obj2
= 0 ;
11665 PyObject
* obj3
= 0 ;
11666 PyObject
* obj4
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11675 arg2
= wxString_in_helper(obj1
);
11676 if (arg2
== NULL
) SWIG_fail
;
11679 arg3
= (int) SWIG_AsInt(obj2
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11681 arg4
= (int) SWIG_AsInt(obj3
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11683 arg5
= (double) SWIG_AsDouble(obj4
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 Py_INCREF(Py_None
); resultobj
= Py_None
;
11707 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxDC
*arg1
= (wxDC
*) 0 ;
11710 wxString
*arg2
= 0 ;
11711 wxPoint
*arg3
= 0 ;
11713 bool temp2
= False
;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 PyObject
* obj3
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 arg2
= wxString_in_helper(obj1
);
11728 if (arg2
== NULL
) SWIG_fail
;
11733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11735 arg4
= (double) SWIG_AsDouble(obj3
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 Py_INCREF(Py_None
); resultobj
= Py_None
;
11759 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxDC
*arg1
= (wxDC
*) 0 ;
11766 wxDC
*arg6
= (wxDC
*) 0 ;
11769 int arg9
= (int) wxCOPY
;
11770 bool arg10
= (bool) False
;
11771 int arg11
= (int) -1 ;
11772 int arg12
= (int) -1 ;
11774 PyObject
* obj0
= 0 ;
11775 PyObject
* obj1
= 0 ;
11776 PyObject
* obj2
= 0 ;
11777 PyObject
* obj3
= 0 ;
11778 PyObject
* obj4
= 0 ;
11779 PyObject
* obj5
= 0 ;
11780 PyObject
* obj6
= 0 ;
11781 PyObject
* obj7
= 0 ;
11782 PyObject
* obj8
= 0 ;
11783 PyObject
* obj9
= 0 ;
11784 PyObject
* obj10
= 0 ;
11785 PyObject
* obj11
= 0 ;
11786 char *kwnames
[] = {
11787 (char *) "self",(char *) "xdest",(char *) "ydest",(char *) "width",(char *) "height",(char *) "source",(char *) "xsrc",(char *) "ysrc",(char *) "rop",(char *) "useMask",(char *) "xsrcMask",(char *) "ysrcMask", NULL
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
11791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11793 arg2
= (int) SWIG_AsInt(obj1
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11795 arg3
= (int) SWIG_AsInt(obj2
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11797 arg4
= (int) SWIG_AsInt(obj3
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11799 arg5
= (int) SWIG_AsInt(obj4
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11801 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 arg7
= (int) SWIG_AsInt(obj6
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11805 arg8
= (int) SWIG_AsInt(obj7
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 arg9
= (int) SWIG_AsInt(obj8
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 arg10
= (bool) SWIG_AsBool(obj9
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11816 arg11
= (int) SWIG_AsInt(obj10
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 arg12
= (int) SWIG_AsInt(obj11
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11839 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxDC
*arg1
= (wxDC
*) 0 ;
11842 wxPoint
*arg2
= 0 ;
11844 wxDC
*arg4
= (wxDC
*) 0 ;
11845 wxPoint
*arg5
= 0 ;
11846 int arg6
= (int) wxCOPY
;
11847 bool arg7
= (bool) False
;
11848 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11849 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11855 PyObject
* obj0
= 0 ;
11856 PyObject
* obj1
= 0 ;
11857 PyObject
* obj2
= 0 ;
11858 PyObject
* obj3
= 0 ;
11859 PyObject
* obj4
= 0 ;
11860 PyObject
* obj5
= 0 ;
11861 PyObject
* obj6
= 0 ;
11862 PyObject
* obj7
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11876 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11878 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11882 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11885 arg6
= (int) SWIG_AsInt(obj5
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11889 arg7
= (bool) SWIG_AsBool(obj6
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11895 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11914 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxDC
*arg1
= (wxDC
*) 0 ;
11921 PyObject
* obj0
= 0 ;
11922 PyObject
* obj1
= 0 ;
11923 PyObject
* obj2
= 0 ;
11924 PyObject
* obj3
= 0 ;
11925 PyObject
* obj4
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11933 arg2
= (int) SWIG_AsInt(obj1
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11935 arg3
= (int) SWIG_AsInt(obj2
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11937 arg4
= (int) SWIG_AsInt(obj3
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11939 arg5
= (int) SWIG_AsInt(obj4
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 Py_INCREF(Py_None
); resultobj
= Py_None
;
11955 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxDC
*arg1
= (wxDC
*) 0 ;
11958 wxPoint
*arg2
= 0 ;
11962 PyObject
* obj0
= 0 ;
11963 PyObject
* obj1
= 0 ;
11964 PyObject
* obj2
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self",(char *) "pt",(char *) "sz", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11978 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 Py_INCREF(Py_None
); resultobj
= Py_None
;
11994 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxDC
*arg1
= (wxDC
*) 0 ;
11997 wxRegion
*arg2
= 0 ;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self",(char *) "region", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12010 if (arg2
== NULL
) {
12011 PyErr_SetString(PyExc_TypeError
,"null reference");
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 Py_INCREF(Py_None
); resultobj
= Py_None
;
12028 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxDC
*arg1
= (wxDC
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 PyObject
* obj1
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self",(char *) "rect", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12060 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxDC
*arg1
= (wxDC
*) 0 ;
12064 wxPoint
*arg3
= (wxPoint
*) 0 ;
12065 int arg4
= (int) 0 ;
12066 int arg5
= (int) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 PyObject
* obj2
= 0 ;
12070 PyObject
* obj3
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12080 if (arg3
== NULL
) SWIG_fail
;
12083 arg4
= (int) SWIG_AsInt(obj2
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12087 arg5
= (int) SWIG_AsInt(obj3
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 if (arg3
) delete [] arg3
;
12104 if (arg3
) delete [] arg3
;
12110 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxDC
*arg1
= (wxDC
*) 0 ;
12114 wxPoint
*arg3
= (wxPoint
*) 0 ;
12115 int arg4
= (int) 0 ;
12116 int arg5
= (int) 0 ;
12117 int arg6
= (int) wxODDEVEN_RULE
;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 PyObject
* obj2
= 0 ;
12121 PyObject
* obj3
= 0 ;
12122 PyObject
* obj4
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12131 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12132 if (arg3
== NULL
) SWIG_fail
;
12135 arg4
= (int) SWIG_AsInt(obj2
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 arg5
= (int) SWIG_AsInt(obj3
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12143 arg6
= (int) SWIG_AsInt(obj4
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 Py_INCREF(Py_None
); resultobj
= Py_None
;
12155 if (arg3
) delete [] arg3
;
12160 if (arg3
) delete [] arg3
;
12166 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxDC
*arg1
= (wxDC
*) 0 ;
12169 wxString
*arg2
= 0 ;
12171 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12172 int arg5
= (int) -1 ;
12173 bool temp2
= False
;
12175 PyObject
* obj0
= 0 ;
12176 PyObject
* obj1
= 0 ;
12177 PyObject
* obj2
= 0 ;
12178 PyObject
* obj3
= 0 ;
12179 PyObject
* obj4
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= wxString_in_helper(obj1
);
12189 if (arg2
== NULL
) SWIG_fail
;
12194 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12197 arg4
= (int) SWIG_AsInt(obj3
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 arg5
= (int) SWIG_AsInt(obj4
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxDC
*arg1
= (wxDC
*) 0 ;
12229 wxString
*arg2
= 0 ;
12230 wxBitmap
*arg3
= 0 ;
12232 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12233 int arg6
= (int) -1 ;
12235 bool temp2
= False
;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 PyObject
* obj2
= 0 ;
12240 PyObject
* obj3
= 0 ;
12241 PyObject
* obj4
= 0 ;
12242 PyObject
* obj5
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12251 arg2
= wxString_in_helper(obj1
);
12252 if (arg2
== NULL
) SWIG_fail
;
12255 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12258 if (arg3
== NULL
) {
12259 PyErr_SetString(PyExc_TypeError
,"null reference");
12264 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12267 arg5
= (int) SWIG_AsInt(obj4
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 arg6
= (int) SWIG_AsInt(obj5
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 wxRect
* resultptr
;
12283 resultptr
= new wxRect((wxRect
&) result
);
12284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12300 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxDC
*arg1
= (wxDC
*) 0 ;
12304 wxPoint
*arg3
= (wxPoint
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self",(char *) "points", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12315 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12316 if (arg3
== NULL
) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 (arg1
)->DrawSpline(arg2
,arg3
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 Py_INCREF(Py_None
); resultobj
= Py_None
;
12327 if (arg3
) delete [] arg3
;
12332 if (arg3
) delete [] arg3
;
12338 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
;
12340 wxDC
*arg1
= (wxDC
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 char *kwnames
[] = {
12343 (char *) "self", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 Py_INCREF(Py_None
); resultobj
= Py_None
;
12363 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxDC
*arg1
= (wxDC
*) 0 ;
12366 wxString
*arg2
= 0 ;
12368 bool temp2
= False
;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "message", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 arg2
= wxString_in_helper(obj1
);
12380 if (arg2
== NULL
) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12407 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxDC
*arg1
= (wxDC
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 Py_INCREF(Py_None
); resultobj
= Py_None
;
12432 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxDC
*arg1
= (wxDC
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 (arg1
)->StartPage();
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 Py_INCREF(Py_None
); resultobj
= Py_None
;
12457 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxDC
*arg1
= (wxDC
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 Py_INCREF(Py_None
); resultobj
= Py_None
;
12482 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxDC
*arg1
= (wxDC
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 PyObject
* obj1
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self",(char *) "font", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12498 if (arg2
== NULL
) {
12499 PyErr_SetString(PyExc_TypeError
,"null reference");
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 (arg1
)->SetFont((wxFont
const &)*arg2
);
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 Py_INCREF(Py_None
); resultobj
= Py_None
;
12516 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxDC
*arg1
= (wxDC
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self",(char *) "pen", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12532 if (arg2
== NULL
) {
12533 PyErr_SetString(PyExc_TypeError
,"null reference");
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->SetPen((wxPen
const &)*arg2
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 Py_INCREF(Py_None
); resultobj
= Py_None
;
12550 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxDC
*arg1
= (wxDC
*) 0 ;
12553 wxBrush
*arg2
= 0 ;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self",(char *) "brush", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12566 if (arg2
== NULL
) {
12567 PyErr_SetString(PyExc_TypeError
,"null reference");
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 Py_INCREF(Py_None
); resultobj
= Py_None
;
12584 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxDC
*arg1
= (wxDC
*) 0 ;
12587 wxBrush
*arg2
= 0 ;
12588 PyObject
* obj0
= 0 ;
12589 PyObject
* obj1
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self",(char *) "brush", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12600 if (arg2
== NULL
) {
12601 PyErr_SetString(PyExc_TypeError
,"null reference");
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 Py_INCREF(Py_None
); resultobj
= Py_None
;
12618 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxDC
*arg1
= (wxDC
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self",(char *) "mode", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12631 arg2
= (int) SWIG_AsInt(obj1
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetBackgroundMode(arg2
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 Py_INCREF(Py_None
); resultobj
= Py_None
;
12647 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxDC
*arg1
= (wxDC
*) 0 ;
12650 wxPalette
*arg2
= 0 ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self",(char *) "palette", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12663 if (arg2
== NULL
) {
12664 PyErr_SetString(PyExc_TypeError
,"null reference");
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 Py_INCREF(Py_None
); resultobj
= Py_None
;
12681 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxDC
*arg1
= (wxDC
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 (arg1
)->DestroyClippingRegion();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxDC
*arg1
= (wxDC
*) 0 ;
12709 int *arg2
= (int *) 0 ;
12710 int *arg3
= (int *) 0 ;
12711 int *arg4
= (int *) 0 ;
12712 int *arg5
= (int *) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 Py_INCREF(Py_None
); resultobj
= Py_None
;
12738 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12739 resultobj
= t_output_helper(resultobj
,o
);
12742 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12743 resultobj
= t_output_helper(resultobj
,o
);
12746 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12747 resultobj
= t_output_helper(resultobj
,o
);
12750 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12751 resultobj
= t_output_helper(resultobj
,o
);
12759 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxDC
*arg1
= (wxDC
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= wxDC_GetClippingRect(arg1
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12779 wxRect
* resultptr
;
12780 resultptr
= new wxRect((wxRect
&) result
);
12781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12789 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxDC
*arg1
= (wxDC
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_FromInt((int)result
);
12815 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxDC
*arg1
= (wxDC
*) 0 ;
12819 PyObject
* obj0
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_FromInt((int)result
);
12841 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
;
12843 wxDC
*arg1
= (wxDC
*) 0 ;
12844 wxString
*arg2
= 0 ;
12845 int *arg3
= (int *) 0 ;
12846 int *arg4
= (int *) 0 ;
12847 bool temp2
= False
;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self",(char *) "string", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12862 arg2
= wxString_in_helper(obj1
);
12863 if (arg2
== NULL
) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 Py_INCREF(Py_None
); resultobj
= Py_None
;
12875 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12876 resultobj
= t_output_helper(resultobj
,o
);
12879 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12880 resultobj
= t_output_helper(resultobj
,o
);
12896 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxDC
*arg1
= (wxDC
*) 0 ;
12899 wxString
*arg2
= 0 ;
12900 int *arg3
= (int *) 0 ;
12901 int *arg4
= (int *) 0 ;
12902 int *arg5
= (int *) 0 ;
12903 int *arg6
= (int *) 0 ;
12904 wxFont
*arg7
= (wxFont
*) NULL
;
12905 bool temp2
= False
;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self",(char *) "string",(char *) "font", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 arg2
= wxString_in_helper(obj1
);
12926 if (arg2
== NULL
) SWIG_fail
;
12930 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12940 Py_INCREF(Py_None
); resultobj
= Py_None
;
12942 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12943 resultobj
= t_output_helper(resultobj
,o
);
12946 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12947 resultobj
= t_output_helper(resultobj
,o
);
12950 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12951 resultobj
= t_output_helper(resultobj
,o
);
12954 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12955 resultobj
= t_output_helper(resultobj
,o
);
12971 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxDC
*arg1
= (wxDC
*) 0 ;
12974 wxString
*arg2
= 0 ;
12975 int *arg3
= (int *) 0 ;
12976 int *arg4
= (int *) 0 ;
12977 int *arg5
= (int *) 0 ;
12978 wxFont
*arg6
= (wxFont
*) NULL
;
12979 bool temp2
= False
;
12983 PyObject
* obj0
= 0 ;
12984 PyObject
* obj1
= 0 ;
12985 PyObject
* obj2
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "self",(char *) "text",(char *) "font", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12997 arg2
= wxString_in_helper(obj1
);
12998 if (arg2
== NULL
) SWIG_fail
;
13002 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 Py_INCREF(Py_None
); resultobj
= Py_None
;
13014 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13015 resultobj
= t_output_helper(resultobj
,o
);
13018 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13019 resultobj
= t_output_helper(resultobj
,o
);
13022 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13023 resultobj
= t_output_helper(resultobj
,o
);
13039 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxDC
*arg1
= (wxDC
*) 0 ;
13042 wxString
*arg2
= 0 ;
13044 bool temp2
= False
;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self",(char *) "text", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 arg2
= wxString_in_helper(obj1
);
13056 if (arg2
== NULL
) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= PyList_New(0);
13069 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13070 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13071 PyList_Append(resultobj
, val
);
13089 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxDC
*arg1
= (wxDC
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (arg1
)->GetSize();
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 wxSize
* resultptr
;
13110 resultptr
= new wxSize((wxSize
&) result
);
13111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13119 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxDC
*arg1
= (wxDC
*) 0 ;
13122 int *arg2
= (int *) 0 ;
13123 int *arg3
= (int *) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 (arg1
)->GetSize(arg2
,arg3
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13145 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13146 resultobj
= t_output_helper(resultobj
,o
);
13149 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13150 resultobj
= t_output_helper(resultobj
,o
);
13158 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxDC
*arg1
= (wxDC
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 wxSize
* resultptr
;
13179 resultptr
= new wxSize((wxSize
&) result
);
13180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13188 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxDC
*arg1
= (wxDC
*) 0 ;
13191 int *arg2
= (int *) 0 ;
13192 int *arg3
= (int *) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13215 resultobj
= t_output_helper(resultobj
,o
);
13218 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13219 resultobj
= t_output_helper(resultobj
,o
);
13227 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxDC
*arg1
= (wxDC
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "x", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13241 arg2
= (int) SWIG_AsInt(obj1
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= SWIG_FromInt((int)result
);
13257 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxDC
*arg1
= (wxDC
*) 0 ;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "y", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg2
= (int) SWIG_AsInt(obj1
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 resultobj
= SWIG_FromInt((int)result
);
13287 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxDC
*arg1
= (wxDC
*) 0 ;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self",(char *) "x", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13301 arg2
= (int) SWIG_AsInt(obj1
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= SWIG_FromInt((int)result
);
13317 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxDC
*arg1
= (wxDC
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "y", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13331 arg2
= (int) SWIG_AsInt(obj1
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= SWIG_FromInt((int)result
);
13347 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxDC
*arg1
= (wxDC
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "x", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 arg2
= (int) SWIG_AsInt(obj1
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_FromInt((int)result
);
13377 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxDC
*arg1
= (wxDC
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "y", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 arg2
= (int) SWIG_AsInt(obj1
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_FromInt((int)result
);
13407 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxDC
*arg1
= (wxDC
*) 0 ;
13412 PyObject
* obj0
= 0 ;
13413 PyObject
* obj1
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "x", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13421 arg2
= (int) SWIG_AsInt(obj1
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_FromInt((int)result
);
13437 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxDC
*arg1
= (wxDC
*) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 PyObject
* obj1
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self",(char *) "y", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13451 arg2
= (int) SWIG_AsInt(obj1
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_FromInt((int)result
);
13467 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxDC
*arg1
= (wxDC
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13495 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxDC
*arg1
= (wxDC
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13523 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxDC
*arg1
= (wxDC
*) 0 ;
13527 PyObject
* obj0
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= SWIG_FromInt((int)result
);
13549 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxDC
*arg1
= (wxDC
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= ((wxDC
const *)arg1
)->GetPPI();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 wxSize
* resultptr
;
13570 resultptr
= new wxSize((wxSize
&) result
);
13571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13579 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxDC
*arg1
= (wxDC
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (bool)((wxDC
const *)arg1
)->Ok();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13607 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxDC
*arg1
= (wxDC
*) 0 ;
13611 PyObject
* obj0
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_FromInt((int)result
);
13633 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxDC
*arg1
= (wxDC
*) 0 ;
13637 PyObject
* obj0
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13649 result
= (wxBrush
*) &_result_ref
;
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13656 wxBrush
* resultptr
= new wxBrush(*result
);
13657 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13665 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxDC
*arg1
= (wxDC
*) 0 ;
13669 PyObject
* obj0
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13681 result
= (wxBrush
*) &_result_ref
;
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 wxBrush
* resultptr
= new wxBrush(*result
);
13689 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13697 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxDC
*arg1
= (wxDC
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "self", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13713 result
= (wxFont
*) &_result_ref
;
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13720 wxFont
* resultptr
= new wxFont(*result
);
13721 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13729 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxDC
*arg1
= (wxDC
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13745 result
= (wxPen
*) &_result_ref
;
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 wxPen
* resultptr
= new wxPen(*result
);
13753 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13761 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
;
13763 wxDC
*arg1
= (wxDC
*) 0 ;
13765 PyObject
* obj0
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13777 result
= (wxColour
*) &_result_ref
;
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13790 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxDC
*arg1
= (wxDC
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13806 result
= (wxColour
*) &_result_ref
;
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13819 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxDC
*arg1
= (wxDC
*) 0 ;
13822 wxColour
*arg2
= 0 ;
13824 PyObject
* obj0
= 0 ;
13825 PyObject
* obj1
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self",(char *) "colour", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13835 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 Py_INCREF(Py_None
); resultobj
= Py_None
;
13851 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxDC
*arg1
= (wxDC
*) 0 ;
13854 wxColour
*arg2
= 0 ;
13856 PyObject
* obj0
= 0 ;
13857 PyObject
* obj1
= 0 ;
13858 char *kwnames
[] = {
13859 (char *) "self",(char *) "colour", NULL
13862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13867 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 Py_INCREF(Py_None
); resultobj
= Py_None
;
13883 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxDC
*arg1
= (wxDC
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_FromInt((int)result
);
13909 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxDC
*arg1
= (wxDC
*) 0 ;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self",(char *) "mode", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13922 arg2
= (int) SWIG_AsInt(obj1
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 (arg1
)->SetMapMode(arg2
);
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 Py_INCREF(Py_None
); resultobj
= Py_None
;
13938 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
;
13940 wxDC
*arg1
= (wxDC
*) 0 ;
13941 double *arg2
= (double *) 0 ;
13942 double *arg3
= (double *) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 Py_INCREF(Py_None
); resultobj
= Py_None
;
13964 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13965 resultobj
= t_output_helper(resultobj
,o
);
13968 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13969 resultobj
= t_output_helper(resultobj
,o
);
13977 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxDC
*arg1
= (wxDC
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 PyObject
* obj2
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self",(char *) "x",(char *) "y", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 arg2
= (double) SWIG_AsDouble(obj1
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13994 arg3
= (double) SWIG_AsDouble(obj2
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 (arg1
)->SetUserScale(arg2
,arg3
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 Py_INCREF(Py_None
); resultobj
= Py_None
;
14010 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxDC
*arg1
= (wxDC
*) 0 ;
14013 double *arg2
= (double *) 0 ;
14014 double *arg3
= (double *) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 (arg1
)->GetLogicalScale(arg2
,arg3
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 Py_INCREF(Py_None
); resultobj
= Py_None
;
14036 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14037 resultobj
= t_output_helper(resultobj
,o
);
14040 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14041 resultobj
= t_output_helper(resultobj
,o
);
14049 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxDC
*arg1
= (wxDC
*) 0 ;
14054 PyObject
* obj0
= 0 ;
14055 PyObject
* obj1
= 0 ;
14056 PyObject
* obj2
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self",(char *) "x",(char *) "y", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14064 arg2
= (double) SWIG_AsDouble(obj1
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14066 arg3
= (double) SWIG_AsDouble(obj2
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 (arg1
)->SetLogicalScale(arg2
,arg3
);
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxDC
*arg1
= (wxDC
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 wxPoint
* resultptr
;
14103 resultptr
= new wxPoint((wxPoint
&) result
);
14104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14112 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxDC
*arg1
= (wxDC
*) 0 ;
14115 int *arg2
= (int *) 0 ;
14116 int *arg3
= (int *) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 Py_INCREF(Py_None
); resultobj
= Py_None
;
14138 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14139 resultobj
= t_output_helper(resultobj
,o
);
14142 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14143 resultobj
= t_output_helper(resultobj
,o
);
14151 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxDC
*arg1
= (wxDC
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 PyObject
* obj2
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self",(char *) "x",(char *) "y", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14166 arg2
= (int) SWIG_AsInt(obj1
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14168 arg3
= (int) SWIG_AsInt(obj2
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 Py_INCREF(Py_None
); resultobj
= Py_None
;
14184 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxDC
*arg1
= (wxDC
*) 0 ;
14187 wxPoint
*arg2
= 0 ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "point", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 Py_INCREF(Py_None
); resultobj
= Py_None
;
14216 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxDC
*arg1
= (wxDC
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 wxPoint
* resultptr
;
14237 resultptr
= new wxPoint((wxPoint
&) result
);
14238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14246 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxDC
*arg1
= (wxDC
*) 0 ;
14249 int *arg2
= (int *) 0 ;
14250 int *arg3
= (int *) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self", NULL
14260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 Py_INCREF(Py_None
); resultobj
= Py_None
;
14272 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14273 resultobj
= t_output_helper(resultobj
,o
);
14276 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14277 resultobj
= t_output_helper(resultobj
,o
);
14285 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxDC
*arg1
= (wxDC
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 PyObject
* obj2
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "x",(char *) "y", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 arg2
= (int) SWIG_AsInt(obj1
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14302 arg3
= (int) SWIG_AsInt(obj2
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxDC
*arg1
= (wxDC
*) 0 ;
14321 wxPoint
*arg2
= 0 ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "point", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxDC
*arg1
= (wxDC
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 PyObject
* obj2
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14365 arg2
= (bool) SWIG_AsBool(obj1
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14367 arg3
= (bool) SWIG_AsBool(obj2
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxDC
*arg1
= (wxDC
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_FromInt((int)result
);
14409 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxDC
*arg1
= (wxDC
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 PyObject
* obj1
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "self",(char *) "function", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14422 arg2
= (int) SWIG_AsInt(obj1
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 (arg1
)->SetLogicalFunction(arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 Py_INCREF(Py_None
); resultobj
= Py_None
;
14438 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
;
14440 wxDC
*arg1
= (wxDC
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "self",(char *) "opt", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14451 arg2
= (bool) SWIG_AsBool(obj1
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 (arg1
)->SetOptimization(arg2
);
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 Py_INCREF(Py_None
); resultobj
= Py_None
;
14467 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxDC
*arg1
= (wxDC
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (bool)(arg1
)->GetOptimization();
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14495 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxDC
*arg1
= (wxDC
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 PyObject
* obj1
= 0 ;
14502 PyObject
* obj2
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self",(char *) "x",(char *) "y", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 arg2
= (int) SWIG_AsInt(obj1
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14512 arg3
= (int) SWIG_AsInt(obj2
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 Py_INCREF(Py_None
); resultobj
= Py_None
;
14528 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxDC
*arg1
= (wxDC
*) 0 ;
14531 wxPoint
*arg2
= 0 ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self",(char *) "point", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14553 Py_INCREF(Py_None
); resultobj
= Py_None
;
14560 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxDC
*arg1
= (wxDC
*) 0 ;
14563 PyObject
* obj0
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 (arg1
)->ResetBoundingBox();
14575 wxPyEndAllowThreads(__tstate
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14578 Py_INCREF(Py_None
); resultobj
= Py_None
;
14585 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
*resultobj
;
14587 wxDC
*arg1
= (wxDC
*) 0 ;
14589 PyObject
* obj0
= 0 ;
14590 char *kwnames
[] = {
14591 (char *) "self", NULL
14594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (int)((wxDC
const *)arg1
)->MinX();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_FromInt((int)result
);
14611 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxDC
*arg1
= (wxDC
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (int)((wxDC
const *)arg1
)->MaxX();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_FromInt((int)result
);
14637 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxDC
*arg1
= (wxDC
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (int)((wxDC
const *)arg1
)->MinY();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= SWIG_FromInt((int)result
);
14663 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxDC
*arg1
= (wxDC
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= (int)((wxDC
const *)arg1
)->MaxY();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= SWIG_FromInt((int)result
);
14689 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxDC
*arg1
= (wxDC
*) 0 ;
14692 int *arg2
= (int *) 0 ;
14693 int *arg3
= (int *) 0 ;
14694 int *arg4
= (int *) 0 ;
14695 int *arg5
= (int *) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14722 resultobj
= t_output_helper(resultobj
,o
);
14725 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14726 resultobj
= t_output_helper(resultobj
,o
);
14729 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14730 resultobj
= t_output_helper(resultobj
,o
);
14733 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14734 resultobj
= t_output_helper(resultobj
,o
);
14742 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxDC
*arg1
= (wxDC
*) 0 ;
14745 PyObject
*arg2
= (PyObject
*) 0 ;
14746 PyObject
*arg3
= (PyObject
*) 0 ;
14747 PyObject
*arg4
= (PyObject
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 PyObject
* obj2
= 0 ;
14752 PyObject
* obj3
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= result
;
14777 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxDC
*arg1
= (wxDC
*) 0 ;
14780 PyObject
*arg2
= (PyObject
*) 0 ;
14781 PyObject
*arg3
= (PyObject
*) 0 ;
14782 PyObject
*arg4
= (PyObject
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 PyObject
* obj1
= 0 ;
14786 PyObject
* obj2
= 0 ;
14787 PyObject
* obj3
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= result
;
14812 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxDC
*arg1
= (wxDC
*) 0 ;
14815 PyObject
*arg2
= (PyObject
*) 0 ;
14816 PyObject
*arg3
= (PyObject
*) 0 ;
14817 PyObject
*arg4
= (PyObject
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 PyObject
* obj2
= 0 ;
14822 PyObject
* obj3
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= result
;
14847 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxDC
*arg1
= (wxDC
*) 0 ;
14850 PyObject
*arg2
= (PyObject
*) 0 ;
14851 PyObject
*arg3
= (PyObject
*) 0 ;
14852 PyObject
*arg4
= (PyObject
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 PyObject
* obj2
= 0 ;
14857 PyObject
* obj3
= 0 ;
14858 char *kwnames
[] = {
14859 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= result
;
14882 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxDC
*arg1
= (wxDC
*) 0 ;
14885 PyObject
*arg2
= (PyObject
*) 0 ;
14886 PyObject
*arg3
= (PyObject
*) 0 ;
14887 PyObject
*arg4
= (PyObject
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 PyObject
* obj2
= 0 ;
14892 PyObject
* obj3
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= result
;
14917 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxDC
*arg1
= (wxDC
*) 0 ;
14920 PyObject
*arg2
= (PyObject
*) 0 ;
14921 PyObject
*arg3
= (PyObject
*) 0 ;
14922 PyObject
*arg4
= (PyObject
*) 0 ;
14923 PyObject
*arg5
= (PyObject
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 PyObject
* obj2
= 0 ;
14928 PyObject
* obj3
= 0 ;
14929 PyObject
* obj4
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= result
;
14955 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14960 return Py_BuildValue((char *)"");
14962 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxMemoryDC
*result
;
14965 char *kwnames
[] = {
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (wxMemoryDC
*)new wxMemoryDC();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14984 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxDC
*arg1
= (wxDC
*) 0 ;
14987 wxMemoryDC
*result
;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "oldDC", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15010 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15013 wxBitmap
*arg2
= 0 ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self",(char *) "bitmap", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15026 if (arg2
== NULL
) {
15027 PyErr_SetString(PyExc_TypeError
,"null reference");
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 Py_INCREF(Py_None
); resultobj
= Py_None
;
15044 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15047 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15049 return Py_BuildValue((char *)"");
15051 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15052 PyObject
*resultobj
;
15053 wxDC
*arg1
= (wxDC
*) 0 ;
15054 wxBitmap
*arg2
= 0 ;
15055 wxBufferedDC
*result
;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15059 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15065 if (arg2
== NULL
) {
15066 PyErr_SetString(PyExc_TypeError
,"null reference");
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15083 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15084 PyObject
*resultobj
;
15085 wxDC
*arg1
= (wxDC
*) 0 ;
15087 wxBufferedDC
*result
;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15092 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15113 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15118 argc
= PyObject_Length(args
);
15119 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15120 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15126 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15136 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15144 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15152 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15161 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15164 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15169 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15174 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15175 PyObject
*resultobj
;
15176 wxDC
*arg1
= (wxDC
*) 0 ;
15178 wxBufferedDC
*result
;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15183 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15188 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15204 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 Py_INCREF(Py_None
); resultobj
= Py_None
;
15229 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15247 Py_INCREF(Py_None
); resultobj
= Py_None
;
15254 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15257 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15259 return Py_BuildValue((char *)"");
15261 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxWindow
*arg1
= (wxWindow
*) 0 ;
15264 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15265 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15266 wxBufferedPaintDC
*result
;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "window",(char *) "buffer", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15280 if (arg2
== NULL
) {
15281 PyErr_SetString(PyExc_TypeError
,"null reference");
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15299 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15302 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15304 return Py_BuildValue((char *)"");
15306 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxScreenDC
*result
;
15309 char *kwnames
[] = {
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (wxScreenDC
*)new wxScreenDC();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15328 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15331 wxWindow
*arg2
= (wxWindow
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "window", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15363 wxRect
*arg2
= (wxRect
*) NULL
;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "rect", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15394 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15398 PyObject
* obj0
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "self", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (bool)(arg1
)->EndDrawingOnTop();
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15422 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15427 return Py_BuildValue((char *)"");
15429 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxWindow
*arg1
= (wxWindow
*) 0 ;
15432 wxClientDC
*result
;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "win", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (wxClientDC
*)new wxClientDC(arg1
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15455 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15458 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15460 return Py_BuildValue((char *)"");
15462 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxWindow
*arg1
= (wxWindow
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "win", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15488 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15491 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15493 return Py_BuildValue((char *)"");
15495 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxWindow
*arg1
= (wxWindow
*) 0 ;
15498 wxWindowDC
*result
;
15499 PyObject
* obj0
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "win", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15521 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15524 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15526 return Py_BuildValue((char *)"");
15528 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15532 wxMirrorDC
*result
;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 char *kwnames
[] = {
15536 (char *) "dc",(char *) "mirror", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15543 if (arg1
== NULL
) {
15544 PyErr_SetString(PyExc_TypeError
,"null reference");
15547 arg2
= (bool) SWIG_AsBool(obj1
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15563 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15566 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15568 return Py_BuildValue((char *)"");
15570 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxPrintData
*arg1
= 0 ;
15573 wxPostScriptDC
*result
;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "printData", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15583 if (arg1
== NULL
) {
15584 PyErr_SetString(PyExc_TypeError
,"null reference");
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15601 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15604 wxPrintData
*result
;
15605 PyObject
* obj0
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15617 result
= (wxPrintData
*) &_result_ref
;
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15630 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15633 wxPrintData
*arg2
= 0 ;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self",(char *) "data", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15646 if (arg2
== NULL
) {
15647 PyErr_SetString(PyExc_TypeError
,"null reference");
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 Py_INCREF(Py_None
); resultobj
= Py_None
;
15664 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
;
15667 PyObject
* obj0
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "ppi", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15673 arg1
= (int) SWIG_AsInt(obj0
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 wxPostScriptDC::SetResolution(arg1
);
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 Py_INCREF(Py_None
); resultobj
= Py_None
;
15689 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15692 char *kwnames
[] = {
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (int)wxPostScriptDC::GetResolution();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_FromInt((int)result
);
15711 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15714 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15716 return Py_BuildValue((char *)"");
15718 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15721 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15722 wxMetaFile
*result
;
15723 bool temp1
= False
;
15724 PyObject
* obj0
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "filename", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15732 arg1
= wxString_in_helper(obj0
);
15733 if (arg1
== NULL
) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15759 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15762 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15764 return Py_BuildValue((char *)"");
15766 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15769 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15770 int arg2
= (int) 0 ;
15771 int arg3
= (int) 0 ;
15772 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15773 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15774 wxMetaFileDC
*result
;
15775 bool temp1
= False
;
15776 bool temp4
= False
;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 PyObject
* obj2
= 0 ;
15780 PyObject
* obj3
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15788 arg1
= wxString_in_helper(obj0
);
15789 if (arg1
== NULL
) SWIG_fail
;
15794 arg2
= (int) SWIG_AsInt(obj1
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15798 arg3
= (int) SWIG_AsInt(obj2
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15803 arg4
= wxString_in_helper(obj3
);
15804 if (arg4
== NULL
) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15838 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15841 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15843 return Py_BuildValue((char *)"");
15845 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxPrintData
*arg1
= 0 ;
15848 wxPrinterDC
*result
;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "printData", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15858 if (arg1
== NULL
) {
15859 PyErr_SetString(PyExc_TypeError
,"null reference");
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15876 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15879 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15881 return Py_BuildValue((char *)"");
15883 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15887 int arg3
= (int) True
;
15888 int arg4
= (int) 1 ;
15889 wxImageList
*result
;
15890 PyObject
* obj0
= 0 ;
15891 PyObject
* obj1
= 0 ;
15892 PyObject
* obj2
= 0 ;
15893 PyObject
* obj3
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15899 arg1
= (int) SWIG_AsInt(obj0
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15901 arg2
= (int) SWIG_AsInt(obj1
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 arg3
= (int) SWIG_AsInt(obj2
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15908 arg4
= (int) SWIG_AsInt(obj3
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= wxPyMake_wxObject(result
);
15927 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxImageList
*arg1
= (wxImageList
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 Py_INCREF(Py_None
); resultobj
= Py_None
;
15952 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxImageList
*arg1
= (wxImageList
*) 0 ;
15955 wxBitmap
*arg2
= 0 ;
15956 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15957 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 PyObject
* obj2
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15972 if (arg2
== NULL
) {
15973 PyErr_SetString(PyExc_TypeError
,"null reference");
15977 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15980 if (arg3
== NULL
) {
15981 PyErr_SetString(PyExc_TypeError
,"null reference");
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= SWIG_FromInt((int)result
);
15999 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxImageList
*arg1
= (wxImageList
*) 0 ;
16002 wxBitmap
*arg2
= 0 ;
16003 wxColour
*arg3
= 0 ;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 PyObject
* obj2
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16019 if (arg2
== NULL
) {
16020 PyErr_SetString(PyExc_TypeError
,"null reference");
16025 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= SWIG_FromInt((int)result
);
16041 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxImageList
*arg1
= (wxImageList
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 PyObject
* obj1
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self",(char *) "icon", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16058 if (arg2
== NULL
) {
16059 PyErr_SetString(PyExc_TypeError
,"null reference");
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= SWIG_FromInt((int)result
);
16076 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxImageList
*arg1
= (wxImageList
*) 0 ;
16080 wxBitmap
*arg3
= 0 ;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 PyObject
* obj2
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16092 arg2
= (int) SWIG_AsInt(obj1
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16094 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16097 if (arg3
== NULL
) {
16098 PyErr_SetString(PyExc_TypeError
,"null reference");
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16117 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxImageList
*arg1
= (wxImageList
*) 0 ;
16124 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16125 bool arg7
= (bool) (bool)False
;
16127 PyObject
* obj0
= 0 ;
16128 PyObject
* obj1
= 0 ;
16129 PyObject
* obj2
= 0 ;
16130 PyObject
* obj3
= 0 ;
16131 PyObject
* obj4
= 0 ;
16132 PyObject
* obj5
= 0 ;
16133 PyObject
* obj6
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16141 arg2
= (int) SWIG_AsInt(obj1
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16143 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16146 if (arg3
== NULL
) {
16147 PyErr_SetString(PyExc_TypeError
,"null reference");
16150 arg4
= (int) SWIG_AsInt(obj3
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16152 arg5
= (int) SWIG_AsInt(obj4
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 arg6
= (int) SWIG_AsInt(obj5
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16159 arg7
= (bool const) SWIG_AsBool(obj6
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxImageList
*arg1
= (wxImageList
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (int)(arg1
)->GetImageCount();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_FromInt((int)result
);
16204 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxImageList
*arg1
= (wxImageList
*) 0 ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "index", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16218 arg2
= (int) SWIG_AsInt(obj1
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (bool)(arg1
)->Remove(arg2
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16236 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxImageList
*arg1
= (wxImageList
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (bool)(arg1
)->RemoveAll();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16264 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxImageList
*arg1
= (wxImageList
*) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self",(char *) "index", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16283 arg2
= (int) SWIG_AsInt(obj1
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 Py_INCREF(Py_None
); resultobj
= Py_None
;
16294 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16295 resultobj
= t_output_helper(resultobj
,o
);
16298 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16299 resultobj
= t_output_helper(resultobj
,o
);
16307 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16310 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16312 return Py_BuildValue((char *)"");
16314 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16315 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16320 static PyObject
*_wrap_NORMAL_FONT_get() {
16323 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16328 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16329 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16334 static PyObject
*_wrap_SMALL_FONT_get() {
16337 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16342 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16343 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16348 static PyObject
*_wrap_ITALIC_FONT_get() {
16351 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16356 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16357 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16362 static PyObject
*_wrap_SWISS_FONT_get() {
16365 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16370 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16371 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16376 static PyObject
*_wrap_RED_PEN_get() {
16379 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16384 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16385 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16390 static PyObject
*_wrap_CYAN_PEN_get() {
16393 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16398 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16399 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16404 static PyObject
*_wrap_GREEN_PEN_get() {
16407 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16412 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16413 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16418 static PyObject
*_wrap_BLACK_PEN_get() {
16421 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16426 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16427 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16432 static PyObject
*_wrap_WHITE_PEN_get() {
16435 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16440 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16441 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16446 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16449 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16454 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16455 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16460 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16463 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16468 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16469 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16474 static PyObject
*_wrap_GREY_PEN_get() {
16477 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16482 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16483 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16488 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16491 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16496 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16497 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16502 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16505 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16510 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16511 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16516 static PyObject
*_wrap_BLUE_BRUSH_get() {
16519 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16524 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16525 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16530 static PyObject
*_wrap_GREEN_BRUSH_get() {
16533 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16538 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16539 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16544 static PyObject
*_wrap_WHITE_BRUSH_get() {
16547 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16552 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16553 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16558 static PyObject
*_wrap_BLACK_BRUSH_get() {
16561 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16566 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16567 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16572 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16575 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16580 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16581 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16586 static PyObject
*_wrap_CYAN_BRUSH_get() {
16589 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16594 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16595 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16600 static PyObject
*_wrap_RED_BRUSH_get() {
16603 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16608 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16609 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16614 static PyObject
*_wrap_GREY_BRUSH_get() {
16617 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16622 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16623 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16628 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16631 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16636 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16637 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16642 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16645 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16650 static int _wrap_BLACK_set(PyObject
*_val
) {
16651 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16656 static PyObject
*_wrap_BLACK_get() {
16659 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16664 static int _wrap_WHITE_set(PyObject
*_val
) {
16665 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16670 static PyObject
*_wrap_WHITE_get() {
16673 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16678 static int _wrap_RED_set(PyObject
*_val
) {
16679 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16684 static PyObject
*_wrap_RED_get() {
16687 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16692 static int _wrap_BLUE_set(PyObject
*_val
) {
16693 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16698 static PyObject
*_wrap_BLUE_get() {
16701 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16706 static int _wrap_GREEN_set(PyObject
*_val
) {
16707 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16712 static PyObject
*_wrap_GREEN_get() {
16715 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16720 static int _wrap_CYAN_set(PyObject
*_val
) {
16721 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16726 static PyObject
*_wrap_CYAN_get() {
16729 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16734 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16735 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16740 static PyObject
*_wrap_LIGHT_GREY_get() {
16743 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16748 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16749 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16754 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16757 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16762 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16763 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16768 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16771 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16776 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16777 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16782 static PyObject
*_wrap_CROSS_CURSOR_get() {
16785 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16790 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16791 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16796 static PyObject
*_wrap_NullBitmap_get() {
16799 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16804 static int _wrap_NullIcon_set(PyObject
*_val
) {
16805 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16810 static PyObject
*_wrap_NullIcon_get() {
16813 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16818 static int _wrap_NullCursor_set(PyObject
*_val
) {
16819 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16824 static PyObject
*_wrap_NullCursor_get() {
16827 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16832 static int _wrap_NullPen_set(PyObject
*_val
) {
16833 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16838 static PyObject
*_wrap_NullPen_get() {
16841 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16846 static int _wrap_NullBrush_set(PyObject
*_val
) {
16847 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16852 static PyObject
*_wrap_NullBrush_get() {
16855 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16860 static int _wrap_NullPalette_set(PyObject
*_val
) {
16861 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16866 static PyObject
*_wrap_NullPalette_get() {
16869 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16874 static int _wrap_NullFont_set(PyObject
*_val
) {
16875 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16880 static PyObject
*_wrap_NullFont_get() {
16883 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16888 static int _wrap_NullColour_set(PyObject
*_val
) {
16889 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16894 static PyObject
*_wrap_NullColour_get() {
16897 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16902 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxPenList
*arg1
= (wxPenList
*) 0 ;
16905 wxPen
*arg2
= (wxPen
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self",(char *) "pen", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->AddPen(arg2
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxPenList
*arg1
= (wxPenList
*) 0 ;
16934 wxColour
*arg2
= 0 ;
16939 PyObject
* obj0
= 0 ;
16940 PyObject
* obj1
= 0 ;
16941 PyObject
* obj2
= 0 ;
16942 PyObject
* obj3
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16954 arg3
= (int) SWIG_AsInt(obj2
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16956 arg4
= (int) SWIG_AsInt(obj3
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
16972 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16973 PyObject
*resultobj
;
16974 wxPenList
*arg1
= (wxPenList
*) 0 ;
16975 wxPen
*arg2
= (wxPen
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self",(char *) "pen", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 (arg1
)->RemovePen(arg2
);
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 Py_INCREF(Py_None
); resultobj
= Py_None
;
17001 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxPenList
*arg1
= (wxPenList
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 result
= (int)(arg1
)->GetCount();
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= SWIG_FromInt((int)result
);
17027 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17030 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17032 return Py_BuildValue((char *)"");
17034 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17037 wxBrush
*arg2
= (wxBrush
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self",(char *) "brush", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 (arg1
)->AddBrush(arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 Py_INCREF(Py_None
); resultobj
= Py_None
;
17063 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17066 wxColour
*arg2
= 0 ;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 PyObject
* obj2
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "colour",(char *) "style", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17084 arg3
= (int) SWIG_AsInt(obj2
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17100 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17103 wxBrush
*arg2
= (wxBrush
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self",(char *) "brush", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 (arg1
)->RemoveBrush(arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 Py_INCREF(Py_None
); resultobj
= Py_None
;
17129 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (int)(arg1
)->GetCount();
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_FromInt((int)result
);
17155 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17158 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17160 return Py_BuildValue((char *)"");
17162 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 wxColourDatabase
*result
;
17165 char *kwnames
[] = {
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (wxColourDatabase
*)new wxColourDatabase();
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17184 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 Py_INCREF(Py_None
); resultobj
= Py_None
;
17209 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17212 wxString
*arg2
= 0 ;
17214 bool temp2
= False
;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self",(char *) "name", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 arg2
= wxString_in_helper(obj1
);
17226 if (arg2
== NULL
) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 wxColour
* resultptr
;
17238 resultptr
= new wxColour((wxColour
&) result
);
17239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17255 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17258 wxColour
*arg2
= 0 ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self",(char *) "colour", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17294 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17297 wxString
*arg2
= 0 ;
17298 wxColour
*arg3
= 0 ;
17299 bool temp2
= False
;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 PyObject
* obj2
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self",(char *) "name",(char *) "colour", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 arg2
= wxString_in_helper(obj1
);
17313 if (arg2
== NULL
) SWIG_fail
;
17318 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 Py_INCREF(Py_None
); resultobj
= Py_None
;
17342 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17345 wxString
*arg2
= 0 ;
17349 bool temp2
= False
;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 PyObject
* obj2
= 0 ;
17353 PyObject
* obj3
= 0 ;
17354 PyObject
* obj4
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17363 arg2
= wxString_in_helper(obj1
);
17364 if (arg2
== NULL
) SWIG_fail
;
17367 arg3
= (int) SWIG_AsInt(obj2
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17369 arg4
= (int) SWIG_AsInt(obj3
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17371 arg5
= (int) SWIG_AsInt(obj4
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 Py_INCREF(Py_None
); resultobj
= Py_None
;
17395 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17398 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17400 return Py_BuildValue((char *)"");
17402 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxFontList
*arg1
= (wxFontList
*) 0 ;
17405 wxFont
*arg2
= (wxFont
*) 0 ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self",(char *) "font", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->AddFont(arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 Py_INCREF(Py_None
); resultobj
= Py_None
;
17431 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxFontList
*arg1
= (wxFontList
*) 0 ;
17438 bool arg6
= (bool) False
;
17439 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17441 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17443 bool temp7
= False
;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 PyObject
* obj2
= 0 ;
17447 PyObject
* obj3
= 0 ;
17448 PyObject
* obj4
= 0 ;
17449 PyObject
* obj5
= 0 ;
17450 PyObject
* obj6
= 0 ;
17451 PyObject
* obj7
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 arg2
= (int) SWIG_AsInt(obj1
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17461 arg3
= (int) SWIG_AsInt(obj2
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17463 arg4
= (int) SWIG_AsInt(obj3
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17465 arg5
= (int) SWIG_AsInt(obj4
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 arg6
= (bool) SWIG_AsBool(obj5
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17473 arg7
= wxString_in_helper(obj6
);
17474 if (arg7
== NULL
) SWIG_fail
;
17479 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17504 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxFontList
*arg1
= (wxFontList
*) 0 ;
17507 wxFont
*arg2
= (wxFont
*) 0 ;
17508 PyObject
* obj0
= 0 ;
17509 PyObject
* obj1
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self",(char *) "font", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->RemoveFont(arg2
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 Py_INCREF(Py_None
); resultobj
= Py_None
;
17533 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxFontList
*arg1
= (wxFontList
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (int)(arg1
)->GetCount();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= SWIG_FromInt((int)result
);
17559 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17562 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17564 return Py_BuildValue((char *)"");
17566 static int _wrap_TheFontList_set(PyObject
*_val
) {
17567 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17572 static PyObject
*_wrap_TheFontList_get() {
17575 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17580 static int _wrap_ThePenList_set(PyObject
*_val
) {
17581 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17586 static PyObject
*_wrap_ThePenList_get() {
17589 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17594 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17595 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17600 static PyObject
*_wrap_TheBrushList_get() {
17603 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17608 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17609 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17614 static PyObject
*_wrap_TheColourDatabase_get() {
17617 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17622 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17625 char *kwnames
[] = {
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (wxEffects
*)new wxEffects();
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17644 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxEffects
*arg1
= (wxEffects
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 wxColour
* resultptr
;
17665 resultptr
= new wxColour((wxColour
&) result
);
17666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17674 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxEffects
*arg1
= (wxEffects
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 wxColour
* resultptr
;
17695 resultptr
= new wxColour((wxColour
&) result
);
17696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17704 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxEffects
*arg1
= (wxEffects
*) 0 ;
17708 PyObject
* obj0
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17724 wxColour
* resultptr
;
17725 resultptr
= new wxColour((wxColour
&) result
);
17726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17734 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxEffects
*arg1
= (wxEffects
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17754 wxColour
* resultptr
;
17755 resultptr
= new wxColour((wxColour
&) result
);
17756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17764 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxEffects
*arg1
= (wxEffects
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 char *kwnames
[] = {
17770 (char *) "self", NULL
17773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17784 wxColour
* resultptr
;
17785 resultptr
= new wxColour((wxColour
&) result
);
17786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17794 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxEffects
*arg1
= (wxEffects
*) 0 ;
17797 wxColour
*arg2
= 0 ;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self",(char *) "c", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 Py_INCREF(Py_None
); resultobj
= Py_None
;
17826 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxEffects
*arg1
= (wxEffects
*) 0 ;
17829 wxColour
*arg2
= 0 ;
17831 PyObject
* obj0
= 0 ;
17832 PyObject
* obj1
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self",(char *) "c", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17842 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 Py_INCREF(Py_None
); resultobj
= Py_None
;
17858 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxEffects
*arg1
= (wxEffects
*) 0 ;
17861 wxColour
*arg2
= 0 ;
17863 PyObject
* obj0
= 0 ;
17864 PyObject
* obj1
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self",(char *) "c", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxEffects
*arg1
= (wxEffects
*) 0 ;
17893 wxColour
*arg2
= 0 ;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "c", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17906 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 Py_INCREF(Py_None
); resultobj
= Py_None
;
17922 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxEffects
*arg1
= (wxEffects
*) 0 ;
17925 wxColour
*arg2
= 0 ;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self",(char *) "c", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17938 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 Py_INCREF(Py_None
); resultobj
= Py_None
;
17954 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxEffects
*arg1
= (wxEffects
*) 0 ;
17957 wxColour
*arg2
= 0 ;
17958 wxColour
*arg3
= 0 ;
17959 wxColour
*arg4
= 0 ;
17960 wxColour
*arg5
= 0 ;
17961 wxColour
*arg6
= 0 ;
17967 PyObject
* obj0
= 0 ;
17968 PyObject
* obj1
= 0 ;
17969 PyObject
* obj2
= 0 ;
17970 PyObject
* obj3
= 0 ;
17971 PyObject
* obj4
= 0 ;
17972 PyObject
* obj5
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17986 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17990 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17994 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17998 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 Py_INCREF(Py_None
); resultobj
= Py_None
;
18014 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxEffects
*arg1
= (wxEffects
*) 0 ;
18019 int arg4
= (int) 1 ;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 PyObject
* obj2
= 0 ;
18024 PyObject
* obj3
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18035 if (arg2
== NULL
) {
18036 PyErr_SetString(PyExc_TypeError
,"null reference");
18041 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18044 arg4
= (int) SWIG_AsInt(obj3
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 Py_INCREF(Py_None
); resultobj
= Py_None
;
18061 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxEffects
*arg1
= (wxEffects
*) 0 ;
18066 wxBitmap
*arg4
= 0 ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 PyObject
* obj2
= 0 ;
18072 PyObject
* obj3
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18082 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18084 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18087 if (arg3
== NULL
) {
18088 PyErr_SetString(PyExc_TypeError
,"null reference");
18091 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18094 if (arg4
== NULL
) {
18095 PyErr_SetString(PyExc_TypeError
,"null reference");
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18114 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18117 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18119 return Py_BuildValue((char *)"");
18121 static PyMethodDef SwigMethods
[] = {
18122 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18123 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18124 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18125 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18126 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18127 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18128 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18129 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18130 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18131 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18132 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18133 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18134 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18135 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18136 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18137 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18138 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18139 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18140 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18141 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18142 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18143 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18144 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18145 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18146 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18147 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18148 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18149 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18150 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18151 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18152 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18153 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18154 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18155 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18156 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18157 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18158 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18159 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18160 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18161 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18162 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18163 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18164 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18165 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18166 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18167 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18168 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18169 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18170 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18171 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18172 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18173 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18174 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18177 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18178 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18179 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18180 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18181 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18182 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18184 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18185 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18186 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18191 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18195 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18196 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18197 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18198 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18201 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18202 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18203 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18206 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18208 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18210 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18211 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18213 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18215 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18217 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18221 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18226 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18229 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18231 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18234 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18235 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18242 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18248 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18275 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18289 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18313 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18322 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18342 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18379 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18387 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18394 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18416 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18418 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18426 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18555 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18559 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18560 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18561 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18564 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18566 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18571 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18573 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18575 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18577 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18579 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18585 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18587 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18589 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18591 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18603 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18608 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18613 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18620 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18625 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18644 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18646 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18647 return (void *)((wxWindow
*) ((wxControl
*) x
));
18649 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18650 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18652 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18653 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18655 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18656 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18658 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18659 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18661 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18662 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18664 static void *_p_wxPenTo_p_wxObject(void *x
) {
18665 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18667 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18668 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18670 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18671 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18673 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18674 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18676 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18677 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18679 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18682 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18683 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18685 static void *_p_wxIconTo_p_wxObject(void *x
) {
18686 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18688 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18689 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18691 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18692 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18694 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18695 return (void *)((wxObject
*) ((wxSizer
*) x
));
18697 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18698 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18700 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18703 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18704 return (void *)((wxObject
*) ((wxPenList
*) x
));
18706 static void *_p_wxEventTo_p_wxObject(void *x
) {
18707 return (void *)((wxObject
*) ((wxEvent
*) x
));
18709 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18710 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18712 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18713 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18715 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18716 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18718 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18719 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18721 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18722 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18724 static void *_p_wxDCTo_p_wxObject(void *x
) {
18725 return (void *)((wxObject
*) ((wxDC
*) x
));
18727 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18728 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18730 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18731 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18733 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18734 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18736 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18737 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18739 static void *_p_wxControlTo_p_wxObject(void *x
) {
18740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18742 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18743 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18745 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18746 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18748 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18749 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18751 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18752 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18754 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18755 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18757 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18760 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18763 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18766 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18767 return (void *)((wxObject
*) ((wxEffects
*) x
));
18769 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18770 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18772 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18775 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18776 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18778 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18779 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18781 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18782 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18784 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18785 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18787 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18790 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18791 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18793 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18794 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18796 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18797 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18799 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18800 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18802 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18803 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18805 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18806 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18808 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18809 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18811 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18812 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18814 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18815 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18817 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18818 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18820 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18821 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18823 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18824 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18826 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18827 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18829 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18830 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18832 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18833 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18835 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18836 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18838 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18839 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18841 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18842 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18844 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18845 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18847 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18848 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18850 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18851 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18853 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18854 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18856 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18857 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18859 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18860 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18862 static void *_p_wxImageTo_p_wxObject(void *x
) {
18863 return (void *)((wxObject
*) ((wxImage
*) x
));
18865 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18866 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18868 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18869 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18871 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18872 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18874 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18875 return (void *)((wxObject
*) ((wxImageList
*) x
));
18877 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18878 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18880 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18881 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18883 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18884 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18886 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18889 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18890 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18892 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18893 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18895 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18896 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18898 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18899 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18901 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18904 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18907 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18910 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18913 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18916 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) ((wxMask
*) x
));
18919 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18922 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18925 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18928 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18931 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18934 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18937 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18940 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18943 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18946 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18949 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18952 static void *_p_wxFontTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18955 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18958 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18961 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18964 static void *_p_wxColourTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) ((wxColour
*) x
));
18967 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) ((wxFontList
*) x
));
18970 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18973 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18976 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18977 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18979 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18980 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18982 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18983 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18985 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18986 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18988 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18989 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18991 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18992 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18994 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18995 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18997 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18998 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19000 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19001 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19003 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19004 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19006 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19007 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19009 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19010 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19012 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19013 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19015 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19016 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19018 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19019 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19021 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19022 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19024 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19025 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19027 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19028 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19030 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19031 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19033 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19034 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19036 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0, 0, 0, 0},{"_p_wxPostScriptDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19037 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19038 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19039 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19040 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0, 0, 0, 0},{"_p_wxMirrorDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19041 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19042 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0, 0, 0, 0},{"_p_wxPyFontEnumerator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19043 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19044 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0, 0, 0, 0},{"_p_wxIconLocation", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19045 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19046 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0, 0, 0, 0},{"_p_wxMetaFileDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19047 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19048 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19049 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19050 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19051 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19052 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19053 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0, 0, 0, 0},{"_p_wxFontMapper", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19054 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0, 0, 0, 0},{"_p_wxEffects", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19055 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0, 0, 0, 0},{"_p_wxNativeEncodingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19056 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19057 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19058 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19059 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0, 0, 0, 0},{"_p_wxRegionIterator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19060 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19061 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19062 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0, 0, 0, 0},{"_p_wxPrinterDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19063 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19064 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19065 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0, 0, 0, 0},{"_p_wxDash", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19066 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0, 0, 0, 0},{"_p_wxScreenDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19067 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19068 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0, 0, 0, 0},{"_p_wxClientDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19069 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19070 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19071 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19072 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19073 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19074 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0, 0, 0, 0},{"_p_wxLocale", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19075 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19076 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19077 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19078 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0, 0, 0, 0},{"_p_wxWindowDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19079 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19080 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0, 0, 0, 0},{"_p_wxBrushList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19081 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19082 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19083 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0, 0, 0, 0},{"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19084 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0, 0, 0, 0},{"_p_wxPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19085 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19086 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19087 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0, 0, 0, 0},{"_p_wxMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19088 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0, 0, 0, 0},{"_p_wxNativeFontInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19089 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0, 0, 0, 0},{"_p_wxEncodingConverter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19090 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0, 0, 0, 0},{"_p_wxColourDatabase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19092 static swig_type_info
*swig_types_initial
[] = {
19093 _swigt__p_wxPostScriptDC
,
19095 _swigt__p_wxColour
,
19097 _swigt__p_wxMirrorDC
,
19099 _swigt__p_wxPyFontEnumerator
,
19101 _swigt__p_wxIconLocation
,
19103 _swigt__p_wxMetaFileDC
,
19107 _swigt__p_wxWindow
,
19109 _swigt__p_wxMemoryDC
,
19110 _swigt__p_wxFontMapper
,
19111 _swigt__p_wxEffects
,
19112 _swigt__p_wxNativeEncodingInfo
,
19113 _swigt__p_wxPalette
,
19114 _swigt__p_wxBitmap
,
19115 _swigt__p_wxObject
,
19116 _swigt__p_wxRegionIterator
,
19118 _swigt__p_wxString
,
19119 _swigt__p_wxPrinterDC
,
19120 _swigt__p_wxIconBundle
,
19123 _swigt__p_wxScreenDC
,
19124 _swigt__p_wxCursor
,
19125 _swigt__p_wxClientDC
,
19126 _swigt__p_wxBufferedDC
,
19127 _swigt__p_wxImageList
,
19128 _swigt__p_unsigned_char
,
19129 _swigt__p_wxGDIObject
,
19131 _swigt__p_wxLocale
,
19132 _swigt__p_wxRegion
,
19133 _swigt__p_wxLanguageInfo
,
19134 _swigt__p_wxConfigBase
,
19135 _swigt__p_wxWindowDC
,
19136 _swigt__p_wxPrintData
,
19137 _swigt__p_wxBrushList
,
19138 _swigt__p_wxFontList
,
19140 _swigt__p_wxBufferedPaintDC
,
19141 _swigt__p_wxPaintDC
,
19142 _swigt__p_wxPenList
,
19144 _swigt__p_wxMetaFile
,
19145 _swigt__p_wxNativeFontInfo
,
19146 _swigt__p_wxEncodingConverter
,
19147 _swigt__p_wxColourDatabase
,
19152 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19154 static swig_const_info swig_const_table
[] = {
19164 SWIGEXPORT(void) SWIG_init(void) {
19165 static PyObject
*SWIG_globals
= 0;
19166 static int typeinit
= 0;
19169 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19170 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19171 d
= PyModule_GetDict(m
);
19174 for (i
= 0; swig_types_initial
[i
]; i
++) {
19175 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19179 SWIG_InstallConstants(d
,swig_const_table
);
19181 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19182 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19183 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19184 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19185 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19186 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19187 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19188 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19189 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19190 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19191 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19192 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19193 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19194 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19195 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19196 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19197 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19198 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19199 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19200 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19201 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19202 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19203 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19204 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19205 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19206 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19207 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19208 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19209 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19210 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19211 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19212 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19213 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19214 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19215 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19216 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19217 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19218 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19219 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19220 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19221 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19222 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19223 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19224 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19225 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19226 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19227 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19228 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19229 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19230 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19231 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19232 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19233 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19234 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19235 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19236 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19237 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19238 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19239 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19240 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19241 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19242 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19243 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19244 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19245 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19246 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19247 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19248 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19249 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19250 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19251 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19252 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19253 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19254 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19255 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19256 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19257 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19258 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19259 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19260 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19261 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19262 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19263 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19264 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19265 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19266 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19267 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19268 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19269 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19270 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19271 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19272 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19273 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19274 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19275 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19276 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19277 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19278 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19279 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19280 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19281 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19282 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19283 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19284 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19285 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19286 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19287 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19288 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19289 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19290 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19291 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19292 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19293 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19294 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19295 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19296 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19297 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19298 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19299 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19300 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19301 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19302 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19303 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19304 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19305 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19306 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19307 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19309 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19311 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19312 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19313 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19314 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19315 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19316 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19317 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19318 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19319 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19320 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19321 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19322 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19323 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19324 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19325 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19326 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19327 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19328 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19329 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19330 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19331 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19332 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19333 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19334 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19335 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19336 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19337 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19338 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19339 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19340 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19341 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19342 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19343 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19344 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19345 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19346 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19347 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19348 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19349 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19350 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19351 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19352 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19353 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19354 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19355 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19356 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19357 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19358 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19359 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19360 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19361 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19362 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19363 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19364 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19365 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19366 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19367 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19368 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19369 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19370 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19371 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19372 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19373 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19374 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19375 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19376 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19377 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19378 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19379 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19380 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19381 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19382 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19383 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19384 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19385 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19386 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19387 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19388 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19389 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19390 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19391 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19392 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19393 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19394 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19395 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19396 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19397 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19398 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19399 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19400 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19401 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19402 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19403 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19404 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19405 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19406 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19407 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19408 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19409 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19410 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19411 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19412 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19413 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19414 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19415 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19416 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19417 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19418 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19419 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19420 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19421 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19422 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19423 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19424 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19425 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19426 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19427 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19428 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19429 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19430 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19431 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19432 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19433 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19434 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19435 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19436 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19437 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19438 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19439 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19440 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19441 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19442 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19443 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19444 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19445 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19446 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19447 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19448 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19449 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19450 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19451 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19452 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19453 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19454 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19455 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19456 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19457 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19458 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19459 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19460 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19461 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19462 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19463 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19464 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19465 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19466 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19467 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19468 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19469 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19470 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19471 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19472 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19473 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19474 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19475 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19476 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19477 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19478 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19479 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19480 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19481 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19482 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19483 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19484 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19485 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19486 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19487 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19488 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19489 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19490 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19491 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19492 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19493 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19494 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19495 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19496 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19497 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19498 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19499 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19500 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19501 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19502 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19503 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19504 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19505 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19506 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19507 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19508 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19509 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19510 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19511 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19512 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19513 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19514 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19515 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19516 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19517 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19518 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19519 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19520 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19521 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19522 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19523 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19524 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19525 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19526 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19527 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19528 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19529 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19530 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19531 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19532 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19533 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19534 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19535 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19536 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19537 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19538 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19539 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19540 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19541 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19542 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19543 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19544 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19545 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19546 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19547 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19548 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19549 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19550 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19551 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19552 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19553 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19554 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19555 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19556 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19557 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19558 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19559 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19560 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19561 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19562 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19563 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19564 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19565 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19566 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19567 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19568 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19569 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19570 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19571 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19572 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19573 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19574 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19575 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19576 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19577 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19578 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19579 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19580 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19581 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19582 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19583 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19584 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19585 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19586 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19587 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19588 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19589 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19590 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19591 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19592 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19593 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19594 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19595 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19596 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19597 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19598 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19599 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19600 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19601 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19602 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19603 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19604 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19605 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19606 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19607 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19608 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19609 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19610 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19612 // Work around a chicken/egg problem in drawlist.cpp
19613 wxPyDrawList_SetAPIPtr();