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_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxWindow swig_types[13]
223 #define SWIGTYPE_p_wxSize 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_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(unsigned long)
367 SWIG_AsUnsignedLong(PyObject
* obj
)
369 if (PyLong_Check(obj
)) {
370 return PyLong_AsUnsignedLong(obj
);
372 long i
= PyInt_AsLong(obj
);
373 if ( !PyErr_Occurred() && (i
< 0)) {
374 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
381 SWIGSTATICINLINE(unsigned char)
382 SWIG_AsUnsignedChar(PyObject
*obj
)
384 return swig_numeric_cast(unsigned char,
385 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
386 "unsigned char", UCHAR_MAX
));
390 SWIGSTATICINLINE(int)
391 SWIG_CheckUnsignedChar(PyObject
* obj
)
393 SWIG_AsUnsignedChar(obj
);
394 if (PyErr_Occurred()) {
403 SWIGSTATICINLINE(int)
404 SWIG_CheckUnsignedLong(PyObject
* obj
)
406 SWIG_AsUnsignedLong(obj
);
407 if (PyErr_Occurred()) {
415 PyObject
*wxColour_Get(wxColour
*self
){
416 PyObject
* rv
= PyTuple_New(3);
422 green
= self
->Green();
425 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
426 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
427 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
430 unsigned long wxColour_GetRGB(wxColour
*self
){
431 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
434 SWIGSTATICINLINE(PyObject
* )
435 SWIG_FromUnsignedLong(unsigned long value
)
437 return (value
> LONG_MAX
) ?
438 PyLong_FromUnsignedLong(value
)
439 : PyInt_FromLong(swig_numeric_cast(long,value
));
443 SWIGSTATICINLINE(long)
444 SWIG_CheckLongInRange(long value
, const char* type
,
445 long min_value
, long max_value
)
447 if (!PyErr_Occurred()) {
448 if (value
< min_value
) {
450 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
451 value
, type
, min_value
);
453 PyErr_SetObject(PyExc_OverflowError
, err
);
455 } else if (value
> max_value
) {
457 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
458 value
, type
, max_value
);
459 PyErr_SetObject(PyExc_OverflowError
, err
);
467 SWIGSTATICINLINE(long)
468 SWIG_AsLong(PyObject
* obj
)
470 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
474 #if INT_MAX != LONG_MAX
475 SWIGSTATICINLINE(int)
476 SWIG_AsInt(PyObject
*obj
)
478 return swig_numeric_cast(int,
479 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
480 "int", INT_MIN
, INT_MAX
));
483 #define SWIG_AsInt SWIG_AsLong
487 SWIGSTATICINLINE(int)
488 SWIG_CheckInt(PyObject
* obj
)
491 if (PyErr_Occurred()) {
500 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
506 } else if (target
== Py_None
) {
510 if (!PyTuple_Check(target
)) {
512 target
= PyTuple_New(1);
513 PyTuple_SetItem(target
, 0, o2
);
516 PyTuple_SetItem(o3
, 0, o
);
519 target
= PySequence_Concat(o2
, o3
);
526 PyObject
*wxPen_GetDashes(wxPen
*self
){
528 int count
= self
->GetDashes(&dashes
);
529 wxPyBeginBlockThreads();
530 PyObject
* retval
= PyList_New(0);
531 for (int x
=0; x
<count
; x
++)
532 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
533 wxPyEndBlockThreads();
536 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
537 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
545 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
549 m_dash
= new wxDash
[nb_dashes
];
550 for (int i
=0; i
<nb_dashes
; i
++) {
553 wxPen::SetDashes(nb_dashes
, m_dash
);
557 SWIGSTATICINLINE(short)
558 SWIG_AsShort(PyObject
*obj
)
560 return swig_numeric_cast(short,
561 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
562 "short", SHRT_MIN
, SHRT_MAX
));
566 SWIGSTATICINLINE(int)
567 SWIG_CheckShort(PyObject
* obj
)
570 if (PyErr_Occurred()) {
579 #include <wx/image.h>
581 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
582 char** cArray
= NULL
;
585 if (!PyList_Check(listOfStrings
)) {
586 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
589 count
= PyList_Size(listOfStrings
);
590 cArray
= new char*[count
];
592 for(int x
=0; x
<count
; x
++) {
593 // TODO: Need some validation and error checking here
594 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
600 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
601 char** cArray
= NULL
;
604 cArray
= ConvertListOfStrings(listOfStrings
);
607 bmp
= new wxBitmap(cArray
);
611 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
614 PyString_AsStringAndSize(bits
, &buf
, &length
);
615 return new wxBitmap(buf
, width
, height
, depth
);
617 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
618 wxMask
*mask
= new wxMask(*self
, colour
);
621 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
623 return new wxMask(bitmap
, *wxBLACK
);
625 return new wxMask(bitmap
, colour
);
628 #include <wx/iconbndl.h>
630 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
631 wxIcon
* icon
= new wxIcon();
632 icon
->CopyFromBitmap(bmp
);
635 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
636 char** cArray
= NULL
;
639 cArray
= ConvertListOfStrings(listOfStrings
);
642 icon
= new wxIcon(cArray
);
646 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
650 return new wxIconLocation(*filename
);
653 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
660 int wxIconLocation_GetIndex(wxIconLocation
*self
){
668 SWIGSTATICINLINE(int)
669 SWIG_CheckLong(PyObject
* obj
)
672 if (PyErr_Occurred()) {
680 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
682 wxCHECK_MSG(False
, NULL
,
683 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
685 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
690 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
691 wxPyRaiseNotImplemented();
694 void wxRegionIterator_Next(wxRegionIterator
*self
){
697 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
698 return self
->operator bool();
701 #include <wx/fontutil.h>
702 #include <wx/fontmap.h>
703 #include <wx/fontenum.h>
705 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
706 return self
->ToString();
709 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
710 static wxNativeEncodingInfo info
;
711 if ( wxGetNativeFontEncoding(encoding
, &info
) )
717 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
718 wxFontEncoding alt_enc
;
719 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
720 return PyInt_FromLong(alt_enc
);
726 wxFont
*new_wxFont(wxString
const &info
){
727 wxNativeFontInfo nfi
;
728 nfi
.FromString(info
);
729 return new wxFont(nfi
);
731 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
732 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
734 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
735 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
737 class wxPyFontEnumerator
: public wxFontEnumerator
{
739 wxPyFontEnumerator() {}
740 ~wxPyFontEnumerator() {}
742 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
743 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
748 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
749 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
752 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
753 wxArrayString
* arr
= self
->GetEncodings();
754 return wxArrayString2PyList_helper(*arr
);
756 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
757 wxArrayString
* arr
= self
->GetFacenames();
758 return wxArrayString2PyList_helper(*arr
);
763 #include "wx/wxPython/pydrawxxx.h"
765 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
767 self
->GetPixel(x
, y
, &col
);
770 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
772 self
->GetPixel(pt
, &col
);
776 SWIGSTATICINLINE(double)
777 SWIG_AsDouble(PyObject
*obj
)
779 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
781 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
783 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
785 if (PyErr_Occurred()) {
787 PyErr_SetString(PyExc_TypeError
, "a double is expected");
793 SWIGSTATICINLINE(int)
794 SWIG_CheckDouble(PyObject
* obj
)
797 if (PyErr_Occurred()) {
805 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
807 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
810 wxRect
wxDC_GetClippingRect(wxDC
*self
){
812 self
->GetClippingBox(rect
);
815 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
817 self
->GetPartialTextExtents(text
, widths
);
820 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
821 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
823 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
824 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
826 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
827 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
829 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
830 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
832 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
833 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
835 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
836 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
839 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
847 //-=-=-=-=-=-=-=-=-=-=-
850 // Use the standard wxBufferedDC
851 #include <wx/dcbuffer.h>
855 // Or, temporarily put a set of classes here similar to the old buffered DC
856 // classes until the real ones can be fixed to work "correctly" again.
858 class wxBufferedDC
: public wxMemoryDC
866 wxBufferedDC() : m_dc( 0 ) {}
868 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
869 : m_dc( dc
), m_buffer( buffer
)
871 SelectObject( m_buffer
);
874 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
875 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
877 SelectObject( m_buffer
);
886 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
887 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
888 _T("wxBufferedDC already initialised") );
891 SelectObject( m_buffer
);
894 void Init( wxDC
*dc
, const wxSize
&area
) {
895 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
896 _T("wxBufferedDC already initialised") );
898 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
899 SelectObject( m_buffer
);
903 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
904 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
910 class wxBufferedPaintDC
: public wxBufferedDC
916 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
917 : m_paintdc( window
)
919 window
->PrepareDC( m_paintdc
);
921 if( buffer
!= wxNullBitmap
)
922 Init( &m_paintdc
, buffer
);
924 Init( &m_paintdc
, window
->GetClientSize() );
927 ~wxBufferedPaintDC() {
933 //-=-=-=-=-=-=-=-=-=-=-
939 class wxMetaFile
: public wxObject
{
941 wxMetaFile(const wxString
&)
942 { wxPyRaiseNotImplemented(); }
945 class wxMetaFileDC
: public wxClientDC
{
947 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
948 { wxPyRaiseNotImplemented(); }
954 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
955 self
->AddColour(name
, wxColour(red
, green
, blue
));
958 #include <wx/effects.h>
963 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
973 result
= (wxGDIObject
*)new wxGDIObject();
975 wxPyEndAllowThreads(__tstate
);
976 if (PyErr_Occurred()) SWIG_fail
;
978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
985 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
987 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
988 PyObject
* obj0
= 0 ;
990 (char *) "self", NULL
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1000 wxPyEndAllowThreads(__tstate
);
1001 if (PyErr_Occurred()) SWIG_fail
;
1003 Py_INCREF(Py_None
); resultobj
= Py_None
;
1010 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
*resultobj
;
1012 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1014 PyObject
* obj0
= 0 ;
1016 (char *) "self", NULL
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 result
= (bool)(arg1
)->GetVisible();
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) SWIG_fail
;
1029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1036 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
*resultobj
;
1038 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1040 PyObject
* obj0
= 0 ;
1041 PyObject
* obj1
= 0 ;
1043 (char *) "self",(char *) "visible", NULL
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1049 arg2
= (bool) SWIG_AsBool(obj1
);
1050 if (PyErr_Occurred()) SWIG_fail
;
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 (arg1
)->SetVisible(arg2
);
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) SWIG_fail
;
1058 Py_INCREF(Py_None
); resultobj
= Py_None
;
1065 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
*resultobj
;
1067 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1069 PyObject
* obj0
= 0 ;
1071 (char *) "self", NULL
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1079 result
= (bool)(arg1
)->IsNull();
1081 wxPyEndAllowThreads(__tstate
);
1082 if (PyErr_Occurred()) SWIG_fail
;
1084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1091 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1094 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1096 return Py_BuildValue((char *)"");
1098 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
*resultobj
;
1100 unsigned char arg1
= (unsigned char) 0 ;
1101 unsigned char arg2
= (unsigned char) 0 ;
1102 unsigned char arg3
= (unsigned char) 0 ;
1104 PyObject
* obj0
= 0 ;
1105 PyObject
* obj1
= 0 ;
1106 PyObject
* obj2
= 0 ;
1108 (char *) "red",(char *) "green",(char *) "blue", NULL
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1113 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1114 if (PyErr_Occurred()) SWIG_fail
;
1117 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1118 if (PyErr_Occurred()) SWIG_fail
;
1121 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1122 if (PyErr_Occurred()) SWIG_fail
;
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1138 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
*resultobj
;
1140 wxString
*arg1
= 0 ;
1142 bool temp1
= False
;
1143 PyObject
* obj0
= 0 ;
1145 (char *) "colorName", NULL
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1150 arg1
= wxString_in_helper(obj0
);
1151 if (arg1
== NULL
) SWIG_fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1176 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
*resultobj
;
1178 unsigned long arg1
;
1180 PyObject
* obj0
= 0 ;
1182 (char *) "colRGB", NULL
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1186 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1187 if (PyErr_Occurred()) SWIG_fail
;
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 result
= (wxColour
*)new wxColour(arg1
);
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) SWIG_fail
;
1195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1202 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1203 PyObject
*resultobj
;
1204 wxColour
*arg1
= (wxColour
*) 0 ;
1205 PyObject
* obj0
= 0 ;
1207 (char *) "self", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1220 Py_INCREF(Py_None
); resultobj
= Py_None
;
1227 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
*resultobj
;
1229 wxColour
*arg1
= (wxColour
*) 0 ;
1230 unsigned char result
;
1231 PyObject
* obj0
= 0 ;
1233 (char *) "self", NULL
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1241 result
= (unsigned char)(arg1
)->Red();
1243 wxPyEndAllowThreads(__tstate
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1246 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1253 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
*resultobj
;
1255 wxColour
*arg1
= (wxColour
*) 0 ;
1256 unsigned char result
;
1257 PyObject
* obj0
= 0 ;
1259 (char *) "self", NULL
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 result
= (unsigned char)(arg1
)->Green();
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) SWIG_fail
;
1272 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1279 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
*resultobj
;
1281 wxColour
*arg1
= (wxColour
*) 0 ;
1282 unsigned char result
;
1283 PyObject
* obj0
= 0 ;
1285 (char *) "self", NULL
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1293 result
= (unsigned char)(arg1
)->Blue();
1295 wxPyEndAllowThreads(__tstate
);
1296 if (PyErr_Occurred()) SWIG_fail
;
1298 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1305 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
*resultobj
;
1307 wxColour
*arg1
= (wxColour
*) 0 ;
1309 PyObject
* obj0
= 0 ;
1311 (char *) "self", NULL
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 result
= (bool)(arg1
)->Ok();
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1331 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
*resultobj
;
1333 wxColour
*arg1
= (wxColour
*) 0 ;
1334 unsigned char arg2
;
1335 unsigned char arg3
;
1336 unsigned char arg4
;
1337 PyObject
* obj0
= 0 ;
1338 PyObject
* obj1
= 0 ;
1339 PyObject
* obj2
= 0 ;
1340 PyObject
* obj3
= 0 ;
1342 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1348 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1350 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1352 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1353 if (PyErr_Occurred()) SWIG_fail
;
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 (arg1
)->Set(arg2
,arg3
,arg4
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1361 Py_INCREF(Py_None
); resultobj
= Py_None
;
1368 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxColour
*arg1
= (wxColour
*) 0 ;
1371 unsigned long arg2
;
1372 PyObject
* obj0
= 0 ;
1373 PyObject
* obj1
= 0 ;
1375 (char *) "self",(char *) "colRGB", NULL
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1381 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1382 if (PyErr_Occurred()) SWIG_fail
;
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1390 Py_INCREF(Py_None
); resultobj
= Py_None
;
1397 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
*resultobj
;
1399 wxColour
*arg1
= (wxColour
*) 0 ;
1400 wxString
*arg2
= 0 ;
1401 bool temp2
= False
;
1402 PyObject
* obj0
= 0 ;
1403 PyObject
* obj1
= 0 ;
1405 (char *) "self",(char *) "colourName", NULL
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1412 arg2
= wxString_in_helper(obj1
);
1413 if (arg2
== NULL
) SWIG_fail
;
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 (arg1
)->InitFromName((wxString
const &)*arg2
);
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) SWIG_fail
;
1423 Py_INCREF(Py_None
); resultobj
= Py_None
;
1438 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxColour
*arg1
= (wxColour
*) 0 ;
1442 PyObject
* obj0
= 0 ;
1444 (char *) "self", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1457 resultobj
= SWIG_FromLong((long)result
);
1464 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 wxColour
*arg1
= (wxColour
*) 0 ;
1467 wxColour
*arg2
= 0 ;
1470 PyObject
* obj0
= 0 ;
1471 PyObject
* obj1
= 0 ;
1473 (char *) "self",(char *) "colour", NULL
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1485 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1487 wxPyEndAllowThreads(__tstate
);
1488 if (PyErr_Occurred()) SWIG_fail
;
1490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1497 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
*resultobj
;
1499 wxColour
*arg1
= (wxColour
*) 0 ;
1500 wxColour
*arg2
= 0 ;
1503 PyObject
* obj0
= 0 ;
1504 PyObject
* obj1
= 0 ;
1506 (char *) "self",(char *) "colour", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1530 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
*resultobj
;
1532 wxColour
*arg1
= (wxColour
*) 0 ;
1534 PyObject
* obj0
= 0 ;
1536 (char *) "self", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 result
= (PyObject
*)wxColour_Get(arg1
);
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1556 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxColour
*arg1
= (wxColour
*) 0 ;
1559 unsigned long result
;
1560 PyObject
* obj0
= 0 ;
1562 (char *) "self", NULL
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 result
= (unsigned long)wxColour_GetRGB(arg1
);
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1575 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1582 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1585 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1587 return Py_BuildValue((char *)"");
1589 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1592 unsigned char *arg2
= (unsigned char *) 0 ;
1593 unsigned char *arg3
= (unsigned char *) 0 ;
1594 unsigned char *arg4
= (unsigned char *) 0 ;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1598 PyObject
* obj2
= 0 ;
1599 PyObject
* obj3
= 0 ;
1601 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1605 arg1
= (int) SWIG_AsInt(obj0
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1609 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1611 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1627 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxPalette
*arg1
= (wxPalette
*) 0 ;
1630 PyObject
* obj0
= 0 ;
1632 (char *) "self", NULL
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 Py_INCREF(Py_None
); resultobj
= Py_None
;
1652 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 wxPalette
*arg1
= (wxPalette
*) 0 ;
1659 PyObject
* obj0
= 0 ;
1660 PyObject
* obj1
= 0 ;
1661 PyObject
* obj2
= 0 ;
1662 PyObject
* obj3
= 0 ;
1664 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1670 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1672 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1674 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1683 resultobj
= SWIG_FromInt((int)result
);
1690 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
*resultobj
;
1692 wxPalette
*arg1
= (wxPalette
*) 0 ;
1694 byte
*arg3
= (byte
*) 0 ;
1695 byte
*arg4
= (byte
*) 0 ;
1696 byte
*arg5
= (byte
*) 0 ;
1701 PyObject
* obj0
= 0 ;
1702 PyObject
* obj1
= 0 ;
1704 (char *) "self",(char *) "pixel", NULL
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1713 arg2
= (int) SWIG_AsInt(obj1
);
1714 if (PyErr_Occurred()) SWIG_fail
;
1716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1717 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1719 wxPyEndAllowThreads(__tstate
);
1720 if (PyErr_Occurred()) SWIG_fail
;
1722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1724 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1725 resultobj
= t_output_helper(resultobj
,o
);
1728 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1729 resultobj
= t_output_helper(resultobj
,o
);
1732 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1733 resultobj
= t_output_helper(resultobj
,o
);
1741 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxPalette
*arg1
= (wxPalette
*) 0 ;
1745 PyObject
* obj0
= 0 ;
1747 (char *) "self", NULL
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 result
= (bool)(arg1
)->Ok();
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1767 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1770 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1772 return Py_BuildValue((char *)"");
1774 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxColour
*arg1
= 0 ;
1777 int arg2
= (int) 1 ;
1778 int arg3
= (int) wxSOLID
;
1781 PyObject
* obj0
= 0 ;
1782 PyObject
* obj1
= 0 ;
1783 PyObject
* obj2
= 0 ;
1785 (char *) "colour",(char *) "width",(char *) "style", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1791 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1794 arg2
= (int) SWIG_AsInt(obj1
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1798 arg3
= (int) SWIG_AsInt(obj2
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1815 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxPen
*arg1
= (wxPen
*) 0 ;
1818 PyObject
* obj0
= 0 ;
1820 (char *) "self", NULL
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 Py_INCREF(Py_None
); resultobj
= Py_None
;
1840 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxPen
*arg1
= (wxPen
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (int)(arg1
)->GetCap();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 resultobj
= SWIG_FromInt((int)result
);
1866 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxPen
*arg1
= (wxPen
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1872 (char *) "self", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1880 result
= (arg1
)->GetColour();
1882 wxPyEndAllowThreads(__tstate
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1886 wxColour
* resultptr
;
1887 resultptr
= new wxColour((wxColour
&) result
);
1888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1896 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1898 wxPen
*arg1
= (wxPen
*) 0 ;
1900 PyObject
* obj0
= 0 ;
1902 (char *) "self", NULL
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 result
= (int)(arg1
)->GetJoin();
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 resultobj
= SWIG_FromInt((int)result
);
1922 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxPen
*arg1
= (wxPen
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1928 (char *) "self", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 result
= (int)(arg1
)->GetStyle();
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1941 resultobj
= SWIG_FromInt((int)result
);
1948 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
*resultobj
;
1950 wxPen
*arg1
= (wxPen
*) 0 ;
1952 PyObject
* obj0
= 0 ;
1954 (char *) "self", NULL
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 result
= (int)(arg1
)->GetWidth();
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= SWIG_FromInt((int)result
);
1974 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxPen
*arg1
= (wxPen
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1980 (char *) "self", NULL
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 result
= (bool)(arg1
)->Ok();
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2000 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxPen
*arg1
= (wxPen
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2007 (char *) "self",(char *) "cap_style", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 arg2
= (int) SWIG_AsInt(obj1
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 (arg1
)->SetCap(arg2
);
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2022 Py_INCREF(Py_None
); resultobj
= Py_None
;
2029 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
*resultobj
;
2031 wxPen
*arg1
= (wxPen
*) 0 ;
2032 wxColour
*arg2
= 0 ;
2034 PyObject
* obj0
= 0 ;
2035 PyObject
* obj1
= 0 ;
2037 (char *) "self",(char *) "colour", NULL
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2049 (arg1
)->SetColour(*arg2
);
2051 wxPyEndAllowThreads(__tstate
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2054 Py_INCREF(Py_None
); resultobj
= Py_None
;
2061 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
*resultobj
;
2063 wxPen
*arg1
= (wxPen
*) 0 ;
2065 PyObject
* obj0
= 0 ;
2066 PyObject
* obj1
= 0 ;
2068 (char *) "self",(char *) "join_style", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2074 arg2
= (int) SWIG_AsInt(obj1
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 (arg1
)->SetJoin(arg2
);
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 Py_INCREF(Py_None
); resultobj
= Py_None
;
2090 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxPen
*arg1
= (wxPen
*) 0 ;
2094 PyObject
* obj0
= 0 ;
2095 PyObject
* obj1
= 0 ;
2097 (char *) "self",(char *) "style", NULL
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 arg2
= (int) SWIG_AsInt(obj1
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 (arg1
)->SetStyle(arg2
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 Py_INCREF(Py_None
); resultobj
= Py_None
;
2119 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxPen
*arg1
= (wxPen
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2124 PyObject
* obj1
= 0 ;
2126 (char *) "self",(char *) "width", NULL
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2132 arg2
= (int) SWIG_AsInt(obj1
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 (arg1
)->SetWidth(arg2
);
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2141 Py_INCREF(Py_None
); resultobj
= Py_None
;
2148 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxPen
*arg1
= (wxPen
*) 0 ;
2152 wxDash
*arg3
= (wxDash
*) 0 ;
2153 PyObject
* obj0
= 0 ;
2154 PyObject
* obj1
= 0 ;
2156 (char *) "self",(char *) "dashes", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 arg2
= PyList_Size(obj1
);
2164 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2165 if (arg3
== NULL
) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 (arg1
)->SetDashes(arg2
,arg3
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 Py_INCREF(Py_None
); resultobj
= Py_None
;
2176 if (arg3
) delete [] arg3
;
2181 if (arg3
) delete [] arg3
;
2187 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2189 wxPen
*arg1
= (wxPen
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2193 (char *) "self", NULL
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2213 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxPen
*arg1
= (wxPen
*) 0 ;
2216 wxPen
*arg2
= (wxPen
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2219 PyObject
* obj1
= 0 ;
2221 (char *) "self",(char *) "other", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2243 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxPen
*arg1
= (wxPen
*) 0 ;
2246 wxPen
*arg2
= (wxPen
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2249 PyObject
* obj1
= 0 ;
2251 (char *) "self",(char *) "other", NULL
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2273 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2276 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2278 return Py_BuildValue((char *)"");
2280 static PyObject
*_wrap_new_PyPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2282 wxColour
*arg1
= 0 ;
2283 int arg2
= (int) 1 ;
2284 int arg3
= (int) wxSOLID
;
2287 PyObject
* obj0
= 0 ;
2288 PyObject
* obj1
= 0 ;
2289 PyObject
* obj2
= 0 ;
2291 (char *) "colour",(char *) "width",(char *) "style", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2297 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2300 arg2
= (int) SWIG_AsInt(obj1
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2304 arg3
= (int) SWIG_AsInt(obj2
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2321 static PyObject
*_wrap_delete_PyPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2324 PyObject
* obj0
= 0 ;
2326 (char *) "self", NULL
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
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_PyPen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2350 wxDash
*arg3
= (wxDash
*) 0 ;
2351 PyObject
* obj0
= 0 ;
2352 PyObject
* obj1
= 0 ;
2354 (char *) "self",(char *) "dashes", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2361 arg2
= PyList_Size(obj1
);
2362 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2363 if (arg3
== NULL
) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 (arg1
)->SetDashes(arg2
,arg3
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 Py_INCREF(Py_None
); resultobj
= Py_None
;
2374 if (arg3
) delete [] arg3
;
2379 if (arg3
) delete [] arg3
;
2385 static PyObject
* PyPen_swigregister(PyObject
*, PyObject
*args
) {
2387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2388 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2390 return Py_BuildValue((char *)"");
2392 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxColour
*arg1
= 0 ;
2395 int arg2
= (int) wxSOLID
;
2398 PyObject
* obj0
= 0 ;
2399 PyObject
* obj1
= 0 ;
2401 (char *) "colour",(char *) "style", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2407 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2410 arg2
= (int) SWIG_AsInt(obj1
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2427 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxBrush
*arg1
= (wxBrush
*) 0 ;
2430 PyObject
* obj0
= 0 ;
2432 (char *) "self", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2445 Py_INCREF(Py_None
); resultobj
= Py_None
;
2452 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxBrush
*arg1
= (wxBrush
*) 0 ;
2455 wxColour
*arg2
= 0 ;
2457 PyObject
* obj0
= 0 ;
2458 PyObject
* obj1
= 0 ;
2460 (char *) "self",(char *) "col", NULL
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2468 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 (arg1
)->SetColour((wxColour
const &)*arg2
);
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 Py_INCREF(Py_None
); resultobj
= Py_None
;
2484 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxBrush
*arg1
= (wxBrush
*) 0 ;
2488 PyObject
* obj0
= 0 ;
2489 PyObject
* obj1
= 0 ;
2491 (char *) "self",(char *) "style", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2497 arg2
= (int) SWIG_AsInt(obj1
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 (arg1
)->SetStyle(arg2
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 Py_INCREF(Py_None
); resultobj
= Py_None
;
2513 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxBrush
*arg1
= (wxBrush
*) 0 ;
2516 wxBitmap
*arg2
= 0 ;
2517 PyObject
* obj0
= 0 ;
2518 PyObject
* obj1
= 0 ;
2520 (char *) "self",(char *) "stipple", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2530 PyErr_SetString(PyExc_TypeError
,"null reference");
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2540 Py_INCREF(Py_None
); resultobj
= Py_None
;
2547 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2549 wxBrush
*arg1
= (wxBrush
*) 0 ;
2551 PyObject
* obj0
= 0 ;
2553 (char *) "self", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 result
= ((wxBrush
const *)arg1
)->GetColour();
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2567 wxColour
* resultptr
;
2568 resultptr
= new wxColour((wxColour
&) result
);
2569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2577 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxBrush
*arg1
= (wxBrush
*) 0 ;
2581 PyObject
* obj0
= 0 ;
2583 (char *) "self", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 resultobj
= SWIG_FromInt((int)result
);
2603 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxBrush
*arg1
= (wxBrush
*) 0 ;
2607 PyObject
* obj0
= 0 ;
2609 (char *) "self", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2629 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxBrush
*arg1
= (wxBrush
*) 0 ;
2633 PyObject
* obj0
= 0 ;
2635 (char *) "self", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= (bool)(arg1
)->Ok();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2655 static PyObject
*_wrap_Brush_GetMacTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxBrush
*arg1
= (wxBrush
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetMacTheme",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (short)(arg1
)->GetMacTheme();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_FromShort((short)result
);
2681 static PyObject
*_wrap_Brush_SetMacTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxBrush
*arg1
= (wxBrush
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2688 (char *) "self",(char *) "macThemeBrush", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetMacTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 arg2
= (short) SWIG_AsShort(obj1
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 (arg1
)->SetMacTheme(arg2
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2703 Py_INCREF(Py_None
); resultobj
= Py_None
;
2710 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2713 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2715 return Py_BuildValue((char *)"");
2717 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxString
*arg1
= 0 ;
2720 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2722 bool temp1
= False
;
2723 PyObject
* obj0
= 0 ;
2724 PyObject
* obj1
= 0 ;
2726 (char *) "name",(char *) "type", NULL
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2731 arg1
= wxString_in_helper(obj0
);
2732 if (arg1
== NULL
) SWIG_fail
;
2736 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2761 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2764 PyObject
* obj0
= 0 ;
2766 (char *) "self", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2790 int arg3
= (int) -1 ;
2792 PyObject
* obj0
= 0 ;
2793 PyObject
* obj1
= 0 ;
2794 PyObject
* obj2
= 0 ;
2796 (char *) "width",(char *) "height",(char *) "depth", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2800 arg1
= (int) SWIG_AsInt(obj0
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2802 arg2
= (int) SWIG_AsInt(obj1
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2805 arg3
= (int) SWIG_AsInt(obj2
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2822 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
*resultobj
;
2826 PyObject
* obj0
= 0 ;
2828 (char *) "icon", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2836 PyErr_SetString(PyExc_TypeError
,"null reference");
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2853 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
*resultobj
;
2856 int arg2
= (int) -1 ;
2858 PyObject
* obj0
= 0 ;
2859 PyObject
* obj1
= 0 ;
2861 (char *) "image",(char *) "depth", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2869 PyErr_SetString(PyExc_TypeError
,"null reference");
2873 arg2
= (int) SWIG_AsInt(obj1
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2890 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 PyObject
*arg1
= (PyObject
*) 0 ;
2894 PyObject
* obj0
= 0 ;
2896 (char *) "listOfStrings", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2915 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 PyObject
*arg1
= (PyObject
*) 0 ;
2920 int arg4
= (int) 1 ;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2924 PyObject
* obj2
= 0 ;
2925 PyObject
* obj3
= 0 ;
2927 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2932 arg2
= (int) SWIG_AsInt(obj1
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2934 arg3
= (int) SWIG_AsInt(obj2
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 arg4
= (int) SWIG_AsInt(obj3
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2954 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2960 (char *) "self", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= (bool)(arg1
)->Ok();
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2980 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2984 PyObject
* obj0
= 0 ;
2986 (char *) "self", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 result
= (int)(arg1
)->GetWidth();
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) SWIG_fail
;
2999 resultobj
= SWIG_FromInt((int)result
);
3006 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "self", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= (int)(arg1
)->GetHeight();
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 resultobj
= SWIG_FromInt((int)result
);
3032 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3038 (char *) "self", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 result
= (int)(arg1
)->GetDepth();
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 resultobj
= SWIG_FromInt((int)result
);
3058 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3061 SwigValueWrapper
< wxImage
> result
;
3062 PyObject
* obj0
= 0 ;
3064 (char *) "self", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3078 wxImage
* resultptr
;
3079 resultptr
= new wxImage((wxImage
&) result
);
3080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3088 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3092 PyObject
* obj0
= 0 ;
3094 (char *) "self", NULL
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3114 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3117 wxMask
*arg2
= (wxMask
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "mask", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 (arg1
)->SetMask(arg2
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3136 Py_INCREF(Py_None
); resultobj
= Py_None
;
3143 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
*resultobj
;
3145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3146 wxColour
*arg2
= 0 ;
3148 PyObject
* obj0
= 0 ;
3149 PyObject
* obj1
= 0 ;
3151 (char *) "self",(char *) "colour", NULL
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3159 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 Py_INCREF(Py_None
); resultobj
= Py_None
;
3175 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3179 SwigValueWrapper
< wxBitmap
> result
;
3181 PyObject
* obj0
= 0 ;
3182 PyObject
* obj1
= 0 ;
3184 (char *) "self",(char *) "rect", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3192 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3202 wxBitmap
* resultptr
;
3203 resultptr
= new wxBitmap((wxBitmap
&) result
);
3204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3212 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3215 wxString
*arg2
= 0 ;
3217 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3219 bool temp2
= False
;
3220 PyObject
* obj0
= 0 ;
3221 PyObject
* obj1
= 0 ;
3222 PyObject
* obj2
= 0 ;
3223 PyObject
* obj3
= 0 ;
3225 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 arg2
= wxString_in_helper(obj1
);
3233 if (arg2
== NULL
) SWIG_fail
;
3236 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3239 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3264 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
*resultobj
;
3266 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3267 wxString
*arg2
= 0 ;
3270 bool temp2
= False
;
3271 PyObject
* obj0
= 0 ;
3272 PyObject
* obj1
= 0 ;
3273 PyObject
* obj2
= 0 ;
3275 (char *) "self",(char *) "name",(char *) "type", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3282 arg2
= wxString_in_helper(obj1
);
3283 if (arg2
== NULL
) SWIG_fail
;
3286 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3310 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3318 (char *) "self",(char *) "icon", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3328 PyErr_SetString(PyExc_TypeError
,"null reference");
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3345 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3352 (char *) "self",(char *) "height", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3358 arg2
= (int) SWIG_AsInt(obj1
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 (arg1
)->SetHeight(arg2
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "width", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= (int) SWIG_AsInt(obj1
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 (arg1
)->SetWidth(arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3408 PyObject
* obj1
= 0 ;
3410 (char *) "self",(char *) "depth", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3416 arg2
= (int) SWIG_AsInt(obj1
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SetDepth(arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3435 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3437 return Py_BuildValue((char *)"");
3439 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxBitmap
*arg1
= 0 ;
3442 wxColour
const &arg2_defvalue
= wxNullColour
;
3443 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj1
= 0 ;
3449 (char *) "bitmap",(char *) "colour", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3457 PyErr_SetString(PyExc_TypeError
,"null reference");
3463 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3480 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3483 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3485 return Py_BuildValue((char *)"");
3487 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxString
*arg1
= 0 ;
3491 int arg3
= (int) -1 ;
3492 int arg4
= (int) -1 ;
3494 bool temp1
= False
;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3497 PyObject
* obj2
= 0 ;
3498 PyObject
* obj3
= 0 ;
3500 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3505 arg1
= wxString_in_helper(obj0
);
3506 if (arg1
== NULL
) SWIG_fail
;
3509 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 arg3
= (int) SWIG_AsInt(obj2
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3516 arg4
= (int) SWIG_AsInt(obj3
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3541 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxIcon
*arg1
= (wxIcon
*) 0 ;
3544 PyObject
* obj0
= 0 ;
3546 (char *) "self", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 Py_INCREF(Py_None
); resultobj
= Py_None
;
3566 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (wxIcon
*)new wxIcon();
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3588 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxIconLocation
*arg1
= 0 ;
3592 PyObject
* obj0
= 0 ;
3594 (char *) "loc", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3602 PyErr_SetString(PyExc_TypeError
,"null reference");
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3619 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxBitmap
*arg1
= 0 ;
3623 PyObject
* obj0
= 0 ;
3625 (char *) "bmp", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3633 PyErr_SetString(PyExc_TypeError
,"null reference");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3650 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 PyObject
*arg1
= (PyObject
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3656 (char *) "listOfStrings", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= (wxIcon
*)new_wxIcon(arg1
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3675 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxIcon
*arg1
= (wxIcon
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3681 (char *) "self", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= (bool)(arg1
)->Ok();
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3701 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxIcon
*arg1
= (wxIcon
*) 0 ;
3705 PyObject
* obj0
= 0 ;
3707 (char *) "self", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= (int)(arg1
)->GetWidth();
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= SWIG_FromInt((int)result
);
3727 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxIcon
*arg1
= (wxIcon
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "self", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= (int)(arg1
)->GetHeight();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= SWIG_FromInt((int)result
);
3753 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxIcon
*arg1
= (wxIcon
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "self", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= (int)(arg1
)->GetDepth();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 resultobj
= SWIG_FromInt((int)result
);
3779 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxIcon
*arg1
= (wxIcon
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3786 (char *) "self",(char *) "w", NULL
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3792 arg2
= (int) SWIG_AsInt(obj1
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 (arg1
)->SetWidth(arg2
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxIcon
*arg1
= (wxIcon
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3813 PyObject
* obj1
= 0 ;
3815 (char *) "self",(char *) "h", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 arg2
= (int) SWIG_AsInt(obj1
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 (arg1
)->SetHeight(arg2
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 Py_INCREF(Py_None
); resultobj
= Py_None
;
3837 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxIcon
*arg1
= (wxIcon
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3842 PyObject
* obj1
= 0 ;
3844 (char *) "self",(char *) "d", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3850 arg2
= (int) SWIG_AsInt(obj1
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 (arg1
)->SetDepth(arg2
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 Py_INCREF(Py_None
); resultobj
= Py_None
;
3866 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
;
3868 wxIcon
*arg1
= (wxIcon
*) 0 ;
3869 wxBitmap
*arg2
= 0 ;
3870 PyObject
* obj0
= 0 ;
3871 PyObject
* obj1
= 0 ;
3873 (char *) "self",(char *) "bmp", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3883 PyErr_SetString(PyExc_TypeError
,"null reference");
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
3902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3903 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3905 return Py_BuildValue((char *)"");
3907 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
*resultobj
;
3909 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3910 int arg2
= (int) 0 ;
3911 wxIconLocation
*result
;
3912 bool temp1
= False
;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3916 (char *) "filename",(char *) "num", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3922 arg1
= wxString_in_helper(obj0
);
3923 if (arg1
== NULL
) SWIG_fail
;
3928 arg2
= (int) SWIG_AsInt(obj1
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3953 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3958 (char *) "self", NULL
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3982 PyObject
* obj0
= 0 ;
3984 (char *) "self", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4004 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4007 wxString
*arg2
= 0 ;
4008 bool temp2
= False
;
4009 PyObject
* obj0
= 0 ;
4010 PyObject
* obj1
= 0 ;
4012 (char *) "self",(char *) "filename", NULL
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4019 arg2
= wxString_in_helper(obj1
);
4020 if (arg2
== NULL
) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 (arg1
)->SetFileName((wxString
const &)*arg2
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 Py_INCREF(Py_None
); resultobj
= Py_None
;
4045 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "self", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4061 result
= (wxString
*) &_result_ref
;
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4080 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4085 PyObject
* obj1
= 0 ;
4087 (char *) "self",(char *) "num", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 arg2
= (int) SWIG_AsInt(obj1
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 wxIconLocation_SetIndex(arg1
,arg2
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 Py_INCREF(Py_None
); resultobj
= Py_None
;
4109 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4113 PyObject
* obj0
= 0 ;
4115 (char *) "self", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (int)wxIconLocation_GetIndex(arg1
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_FromInt((int)result
);
4135 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4138 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4140 return Py_BuildValue((char *)"");
4142 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxIconBundle
*result
;
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (wxIconBundle
*)new wxIconBundle();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4164 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxString
*arg1
= 0 ;
4168 wxIconBundle
*result
;
4169 bool temp1
= False
;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4173 (char *) "file",(char *) "type", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4178 arg1
= wxString_in_helper(obj0
);
4179 if (arg1
== NULL
) SWIG_fail
;
4182 arg2
= (long) SWIG_AsLong(obj1
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4206 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4209 wxIconBundle
*result
;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "icon", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4220 PyErr_SetString(PyExc_TypeError
,"null reference");
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4237 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "self", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4267 PyObject
* obj1
= 0 ;
4269 (char *) "self",(char *) "icon", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4279 PyErr_SetString(PyExc_TypeError
,"null reference");
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4289 Py_INCREF(Py_None
); resultobj
= Py_None
;
4296 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
*resultobj
;
4298 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4299 wxString
*arg2
= 0 ;
4301 bool temp2
= False
;
4302 PyObject
* obj0
= 0 ;
4303 PyObject
* obj1
= 0 ;
4304 PyObject
* obj2
= 0 ;
4306 (char *) "self",(char *) "file",(char *) "type", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4313 arg2
= wxString_in_helper(obj1
);
4314 if (arg2
== NULL
) SWIG_fail
;
4317 arg3
= (long) SWIG_AsLong(obj2
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 Py_INCREF(Py_None
); resultobj
= Py_None
;
4341 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4350 (char *) "self",(char *) "size", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4358 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4364 result
= (wxIcon
*) &_result_ref
;
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 0);
4377 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4380 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4382 return Py_BuildValue((char *)"");
4384 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxString
*arg1
= (wxString
*) 0 ;
4388 int arg3
= (int) 0 ;
4389 int arg4
= (int) 0 ;
4391 bool temp1
= False
;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4394 PyObject
* obj2
= 0 ;
4395 PyObject
* obj3
= 0 ;
4397 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4402 arg1
= wxString_in_helper(obj0
);
4403 if (arg1
== NULL
) SWIG_fail
;
4406 arg2
= (long) SWIG_AsLong(obj1
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 arg3
= (int) SWIG_AsInt(obj2
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4413 arg4
= (int) SWIG_AsInt(obj3
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4438 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4440 wxCursor
*arg1
= (wxCursor
*) 0 ;
4441 PyObject
* obj0
= 0 ;
4443 (char *) "self", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 Py_INCREF(Py_None
); resultobj
= Py_None
;
4463 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4467 PyObject
* obj0
= 0 ;
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4473 arg1
= (int) SWIG_AsInt(obj0
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (wxCursor
*)new wxCursor(arg1
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4489 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4493 PyObject
* obj0
= 0 ;
4495 (char *) "image", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4503 PyErr_SetString(PyExc_TypeError
,"null reference");
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4520 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxCursor
*arg1
= (wxCursor
*) 0 ;
4524 PyObject
* obj0
= 0 ;
4526 (char *) "self", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)(arg1
)->Ok();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4549 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4551 return Py_BuildValue((char *)"");
4553 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 int arg1
= (int) 0 ;
4556 int arg2
= (int) 0 ;
4557 int arg3
= (int) 0 ;
4558 int arg4
= (int) 0 ;
4560 PyObject
* obj0
= 0 ;
4561 PyObject
* obj1
= 0 ;
4562 PyObject
* obj2
= 0 ;
4563 PyObject
* obj3
= 0 ;
4565 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4570 arg1
= (int) SWIG_AsInt(obj0
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4574 arg2
= (int) SWIG_AsInt(obj1
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 arg3
= (int) SWIG_AsInt(obj2
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4582 arg4
= (int) SWIG_AsInt(obj3
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4599 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
*resultobj
;
4601 wxBitmap
*arg1
= 0 ;
4602 wxColour
const &arg2_defvalue
= wxNullColour
;
4603 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4604 int arg3
= (int) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4609 PyObject
* obj2
= 0 ;
4611 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4619 PyErr_SetString(PyExc_TypeError
,"null reference");
4625 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4629 arg3
= (int) SWIG_AsInt(obj2
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4646 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4649 wxPoint
*arg2
= (wxPoint
*) 0 ;
4650 int arg3
= (int) wxWINDING_RULE
;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4655 (char *) "points",(char *) "fillStyle", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4660 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4661 if (arg2
== NULL
) SWIG_fail
;
4664 arg3
= (int) SWIG_AsInt(obj1
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4676 if (arg2
) delete [] arg2
;
4681 if (arg2
) delete [] arg2
;
4687 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxRegion
*arg1
= (wxRegion
*) 0 ;
4690 PyObject
* obj0
= 0 ;
4692 (char *) "self", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxRegion
*arg1
= (wxRegion
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4717 (char *) "self", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 Py_INCREF(Py_None
); resultobj
= Py_None
;
4737 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxRegion
*arg1
= (wxRegion
*) 0 ;
4743 PyObject
* obj0
= 0 ;
4744 PyObject
* obj1
= 0 ;
4745 PyObject
* obj2
= 0 ;
4747 (char *) "self",(char *) "x",(char *) "y", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4753 arg2
= (int) SWIG_AsInt(obj1
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4755 arg3
= (int) SWIG_AsInt(obj2
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_FromInt((int)result
);
4771 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxRegion
*arg1
= (wxRegion
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4780 (char *) "self",(char *) "pt", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= SWIG_FromInt((int)result
);
4804 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 wxRegion
*arg1
= (wxRegion
*) 0 ;
4810 PyObject
* obj0
= 0 ;
4811 PyObject
* obj1
= 0 ;
4813 (char *) "self",(char *) "rect", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4821 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_FromInt((int)result
);
4837 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxRegion
*arg1
= (wxRegion
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4847 PyObject
* obj2
= 0 ;
4848 PyObject
* obj3
= 0 ;
4849 PyObject
* obj4
= 0 ;
4851 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4857 arg2
= (int) SWIG_AsInt(obj1
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4859 arg3
= (int) SWIG_AsInt(obj2
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4861 arg4
= (int) SWIG_AsInt(obj3
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4863 arg5
= (int) SWIG_AsInt(obj4
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= SWIG_FromInt((int)result
);
4879 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxRegion
*arg1
= (wxRegion
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (arg1
)->GetBox();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4900 resultptr
= new wxRect((wxRect
&) result
);
4901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4909 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxRegion
*arg1
= (wxRegion
*) 0 ;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 PyObject
* obj2
= 0 ;
4920 PyObject
* obj3
= 0 ;
4921 PyObject
* obj4
= 0 ;
4923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 arg2
= (int) SWIG_AsInt(obj1
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4931 arg3
= (int) SWIG_AsInt(obj2
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4933 arg4
= (int) SWIG_AsInt(obj3
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4935 arg5
= (int) SWIG_AsInt(obj4
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4951 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxRegion
*arg1
= (wxRegion
*) 0 ;
4957 PyObject
* obj0
= 0 ;
4958 PyObject
* obj1
= 0 ;
4960 (char *) "self",(char *) "rect", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4984 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxRegion
*arg1
= (wxRegion
*) 0 ;
4987 wxRegion
*arg2
= 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4992 (char *) "self",(char *) "region", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
4999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5002 PyErr_SetString(PyExc_TypeError
,"null reference");
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5019 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxRegion
*arg1
= (wxRegion
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5025 (char *) "self", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (bool)(arg1
)->IsEmpty();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5045 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxRegion
*arg1
= (wxRegion
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5054 PyObject
* obj1
= 0 ;
5055 PyObject
* obj2
= 0 ;
5056 PyObject
* obj3
= 0 ;
5057 PyObject
* obj4
= 0 ;
5059 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5065 arg2
= (int) SWIG_AsInt(obj1
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5067 arg3
= (int) SWIG_AsInt(obj2
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5069 arg4
= (int) SWIG_AsInt(obj3
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5071 arg5
= (int) SWIG_AsInt(obj4
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5087 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxRegion
*arg1
= (wxRegion
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "rect", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5120 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxRegion
*arg1
= (wxRegion
*) 0 ;
5123 wxRegion
*arg2
= 0 ;
5125 PyObject
* obj0
= 0 ;
5126 PyObject
* obj1
= 0 ;
5128 (char *) "self",(char *) "region", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5138 PyErr_SetString(PyExc_TypeError
,"null reference");
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5155 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxRegion
*arg1
= (wxRegion
*) 0 ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5165 PyObject
* obj2
= 0 ;
5166 PyObject
* obj3
= 0 ;
5167 PyObject
* obj4
= 0 ;
5169 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5175 arg2
= (int) SWIG_AsInt(obj1
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5177 arg3
= (int) SWIG_AsInt(obj2
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5179 arg4
= (int) SWIG_AsInt(obj3
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5181 arg5
= (int) SWIG_AsInt(obj4
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5197 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxRegion
*arg1
= (wxRegion
*) 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5206 (char *) "self",(char *) "rect", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5214 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5230 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxRegion
*arg1
= (wxRegion
*) 0 ;
5233 wxRegion
*arg2
= 0 ;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5238 (char *) "self",(char *) "region", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5248 PyErr_SetString(PyExc_TypeError
,"null reference");
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5265 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxRegion
*arg1
= (wxRegion
*) 0 ;
5273 PyObject
* obj0
= 0 ;
5274 PyObject
* obj1
= 0 ;
5275 PyObject
* obj2
= 0 ;
5276 PyObject
* obj3
= 0 ;
5277 PyObject
* obj4
= 0 ;
5279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5285 arg2
= (int) SWIG_AsInt(obj1
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5287 arg3
= (int) SWIG_AsInt(obj2
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5289 arg4
= (int) SWIG_AsInt(obj3
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5291 arg5
= (int) SWIG_AsInt(obj4
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5307 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxRegion
*arg1
= (wxRegion
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5314 PyObject
* obj1
= 0 ;
5316 (char *) "self",(char *) "rect", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5340 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxRegion
*arg1
= (wxRegion
*) 0 ;
5343 wxRegion
*arg2
= 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5348 (char *) "self",(char *) "region", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5358 PyErr_SetString(PyExc_TypeError
,"null reference");
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5375 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxRegion
*arg1
= (wxRegion
*) 0 ;
5378 SwigValueWrapper
< wxBitmap
> result
;
5379 PyObject
* obj0
= 0 ;
5381 (char *) "self", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (arg1
)->ConvertToBitmap();
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5395 wxBitmap
* resultptr
;
5396 resultptr
= new wxBitmap((wxBitmap
&) result
);
5397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5405 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxRegion
*arg1
= (wxRegion
*) 0 ;
5408 wxBitmap
*arg2
= 0 ;
5409 wxColour
const &arg3_defvalue
= wxNullColour
;
5410 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5411 int arg4
= (int) 0 ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5416 PyObject
* obj2
= 0 ;
5417 PyObject
* obj3
= 0 ;
5419 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5429 PyErr_SetString(PyExc_TypeError
,"null reference");
5435 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5439 arg4
= (int) SWIG_AsInt(obj3
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5456 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5459 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5461 return Py_BuildValue((char *)"");
5463 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxRegion
*arg1
= 0 ;
5466 wxRegionIterator
*result
;
5467 PyObject
* obj0
= 0 ;
5469 (char *) "region", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5477 PyErr_SetString(PyExc_TypeError
,"null reference");
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5494 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5497 PyObject
* obj0
= 0 ;
5499 (char *) "self", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (int)(arg1
)->GetX();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_FromInt((int)result
);
5545 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (int)(arg1
)->GetY();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_FromInt((int)result
);
5571 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5577 (char *) "self", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 result
= (int)(arg1
)->GetW();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_FromInt((int)result
);
5597 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "self", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (int)(arg1
)->GetWidth();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_FromInt((int)result
);
5623 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5629 (char *) "self", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (int)(arg1
)->GetH();
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_FromInt((int)result
);
5649 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5655 (char *) "self", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (int)(arg1
)->GetHeight();
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_FromInt((int)result
);
5675 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5679 PyObject
* obj0
= 0 ;
5681 (char *) "self", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (arg1
)->GetRect();
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5696 resultptr
= new wxRect((wxRect
&) result
);
5697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5705 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5709 PyObject
* obj0
= 0 ;
5711 (char *) "self", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (bool)(arg1
)->HaveRects();
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5731 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5734 PyObject
* obj0
= 0 ;
5736 (char *) "self", NULL
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 Py_INCREF(Py_None
); resultobj
= Py_None
;
5756 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
;
5758 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5761 (char *) "self", NULL
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 wxRegionIterator_Next(arg1
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5781 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5787 (char *) "self", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5807 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
5809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5810 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5812 return Py_BuildValue((char *)"");
5814 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxNativeFontInfo
*result
;
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5836 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 Py_INCREF(Py_None
); resultobj
= Py_None
;
5861 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
;
5863 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 Py_INCREF(Py_None
); resultobj
= Py_None
;
5886 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5893 (char *) "self",(char *) "font", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
5900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5903 PyErr_SetString(PyExc_TypeError
,"null reference");
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "self", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_FromInt((int)result
);
5946 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5950 PyObject
* obj0
= 0 ;
5952 (char *) "self", NULL
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= SWIG_FromInt((int)result
);
5972 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5978 (char *) "self", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_FromInt((int)result
);
5998 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6002 PyObject
* obj0
= 0 ;
6004 (char *) "self", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "self", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6056 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6062 (char *) "self", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= SWIG_FromInt((int)result
);
6082 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6086 PyObject
* obj0
= 0 ;
6088 (char *) "self", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= SWIG_FromInt((int)result
);
6108 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6115 (char *) "self",(char *) "pointsize", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6121 arg2
= (int) SWIG_AsInt(obj1
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 (arg1
)->SetPointSize(arg2
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 Py_INCREF(Py_None
); resultobj
= Py_None
;
6137 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6144 (char *) "self",(char *) "style", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 Py_INCREF(Py_None
); resultobj
= Py_None
;
6166 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
*resultobj
;
6168 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6173 (char *) "self",(char *) "weight", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6179 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 Py_INCREF(Py_None
); resultobj
= Py_None
;
6195 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6202 (char *) "self",(char *) "underlined", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 arg2
= (bool) SWIG_AsBool(obj1
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 (arg1
)->SetUnderlined(arg2
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 Py_INCREF(Py_None
); resultobj
= Py_None
;
6224 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6229 PyObject
* obj1
= 0 ;
6231 (char *) "self",(char *) "facename", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6238 wxString
* sptr
= wxString_in_helper(obj1
);
6239 if (sptr
== NULL
) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 (arg1
)->SetFaceName(arg2
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 Py_INCREF(Py_None
); resultobj
= Py_None
;
6257 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "family", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 Py_INCREF(Py_None
); resultobj
= Py_None
;
6286 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6293 (char *) "self",(char *) "encoding", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6299 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 Py_INCREF(Py_None
); resultobj
= Py_None
;
6315 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6318 wxString
*arg2
= 0 ;
6320 bool temp2
= False
;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6324 (char *) "self",(char *) "s", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 arg2
= wxString_in_helper(obj1
);
6332 if (arg2
== NULL
) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6357 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6363 (char *) "self", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6389 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= wxNativeFontInfo___str__(arg1
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6421 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6424 wxString
*arg2
= 0 ;
6426 bool temp2
= False
;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6430 (char *) "self",(char *) "s", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 arg2
= wxString_in_helper(obj1
);
6438 if (arg2
== NULL
) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6463 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6495 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6498 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6500 return Py_BuildValue((char *)"");
6502 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6505 wxString
*arg2
= (wxString
*) 0 ;
6506 bool temp2
= False
;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6510 (char *) "self",(char *) "facename", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6517 arg2
= wxString_in_helper(obj1
);
6518 if (arg2
== NULL
) SWIG_fail
;
6521 if (arg1
) (arg1
)->facename
= *arg2
;
6523 Py_INCREF(Py_None
); resultobj
= Py_None
;
6538 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6540 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6544 (char *) "self", NULL
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6550 result
= (wxString
*)& ((arg1
)->facename
);
6554 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6556 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6565 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6572 (char *) "self",(char *) "encoding", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6580 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6582 Py_INCREF(Py_None
); resultobj
= Py_None
;
6589 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6595 (char *) "self", NULL
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6601 result
= (int) ((arg1
)->encoding
);
6603 resultobj
= SWIG_FromInt((int)result
);
6610 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxNativeEncodingInfo
*result
;
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6632 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6634 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6635 PyObject
* obj0
= 0 ;
6637 (char *) "self", NULL
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 Py_INCREF(Py_None
); resultobj
= Py_None
;
6657 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6660 wxString
*arg2
= 0 ;
6662 bool temp2
= False
;
6663 PyObject
* obj0
= 0 ;
6664 PyObject
* obj1
= 0 ;
6666 (char *) "self",(char *) "s", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6673 arg2
= wxString_in_helper(obj1
);
6674 if (arg2
== NULL
) SWIG_fail
;
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6699 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6705 (char *) "self", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6731 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
6733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6736 return Py_BuildValue((char *)"");
6738 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6741 wxNativeEncodingInfo
*result
;
6742 PyObject
* obj0
= 0 ;
6744 (char *) "encoding", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6748 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6764 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxNativeEncodingInfo
*arg1
= 0 ;
6768 PyObject
* obj0
= 0 ;
6770 (char *) "info", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6778 PyErr_SetString(PyExc_TypeError
,"null reference");
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6795 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxFontMapper
*result
;
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (wxFontMapper
*)new wxFontMapper();
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6817 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6820 PyObject
* obj0
= 0 ;
6822 (char *) "self", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 Py_INCREF(Py_None
); resultobj
= Py_None
;
6842 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxFontMapper
*result
;
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (wxFontMapper
*)wxFontMapper::Get();
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6864 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6867 wxFontMapper
*result
;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "mapper", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6890 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6893 wxString
*arg2
= 0 ;
6894 bool arg3
= (bool) True
;
6896 bool temp2
= False
;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6899 PyObject
* obj2
= 0 ;
6901 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6908 arg2
= wxString_in_helper(obj1
);
6909 if (arg2
== NULL
) SWIG_fail
;
6913 arg3
= (bool) SWIG_AsBool(obj2
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_FromInt((int)result
);
6938 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6960 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6964 PyObject
* obj0
= 0 ;
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6970 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= (int)wxFontMapper::GetEncoding(arg1
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= SWIG_FromInt((int)result
);
6986 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "encoding", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
6996 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7018 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "encoding", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7028 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7050 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7053 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7057 (char *) "self",(char *) "config", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 (arg1
)->SetConfig(arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7082 wxString
*arg2
= 0 ;
7083 bool temp2
= False
;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "self",(char *) "prefix", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7094 arg2
= wxString_in_helper(obj1
);
7095 if (arg2
== NULL
) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7120 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= wxFontMapper::GetDefaultConfigPath();
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7148 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7152 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7153 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7154 bool arg4
= (bool) True
;
7156 bool temp3
= False
;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 PyObject
* obj2
= 0 ;
7160 PyObject
* obj3
= 0 ;
7162 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7168 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7172 arg3
= wxString_in_helper(obj2
);
7173 if (arg3
== NULL
) SWIG_fail
;
7178 arg4
= (bool) SWIG_AsBool(obj3
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7203 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7207 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7208 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7210 bool temp3
= False
;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 PyObject
* obj2
= 0 ;
7215 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7221 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7225 arg3
= wxString_in_helper(obj2
);
7226 if (arg3
== NULL
) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7252 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7255 wxWindow
*arg2
= (wxWindow
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7259 (char *) "self",(char *) "parent", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 (arg1
)->SetDialogParent(arg2
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 Py_INCREF(Py_None
); resultobj
= Py_None
;
7281 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7284 wxString
*arg2
= 0 ;
7285 bool temp2
= False
;
7286 PyObject
* obj0
= 0 ;
7287 PyObject
* obj1
= 0 ;
7289 (char *) "self",(char *) "title", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 arg2
= wxString_in_helper(obj1
);
7297 if (arg2
== NULL
) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7325 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7327 return Py_BuildValue((char *)"");
7329 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7335 bool arg5
= (bool) False
;
7336 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7337 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7338 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7340 bool temp6
= False
;
7341 PyObject
* obj0
= 0 ;
7342 PyObject
* obj1
= 0 ;
7343 PyObject
* obj2
= 0 ;
7344 PyObject
* obj3
= 0 ;
7345 PyObject
* obj4
= 0 ;
7346 PyObject
* obj5
= 0 ;
7347 PyObject
* obj6
= 0 ;
7349 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7353 arg1
= (int) SWIG_AsInt(obj0
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7355 arg2
= (int) SWIG_AsInt(obj1
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7357 arg3
= (int) SWIG_AsInt(obj2
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7359 arg4
= (int) SWIG_AsInt(obj3
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 arg5
= (bool) SWIG_AsBool(obj4
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7367 arg6
= wxString_in_helper(obj5
);
7368 if (arg6
== NULL
) SWIG_fail
;
7373 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7398 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxFont
*arg1
= (wxFont
*) 0 ;
7401 PyObject
* obj0
= 0 ;
7403 (char *) "self", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 Py_INCREF(Py_None
); resultobj
= Py_None
;
7423 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxNativeFontInfo
*arg1
= 0 ;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "info", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7437 PyErr_SetString(PyExc_TypeError
,"null reference");
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7454 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxString
*arg1
= 0 ;
7458 bool temp1
= False
;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "info", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7466 arg1
= wxString_in_helper(obj0
);
7467 if (arg1
== NULL
) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7492 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7496 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7497 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7498 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7499 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7501 bool temp4
= False
;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7504 PyObject
* obj2
= 0 ;
7505 PyObject
* obj3
= 0 ;
7506 PyObject
* obj4
= 0 ;
7508 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7512 arg1
= (int) SWIG_AsInt(obj0
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7514 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 arg3
= (int) SWIG_AsInt(obj2
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7522 arg4
= wxString_in_helper(obj3
);
7523 if (arg4
== NULL
) SWIG_fail
;
7528 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7553 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxFont
*arg1
= (wxFont
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7559 (char *) "self", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (bool)((wxFont
const *)arg1
)->Ok();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7579 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxFont
*arg1
= (wxFont
*) 0 ;
7582 wxFont
*arg2
= (wxFont
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7587 (char *) "self",(char *) "other", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7609 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxFont
*arg1
= (wxFont
*) 0 ;
7612 wxFont
*arg2
= (wxFont
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7617 (char *) "self",(char *) "other", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7639 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxFont
*arg1
= (wxFont
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7645 (char *) "self", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= SWIG_FromInt((int)result
);
7665 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxFont
*arg1
= (wxFont
*) 0 ;
7669 PyObject
* obj0
= 0 ;
7671 (char *) "self", NULL
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_FromInt((int)result
);
7691 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxFont
*arg1
= (wxFont
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7697 (char *) "self", NULL
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= SWIG_FromInt((int)result
);
7717 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxFont
*arg1
= (wxFont
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_FromInt((int)result
);
7743 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxFont
*arg1
= (wxFont
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7749 (char *) "self", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7769 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxFont
*arg1
= (wxFont
*) 0 ;
7773 PyObject
* obj0
= 0 ;
7775 (char *) "self", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= ((wxFont
const *)arg1
)->GetFaceName();
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7801 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxFont
*arg1
= (wxFont
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7807 (char *) "self", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= SWIG_FromInt((int)result
);
7827 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxFont
*arg1
= (wxFont
*) 0 ;
7830 wxNativeFontInfo
*result
;
7831 PyObject
* obj0
= 0 ;
7833 (char *) "self", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
7853 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxFont
*arg1
= (wxFont
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7859 (char *) "self", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7879 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxFont
*arg1
= (wxFont
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7885 (char *) "self", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7911 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxFont
*arg1
= (wxFont
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "self", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7943 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
;
7945 wxFont
*arg1
= (wxFont
*) 0 ;
7947 PyObject
* obj0
= 0 ;
7948 PyObject
* obj1
= 0 ;
7950 (char *) "self",(char *) "pointSize", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7956 arg2
= (int) SWIG_AsInt(obj1
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 (arg1
)->SetPointSize(arg2
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 Py_INCREF(Py_None
); resultobj
= Py_None
;
7972 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxFont
*arg1
= (wxFont
*) 0 ;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7979 (char *) "self",(char *) "family", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7985 arg2
= (int) SWIG_AsInt(obj1
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 (arg1
)->SetFamily(arg2
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 Py_INCREF(Py_None
); resultobj
= Py_None
;
8001 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxFont
*arg1
= (wxFont
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8008 (char *) "self",(char *) "style", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8014 arg2
= (int) SWIG_AsInt(obj1
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 (arg1
)->SetStyle(arg2
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 Py_INCREF(Py_None
); resultobj
= Py_None
;
8030 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxFont
*arg1
= (wxFont
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8037 (char *) "self",(char *) "weight", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 arg2
= (int) SWIG_AsInt(obj1
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 (arg1
)->SetWeight(arg2
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxFont
*arg1
= (wxFont
*) 0 ;
8062 wxString
*arg2
= 0 ;
8063 bool temp2
= False
;
8064 PyObject
* obj0
= 0 ;
8065 PyObject
* obj1
= 0 ;
8067 (char *) "self",(char *) "faceName", NULL
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8074 arg2
= wxString_in_helper(obj1
);
8075 if (arg2
== NULL
) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 Py_INCREF(Py_None
); resultobj
= Py_None
;
8100 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8102 wxFont
*arg1
= (wxFont
*) 0 ;
8104 PyObject
* obj0
= 0 ;
8105 PyObject
* obj1
= 0 ;
8107 (char *) "self",(char *) "underlined", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8113 arg2
= (bool) SWIG_AsBool(obj1
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 (arg1
)->SetUnderlined(arg2
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 Py_INCREF(Py_None
); resultobj
= Py_None
;
8129 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxFont
*arg1
= (wxFont
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8136 (char *) "self",(char *) "encoding", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 Py_INCREF(Py_None
); resultobj
= Py_None
;
8158 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxFont
*arg1
= (wxFont
*) 0 ;
8161 wxNativeFontInfo
*arg2
= 0 ;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8165 (char *) "self",(char *) "info", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8175 PyErr_SetString(PyExc_TypeError
,"null reference");
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8192 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxFont
*arg1
= (wxFont
*) 0 ;
8195 wxString
*arg2
= 0 ;
8196 bool temp2
= False
;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8200 (char *) "self",(char *) "info", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8207 arg2
= wxString_in_helper(obj1
);
8208 if (arg2
== NULL
) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8233 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxFont
*arg1
= (wxFont
*) 0 ;
8236 wxString
*arg2
= 0 ;
8237 bool temp2
= False
;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8241 (char *) "self",(char *) "info", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 arg2
= wxString_in_helper(obj1
);
8249 if (arg2
== NULL
) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 Py_INCREF(Py_None
); resultobj
= Py_None
;
8274 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxFont
*arg1
= (wxFont
*) 0 ;
8278 PyObject
* obj0
= 0 ;
8280 (char *) "self", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8306 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxFont
*arg1
= (wxFont
*) 0 ;
8310 PyObject
* obj0
= 0 ;
8312 (char *) "self", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= ((wxFont
const *)arg1
)->GetStyleString();
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8338 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxFont
*arg1
= (wxFont
*) 0 ;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "self", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= ((wxFont
const *)arg1
)->GetWeightString();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8370 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxFont
*arg1
= (wxFont
*) 0 ;
8373 bool arg2
= (bool) True
;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 (char *) "self",(char *) "no", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8384 arg2
= (bool) SWIG_AsBool(obj1
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 (arg1
)->SetNoAntiAliasing(arg2
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 Py_INCREF(Py_None
); resultobj
= Py_None
;
8401 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxFont
*arg1
= (wxFont
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8407 (char *) "self", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (bool)(arg1
)->GetNoAntiAliasing();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8427 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 result
= (int)wxFont::GetDefaultEncoding();
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_FromInt((int)result
);
8449 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8452 PyObject
* obj0
= 0 ;
8454 (char *) "encoding", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8458 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 Py_INCREF(Py_None
); resultobj
= Py_None
;
8474 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
8476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8477 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8479 return Py_BuildValue((char *)"");
8481 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxPyFontEnumerator
*result
;
8488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8503 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8508 (char *) "self", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 Py_INCREF(Py_None
); resultobj
= Py_None
;
8528 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8531 PyObject
*arg2
= (PyObject
*) 0 ;
8532 PyObject
*arg3
= (PyObject
*) 0 ;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8536 PyObject
* obj2
= 0 ;
8537 PyObject
* obj3
= 0 ;
8539 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8547 arg4
= (bool) SWIG_AsBool(obj3
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 Py_INCREF(Py_None
); resultobj
= Py_None
;
8563 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8566 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8567 bool arg3
= (bool) False
;
8569 PyObject
* obj0
= 0 ;
8570 PyObject
* obj1
= 0 ;
8571 PyObject
* obj2
= 0 ;
8573 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8580 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8584 arg3
= (bool) SWIG_AsBool(obj2
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8601 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8604 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8605 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8607 bool temp2
= False
;
8608 PyObject
* obj0
= 0 ;
8609 PyObject
* obj1
= 0 ;
8611 (char *) "self",(char *) "facename", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8619 arg2
= wxString_in_helper(obj1
);
8620 if (arg2
== NULL
) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8646 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8652 (char *) "self", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8672 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8676 PyObject
* obj0
= 0 ;
8678 (char *) "self", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8698 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
8700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8701 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8703 return Py_BuildValue((char *)"");
8705 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8707 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8712 (char *) "self",(char *) "Language", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8718 arg2
= (int) SWIG_AsInt(obj1
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8720 if (arg1
) (arg1
)->Language
= arg2
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "self", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8741 result
= (int) ((arg1
)->Language
);
8743 resultobj
= SWIG_FromInt((int)result
);
8750 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8753 wxString
*arg2
= (wxString
*) 0 ;
8754 bool temp2
= False
;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8758 (char *) "self",(char *) "CanonicalName", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 arg2
= wxString_in_helper(obj1
);
8766 if (arg2
== NULL
) SWIG_fail
;
8769 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8798 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8802 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8804 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8813 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
;
8815 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8816 wxString
*arg2
= (wxString
*) 0 ;
8817 bool temp2
= False
;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8821 (char *) "self",(char *) "Description", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8828 arg2
= wxString_in_helper(obj1
);
8829 if (arg2
== NULL
) SWIG_fail
;
8832 if (arg1
) (arg1
)->Description
= *arg2
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8849 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "self", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8861 result
= (wxString
*)& ((arg1
)->Description
);
8865 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8867 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8876 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
8878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8879 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8881 return Py_BuildValue((char *)"");
8883 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8886 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8891 (char *) "language",(char *) "flags", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8896 arg1
= (int) SWIG_AsInt(obj0
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8900 arg2
= (int) SWIG_AsInt(obj1
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
8917 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8919 wxLocale
*arg1
= (wxLocale
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8942 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxLocale
*arg1
= (wxLocale
*) 0 ;
8945 wxString
*arg2
= 0 ;
8946 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8947 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8948 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8949 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8950 bool arg5
= (bool) True
;
8951 bool arg6
= (bool) False
;
8953 bool temp2
= False
;
8954 bool temp3
= False
;
8955 bool temp4
= False
;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8958 PyObject
* obj2
= 0 ;
8959 PyObject
* obj3
= 0 ;
8960 PyObject
* obj4
= 0 ;
8961 PyObject
* obj5
= 0 ;
8963 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 arg2
= wxString_in_helper(obj1
);
8971 if (arg2
== NULL
) SWIG_fail
;
8976 arg3
= wxString_in_helper(obj2
);
8977 if (arg3
== NULL
) SWIG_fail
;
8983 arg4
= wxString_in_helper(obj3
);
8984 if (arg4
== NULL
) SWIG_fail
;
8989 arg5
= (bool) SWIG_AsBool(obj4
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8993 arg6
= (bool) SWIG_AsBool(obj5
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9034 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxLocale
*arg1
= (wxLocale
*) 0 ;
9037 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9038 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9040 PyObject
* obj0
= 0 ;
9041 PyObject
* obj1
= 0 ;
9042 PyObject
* obj2
= 0 ;
9044 (char *) "self",(char *) "language",(char *) "flags", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9051 arg2
= (int) SWIG_AsInt(obj1
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 arg3
= (int) SWIG_AsInt(obj2
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9072 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (int)wxLocale::GetSystemLanguage();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_FromInt((int)result
);
9094 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (int)wxLocale::GetSystemEncoding();
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_FromInt((int)result
);
9116 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= wxLocale::GetSystemEncodingName();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9144 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxLocale
*arg1
= (wxLocale
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9170 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxLocale
*arg1
= (wxLocale
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "self", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= ((wxLocale
const *)arg1
)->GetLocale();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9202 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxLocale
*arg1
= (wxLocale
*) 0 ;
9206 PyObject
* obj0
= 0 ;
9208 (char *) "self", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_FromInt((int)result
);
9228 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxLocale
*arg1
= (wxLocale
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9234 (char *) "self", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= ((wxLocale
const *)arg1
)->GetSysName();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9260 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxLocale
*arg1
= (wxLocale
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9292 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxString
*arg1
= 0 ;
9295 bool temp1
= False
;
9296 PyObject
* obj0
= 0 ;
9298 (char *) "prefix", NULL
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9303 arg1
= wxString_in_helper(obj0
);
9304 if (arg1
== NULL
) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 Py_INCREF(Py_None
); resultobj
= Py_None
;
9329 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxLocale
*arg1
= (wxLocale
*) 0 ;
9332 wxString
*arg2
= 0 ;
9334 bool temp2
= False
;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9338 (char *) "self",(char *) "szDomain", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9345 arg2
= wxString_in_helper(obj1
);
9346 if (arg2
== NULL
) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9371 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxLocale
*arg1
= (wxLocale
*) 0 ;
9374 wxString
*arg2
= 0 ;
9376 bool temp2
= False
;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9380 (char *) "self",(char *) "szDomain", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 arg2
= wxString_in_helper(obj1
);
9388 if (arg2
== NULL
) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9413 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9416 wxLanguageInfo
*result
;
9417 PyObject
* obj0
= 0 ;
9419 (char *) "lang", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9423 arg1
= (int) SWIG_AsInt(obj0
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9439 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "lang", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9449 arg1
= (int) SWIG_AsInt(obj0
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= wxLocale::GetLanguageName(arg1
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9471 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxString
*arg1
= 0 ;
9474 wxLanguageInfo
*result
;
9475 bool temp1
= False
;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "locale", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9483 arg1
= wxString_in_helper(obj0
);
9484 if (arg1
== NULL
) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9509 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxLanguageInfo
*arg1
= 0 ;
9512 PyObject
* obj0
= 0 ;
9514 (char *) "info", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9522 PyErr_SetString(PyExc_TypeError
,"null reference");
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 Py_INCREF(Py_None
); resultobj
= Py_None
;
9539 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxLocale
*arg1
= (wxLocale
*) 0 ;
9542 wxString
*arg2
= 0 ;
9543 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9544 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9546 bool temp2
= False
;
9547 bool temp3
= False
;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 PyObject
* obj2
= 0 ;
9552 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9559 arg2
= wxString_in_helper(obj1
);
9560 if (arg2
== NULL
) SWIG_fail
;
9565 arg3
= wxString_in_helper(obj2
);
9566 if (arg3
== NULL
) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9606 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
;
9608 wxLocale
*arg1
= (wxLocale
*) 0 ;
9610 PyObject
* obj0
= 0 ;
9612 (char *) "self", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9622 result
= (wxString
*) &_result_ref
;
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9641 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
9643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9644 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9646 return Py_BuildValue((char *)"");
9648 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (wxLocale
*)wxGetLocale();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9670 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
9671 PyObject
*resultobj
;
9672 wxString
*arg1
= 0 ;
9674 bool temp1
= False
;
9675 PyObject
* obj0
= 0 ;
9677 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9679 arg1
= wxString_in_helper(obj0
);
9680 if (arg1
== NULL
) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= wxGetTranslation((wxString
const &)*arg1
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9711 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
9712 PyObject
*resultobj
;
9713 wxString
*arg1
= 0 ;
9714 wxString
*arg2
= 0 ;
9717 bool temp1
= False
;
9718 bool temp2
= False
;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9721 PyObject
* obj2
= 0 ;
9723 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9725 arg1
= wxString_in_helper(obj0
);
9726 if (arg1
== NULL
) SWIG_fail
;
9730 arg2
= wxString_in_helper(obj1
);
9731 if (arg2
== NULL
) SWIG_fail
;
9734 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9772 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9777 argc
= PyObject_Length(args
);
9778 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9779 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9784 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9787 return _wrap_GetTranslation__SWIG_0(self
,args
);
9793 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9797 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9800 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9802 return _wrap_GetTranslation__SWIG_1(self
,args
);
9808 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9813 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxEncodingConverter
*result
;
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
9835 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 Py_INCREF(Py_None
); resultobj
= Py_None
;
9860 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9865 int arg4
= (int) wxCONVERT_STRICT
;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9869 PyObject
* obj2
= 0 ;
9870 PyObject
* obj3
= 0 ;
9872 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9878 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9880 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 arg4
= (int) SWIG_AsInt(obj3
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9900 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9903 wxString
*arg2
= 0 ;
9905 bool temp2
= False
;
9906 PyObject
* obj0
= 0 ;
9907 PyObject
* obj1
= 0 ;
9909 (char *) "self",(char *) "input", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9916 arg2
= wxString_in_helper(obj1
);
9917 if (arg2
== NULL
) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9948 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9951 int arg2
= (int) wxPLATFORM_CURRENT
;
9952 wxFontEncodingArray result
;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9956 (char *) "enc",(char *) "platform", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
9960 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 arg2
= (int) SWIG_AsInt(obj1
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= PyList_New(0);
9975 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9976 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9977 PyList_Append(resultobj
, number
);
9987 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
;
9990 wxFontEncodingArray result
;
9991 PyObject
* obj0
= 0 ;
9993 (char *) "enc", NULL
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
9997 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= PyList_New(0);
10008 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10009 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10010 PyList_Append(resultobj
, number
);
10020 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "encIn",(char *) "encOut", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10032 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10034 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10050 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10053 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10055 return Py_BuildValue((char *)"");
10057 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxDC
*arg1
= (wxDC
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 Py_INCREF(Py_None
); resultobj
= Py_None
;
10082 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxDC
*arg1
= (wxDC
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 (arg1
)->BeginDrawing();
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 Py_INCREF(Py_None
); resultobj
= Py_None
;
10107 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxDC
*arg1
= (wxDC
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 (arg1
)->EndDrawing();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxDC
*arg1
= (wxDC
*) 0 ;
10137 wxColour
*arg4
= 0 ;
10138 int arg5
= (int) wxFLOOD_SURFACE
;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 PyObject
* obj2
= 0 ;
10144 PyObject
* obj3
= 0 ;
10145 PyObject
* obj4
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10153 arg2
= (int) SWIG_AsInt(obj1
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10155 arg3
= (int) SWIG_AsInt(obj2
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10159 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10162 arg5
= (int) SWIG_AsInt(obj4
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10179 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxDC
*arg1
= (wxDC
*) 0 ;
10182 wxPoint
*arg2
= 0 ;
10183 wxColour
*arg3
= 0 ;
10184 int arg4
= (int) wxFLOOD_SURFACE
;
10188 PyObject
* obj0
= 0 ;
10189 PyObject
* obj1
= 0 ;
10190 PyObject
* obj2
= 0 ;
10191 PyObject
* obj3
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10205 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10208 arg4
= (int) SWIG_AsInt(obj3
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10225 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxDC
*arg1
= (wxDC
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 PyObject
* obj2
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self",(char *) "x",(char *) "y", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 arg2
= (int) SWIG_AsInt(obj1
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10243 arg3
= (int) SWIG_AsInt(obj2
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 wxColour
* resultptr
;
10254 resultptr
= new wxColour((wxColour
&) result
);
10255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10263 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxDC
*arg1
= (wxDC
*) 0 ;
10266 wxPoint
*arg2
= 0 ;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "pt", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 wxColour
* resultptr
;
10291 resultptr
= new wxColour((wxColour
&) result
);
10292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10300 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxDC
*arg1
= (wxDC
*) 0 ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 PyObject
* obj2
= 0 ;
10310 PyObject
* obj3
= 0 ;
10311 PyObject
* obj4
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 arg2
= (int) SWIG_AsInt(obj1
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10321 arg3
= (int) SWIG_AsInt(obj2
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10323 arg4
= (int) SWIG_AsInt(obj3
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10325 arg5
= (int) SWIG_AsInt(obj4
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 Py_INCREF(Py_None
); resultobj
= Py_None
;
10341 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxDC
*arg1
= (wxDC
*) 0 ;
10344 wxPoint
*arg2
= 0 ;
10345 wxPoint
*arg3
= 0 ;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 PyObject
* obj2
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 Py_INCREF(Py_None
); resultobj
= Py_None
;
10380 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxDC
*arg1
= (wxDC
*) 0 ;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 PyObject
* obj2
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "x",(char *) "y", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 arg2
= (int) SWIG_AsInt(obj1
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10397 arg3
= (int) SWIG_AsInt(obj2
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 (arg1
)->CrossHair(arg2
,arg3
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 Py_INCREF(Py_None
); resultobj
= Py_None
;
10413 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxDC
*arg1
= (wxDC
*) 0 ;
10416 wxPoint
*arg2
= 0 ;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "pt", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxDC
*arg1
= (wxDC
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 PyObject
* obj2
= 0 ;
10457 PyObject
* obj3
= 0 ;
10458 PyObject
* obj4
= 0 ;
10459 PyObject
* obj5
= 0 ;
10460 PyObject
* obj6
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10468 arg2
= (int) SWIG_AsInt(obj1
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10470 arg3
= (int) SWIG_AsInt(obj2
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10472 arg4
= (int) SWIG_AsInt(obj3
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10474 arg5
= (int) SWIG_AsInt(obj4
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10476 arg6
= (int) SWIG_AsInt(obj5
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10478 arg7
= (int) SWIG_AsInt(obj6
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 Py_INCREF(Py_None
); resultobj
= Py_None
;
10494 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxDC
*arg1
= (wxDC
*) 0 ;
10497 wxPoint
*arg2
= 0 ;
10498 wxPoint
*arg3
= 0 ;
10499 wxPoint
*arg4
= 0 ;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 PyObject
* obj2
= 0 ;
10506 PyObject
* obj3
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10520 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10524 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 Py_INCREF(Py_None
); resultobj
= Py_None
;
10540 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxDC
*arg1
= (wxDC
*) 0 ;
10547 PyObject
* obj0
= 0 ;
10548 PyObject
* obj1
= 0 ;
10549 PyObject
* obj2
= 0 ;
10550 PyObject
* obj3
= 0 ;
10551 PyObject
* obj4
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10559 arg2
= (int) SWIG_AsInt(obj1
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10561 arg3
= (int) SWIG_AsInt(obj2
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10563 arg4
= (int) SWIG_AsInt(obj3
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10565 arg5
= (int) SWIG_AsInt(obj4
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 Py_INCREF(Py_None
); resultobj
= Py_None
;
10581 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxDC
*arg1
= (wxDC
*) 0 ;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self",(char *) "rect", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 Py_INCREF(Py_None
); resultobj
= Py_None
;
10613 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxDC
*arg1
= (wxDC
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 PyObject
* obj2
= 0 ;
10625 PyObject
* obj3
= 0 ;
10626 PyObject
* obj4
= 0 ;
10627 PyObject
* obj5
= 0 ;
10628 PyObject
* obj6
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10636 arg2
= (int) SWIG_AsInt(obj1
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10638 arg3
= (int) SWIG_AsInt(obj2
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10640 arg4
= (int) SWIG_AsInt(obj3
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10642 arg5
= (int) SWIG_AsInt(obj4
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10644 arg6
= (double) SWIG_AsDouble(obj5
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10646 arg7
= (double) SWIG_AsDouble(obj6
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxDC
*arg1
= (wxDC
*) 0 ;
10665 wxPoint
*arg2
= 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 PyObject
* obj2
= 0 ;
10674 PyObject
* obj3
= 0 ;
10675 PyObject
* obj4
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10689 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10691 arg4
= (double) SWIG_AsDouble(obj3
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10693 arg5
= (double) SWIG_AsDouble(obj4
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxDC
*arg1
= (wxDC
*) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 PyObject
* obj2
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "x",(char *) "y", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10724 arg2
= (int) SWIG_AsInt(obj1
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10726 arg3
= (int) SWIG_AsInt(obj2
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 (arg1
)->DrawPoint(arg2
,arg3
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 Py_INCREF(Py_None
); resultobj
= Py_None
;
10742 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxDC
*arg1
= (wxDC
*) 0 ;
10745 wxPoint
*arg2
= 0 ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "pt", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 Py_INCREF(Py_None
); resultobj
= Py_None
;
10774 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxDC
*arg1
= (wxDC
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 PyObject
* obj1
= 0 ;
10783 PyObject
* obj2
= 0 ;
10784 PyObject
* obj3
= 0 ;
10785 PyObject
* obj4
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 arg2
= (int) SWIG_AsInt(obj1
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10795 arg3
= (int) SWIG_AsInt(obj2
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10797 arg4
= (int) SWIG_AsInt(obj3
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10799 arg5
= (int) SWIG_AsInt(obj4
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 Py_INCREF(Py_None
); resultobj
= Py_None
;
10815 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxDC
*arg1
= (wxDC
*) 0 ;
10818 wxPoint
*arg2
= 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 PyObject
* obj2
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "pt",(char *) "sz", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10838 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 Py_INCREF(Py_None
); resultobj
= Py_None
;
10854 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxDC
*arg1
= (wxDC
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "rect", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10870 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 Py_INCREF(Py_None
); resultobj
= Py_None
;
10886 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxDC
*arg1
= (wxDC
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 PyObject
* obj2
= 0 ;
10897 PyObject
* obj3
= 0 ;
10898 PyObject
* obj4
= 0 ;
10899 PyObject
* obj5
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10907 arg2
= (int) SWIG_AsInt(obj1
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10909 arg3
= (int) SWIG_AsInt(obj2
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10911 arg4
= (int) SWIG_AsInt(obj3
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10913 arg5
= (int) SWIG_AsInt(obj4
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10915 arg6
= (double) SWIG_AsDouble(obj5
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 Py_INCREF(Py_None
); resultobj
= Py_None
;
10931 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxDC
*arg1
= (wxDC
*) 0 ;
10934 wxPoint
*arg2
= 0 ;
10939 PyObject
* obj0
= 0 ;
10940 PyObject
* obj1
= 0 ;
10941 PyObject
* obj2
= 0 ;
10942 PyObject
* obj3
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10956 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10958 arg4
= (double) SWIG_AsDouble(obj3
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10974 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxDC
*arg1
= (wxDC
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 PyObject
* obj2
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self",(char *) "r",(char *) "radius", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10992 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10994 arg3
= (double) SWIG_AsDouble(obj2
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 Py_INCREF(Py_None
); resultobj
= Py_None
;
11010 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxDC
*arg1
= (wxDC
*) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 PyObject
* obj2
= 0 ;
11019 PyObject
* obj3
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 arg2
= (int) SWIG_AsInt(obj1
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11029 arg3
= (int) SWIG_AsInt(obj2
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11031 arg4
= (int) SWIG_AsInt(obj3
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 Py_INCREF(Py_None
); resultobj
= Py_None
;
11047 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxDC
*arg1
= (wxDC
*) 0 ;
11050 wxPoint
*arg2
= 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 PyObject
* obj2
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "self",(char *) "pt",(char *) "radius", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11067 arg3
= (int) SWIG_AsInt(obj2
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 Py_INCREF(Py_None
); resultobj
= Py_None
;
11083 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxDC
*arg1
= (wxDC
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 PyObject
* obj2
= 0 ;
11093 PyObject
* obj3
= 0 ;
11094 PyObject
* obj4
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 arg2
= (int) SWIG_AsInt(obj1
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11104 arg3
= (int) SWIG_AsInt(obj2
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11106 arg4
= (int) SWIG_AsInt(obj3
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11108 arg5
= (int) SWIG_AsInt(obj4
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 Py_INCREF(Py_None
); resultobj
= Py_None
;
11124 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxDC
*arg1
= (wxDC
*) 0 ;
11127 wxPoint
*arg2
= 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "pt",(char *) "sz", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11147 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 Py_INCREF(Py_None
); resultobj
= Py_None
;
11163 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxDC
*arg1
= (wxDC
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "rect", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11179 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11195 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxDC
*arg1
= (wxDC
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 PyObject
* obj2
= 0 ;
11204 PyObject
* obj3
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11215 if (arg2
== NULL
) {
11216 PyErr_SetString(PyExc_TypeError
,"null reference");
11219 arg3
= (int) SWIG_AsInt(obj2
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11221 arg4
= (int) SWIG_AsInt(obj3
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxDC
*arg1
= (wxDC
*) 0 ;
11241 wxPoint
*arg3
= 0 ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 PyObject
* obj2
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "icon",(char *) "pt", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11256 if (arg2
== NULL
) {
11257 PyErr_SetString(PyExc_TypeError
,"null reference");
11262 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 Py_INCREF(Py_None
); resultobj
= Py_None
;
11278 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxDC
*arg1
= (wxDC
*) 0 ;
11281 wxBitmap
*arg2
= 0 ;
11284 bool arg5
= (bool) False
;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 PyObject
* obj2
= 0 ;
11288 PyObject
* obj3
= 0 ;
11289 PyObject
* obj4
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11300 if (arg2
== NULL
) {
11301 PyErr_SetString(PyExc_TypeError
,"null reference");
11304 arg3
= (int) SWIG_AsInt(obj2
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11306 arg4
= (int) SWIG_AsInt(obj3
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 arg5
= (bool) SWIG_AsBool(obj4
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxDC
*arg1
= (wxDC
*) 0 ;
11329 wxBitmap
*arg2
= 0 ;
11330 wxPoint
*arg3
= 0 ;
11331 bool arg4
= (bool) False
;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 PyObject
* obj2
= 0 ;
11336 PyObject
* obj3
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11347 if (arg2
== NULL
) {
11348 PyErr_SetString(PyExc_TypeError
,"null reference");
11353 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11356 arg4
= (bool) SWIG_AsBool(obj3
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 Py_INCREF(Py_None
); resultobj
= Py_None
;
11373 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxDC
*arg1
= (wxDC
*) 0 ;
11376 wxString
*arg2
= 0 ;
11379 bool temp2
= False
;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 PyObject
* obj3
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11392 arg2
= wxString_in_helper(obj1
);
11393 if (arg2
== NULL
) SWIG_fail
;
11396 arg3
= (int) SWIG_AsInt(obj2
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11398 arg4
= (int) SWIG_AsInt(obj3
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 Py_INCREF(Py_None
); resultobj
= Py_None
;
11422 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxDC
*arg1
= (wxDC
*) 0 ;
11425 wxString
*arg2
= 0 ;
11426 wxPoint
*arg3
= 0 ;
11427 bool temp2
= False
;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 PyObject
* obj2
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "text",(char *) "pt", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11440 arg2
= wxString_in_helper(obj1
);
11441 if (arg2
== NULL
) SWIG_fail
;
11446 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 Py_INCREF(Py_None
); resultobj
= Py_None
;
11470 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxDC
*arg1
= (wxDC
*) 0 ;
11473 wxString
*arg2
= 0 ;
11477 bool temp2
= False
;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 PyObject
* obj2
= 0 ;
11481 PyObject
* obj3
= 0 ;
11482 PyObject
* obj4
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 arg2
= wxString_in_helper(obj1
);
11492 if (arg2
== NULL
) SWIG_fail
;
11495 arg3
= (int) SWIG_AsInt(obj2
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11497 arg4
= (int) SWIG_AsInt(obj3
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11499 arg5
= (double) SWIG_AsDouble(obj4
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11523 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxDC
*arg1
= (wxDC
*) 0 ;
11526 wxString
*arg2
= 0 ;
11527 wxPoint
*arg3
= 0 ;
11529 bool temp2
= False
;
11531 PyObject
* obj0
= 0 ;
11532 PyObject
* obj1
= 0 ;
11533 PyObject
* obj2
= 0 ;
11534 PyObject
* obj3
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 arg2
= wxString_in_helper(obj1
);
11544 if (arg2
== NULL
) SWIG_fail
;
11549 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11551 arg4
= (double) SWIG_AsDouble(obj3
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 Py_INCREF(Py_None
); resultobj
= Py_None
;
11575 static PyObject
*_wrap_DC_BlitXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxDC
*arg1
= (wxDC
*) 0 ;
11582 wxDC
*arg6
= (wxDC
*) 0 ;
11585 int arg9
= (int) wxCOPY
;
11586 bool arg10
= (bool) False
;
11587 int arg11
= (int) -1 ;
11588 int arg12
= (int) -1 ;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 PyObject
* obj2
= 0 ;
11593 PyObject
* obj3
= 0 ;
11594 PyObject
* obj4
= 0 ;
11595 PyObject
* obj5
= 0 ;
11596 PyObject
* obj6
= 0 ;
11597 PyObject
* obj7
= 0 ;
11598 PyObject
* obj8
= 0 ;
11599 PyObject
* obj9
= 0 ;
11600 PyObject
* obj10
= 0 ;
11601 PyObject
* obj11
= 0 ;
11602 char *kwnames
[] = {
11603 (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
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_BlitXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
11607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11609 arg2
= (int) SWIG_AsInt(obj1
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11611 arg3
= (int) SWIG_AsInt(obj2
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11613 arg4
= (int) SWIG_AsInt(obj3
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11615 arg5
= (int) SWIG_AsInt(obj4
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11617 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11619 arg7
= (int) SWIG_AsInt(obj6
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11621 arg8
= (int) SWIG_AsInt(obj7
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 arg9
= (int) SWIG_AsInt(obj8
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11628 arg10
= (bool) SWIG_AsBool(obj9
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11632 arg11
= (int) SWIG_AsInt(obj10
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11636 arg12
= (int) SWIG_AsInt(obj11
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11653 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxDC
*arg1
= (wxDC
*) 0 ;
11656 wxPoint
*arg2
= 0 ;
11658 wxDC
*arg4
= (wxDC
*) 0 ;
11659 wxPoint
*arg5
= 0 ;
11660 int arg6
= (int) wxCOPY
;
11661 bool arg7
= (bool) False
;
11662 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11663 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11669 PyObject
* obj0
= 0 ;
11670 PyObject
* obj1
= 0 ;
11671 PyObject
* obj2
= 0 ;
11672 PyObject
* obj3
= 0 ;
11673 PyObject
* obj4
= 0 ;
11674 PyObject
* obj5
= 0 ;
11675 PyObject
* obj6
= 0 ;
11676 PyObject
* obj7
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11690 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11692 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11696 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11699 arg6
= (int) SWIG_AsInt(obj5
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11703 arg7
= (bool) SWIG_AsBool(obj6
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11709 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11726 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxDC
*arg1
= (wxDC
*) 0 ;
11730 wxPoint
*arg3
= (wxPoint
*) 0 ;
11731 int arg4
= (int) 0 ;
11732 int arg5
= (int) 0 ;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 PyObject
* obj2
= 0 ;
11736 PyObject
* obj3
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11745 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11746 if (arg3
== NULL
) SWIG_fail
;
11749 arg4
= (int) SWIG_AsInt(obj2
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11753 arg5
= (int) SWIG_AsInt(obj3
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 Py_INCREF(Py_None
); resultobj
= Py_None
;
11765 if (arg3
) delete [] arg3
;
11770 if (arg3
) delete [] arg3
;
11776 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxDC
*arg1
= (wxDC
*) 0 ;
11780 wxPoint
*arg3
= (wxPoint
*) 0 ;
11781 int arg4
= (int) 0 ;
11782 int arg5
= (int) 0 ;
11783 int arg6
= (int) wxODDEVEN_RULE
;
11784 PyObject
* obj0
= 0 ;
11785 PyObject
* obj1
= 0 ;
11786 PyObject
* obj2
= 0 ;
11787 PyObject
* obj3
= 0 ;
11788 PyObject
* obj4
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11798 if (arg3
== NULL
) SWIG_fail
;
11801 arg4
= (int) SWIG_AsInt(obj2
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 arg5
= (int) SWIG_AsInt(obj3
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 arg6
= (int) SWIG_AsInt(obj4
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 Py_INCREF(Py_None
); resultobj
= Py_None
;
11821 if (arg3
) delete [] arg3
;
11826 if (arg3
) delete [] arg3
;
11832 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxDC
*arg1
= (wxDC
*) 0 ;
11835 wxString
*arg2
= 0 ;
11837 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11838 int arg5
= (int) -1 ;
11839 bool temp2
= False
;
11841 PyObject
* obj0
= 0 ;
11842 PyObject
* obj1
= 0 ;
11843 PyObject
* obj2
= 0 ;
11844 PyObject
* obj3
= 0 ;
11845 PyObject
* obj4
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 arg2
= wxString_in_helper(obj1
);
11855 if (arg2
== NULL
) SWIG_fail
;
11860 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11863 arg4
= (int) SWIG_AsInt(obj3
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 arg5
= (int) SWIG_AsInt(obj4
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 Py_INCREF(Py_None
); resultobj
= Py_None
;
11892 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxDC
*arg1
= (wxDC
*) 0 ;
11895 wxString
*arg2
= 0 ;
11896 wxBitmap
*arg3
= 0 ;
11898 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11899 int arg6
= (int) -1 ;
11901 bool temp2
= False
;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 PyObject
* obj2
= 0 ;
11906 PyObject
* obj3
= 0 ;
11907 PyObject
* obj4
= 0 ;
11908 PyObject
* obj5
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11917 arg2
= wxString_in_helper(obj1
);
11918 if (arg2
== NULL
) SWIG_fail
;
11921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11924 if (arg3
== NULL
) {
11925 PyErr_SetString(PyExc_TypeError
,"null reference");
11930 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11933 arg5
= (int) SWIG_AsInt(obj4
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 arg6
= (int) SWIG_AsInt(obj5
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 wxRect
* resultptr
;
11949 resultptr
= new wxRect((wxRect
&) result
);
11950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
11966 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxDC
*arg1
= (wxDC
*) 0 ;
11970 wxPoint
*arg3
= (wxPoint
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self",(char *) "points", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
11978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11981 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11982 if (arg3
== NULL
) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 (arg1
)->DrawSpline(arg2
,arg3
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 Py_INCREF(Py_None
); resultobj
= Py_None
;
11993 if (arg3
) delete [] arg3
;
11998 if (arg3
) delete [] arg3
;
12004 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxDC
*arg1
= (wxDC
*) 0 ;
12007 PyObject
* obj0
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 Py_INCREF(Py_None
); resultobj
= Py_None
;
12029 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxDC
*arg1
= (wxDC
*) 0 ;
12032 wxString
*arg2
= 0 ;
12034 bool temp2
= False
;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "message", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12045 arg2
= wxString_in_helper(obj1
);
12046 if (arg2
== NULL
) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12071 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12072 PyObject
*resultobj
;
12073 wxDC
*arg1
= (wxDC
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 Py_INCREF(Py_None
); resultobj
= Py_None
;
12096 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxDC
*arg1
= (wxDC
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12109 (arg1
)->StartPage();
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12114 Py_INCREF(Py_None
); resultobj
= Py_None
;
12121 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxDC
*arg1
= (wxDC
*) 0 ;
12124 PyObject
* obj0
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 Py_INCREF(Py_None
); resultobj
= Py_None
;
12146 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxDC
*arg1
= (wxDC
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 PyObject
* obj1
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self",(char *) "font", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12162 if (arg2
== NULL
) {
12163 PyErr_SetString(PyExc_TypeError
,"null reference");
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 (arg1
)->SetFont((wxFont
const &)*arg2
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 Py_INCREF(Py_None
); resultobj
= Py_None
;
12180 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxDC
*arg1
= (wxDC
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "pen", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12196 if (arg2
== NULL
) {
12197 PyErr_SetString(PyExc_TypeError
,"null reference");
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->SetPen((wxPen
const &)*arg2
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxDC
*arg1
= (wxDC
*) 0 ;
12217 wxBrush
*arg2
= 0 ;
12218 PyObject
* obj0
= 0 ;
12219 PyObject
* obj1
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self",(char *) "brush", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12230 if (arg2
== NULL
) {
12231 PyErr_SetString(PyExc_TypeError
,"null reference");
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 Py_INCREF(Py_None
); resultobj
= Py_None
;
12248 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxDC
*arg1
= (wxDC
*) 0 ;
12251 wxBrush
*arg2
= 0 ;
12252 PyObject
* obj0
= 0 ;
12253 PyObject
* obj1
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self",(char *) "brush", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12264 if (arg2
== NULL
) {
12265 PyErr_SetString(PyExc_TypeError
,"null reference");
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 Py_INCREF(Py_None
); resultobj
= Py_None
;
12282 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxDC
*arg1
= (wxDC
*) 0 ;
12286 PyObject
* obj0
= 0 ;
12287 PyObject
* obj1
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self",(char *) "mode", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12295 arg2
= (int) SWIG_AsInt(obj1
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 (arg1
)->SetBackgroundMode(arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 Py_INCREF(Py_None
); resultobj
= Py_None
;
12311 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxDC
*arg1
= (wxDC
*) 0 ;
12314 wxPalette
*arg2
= 0 ;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self",(char *) "palette", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12327 if (arg2
== NULL
) {
12328 PyErr_SetString(PyExc_TypeError
,"null reference");
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxDC
*arg1
= (wxDC
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 PyObject
* obj2
= 0 ;
12355 PyObject
* obj3
= 0 ;
12356 PyObject
* obj4
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 arg2
= (int) SWIG_AsInt(obj1
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12366 arg3
= (int) SWIG_AsInt(obj2
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12368 arg4
= (int) SWIG_AsInt(obj3
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12370 arg5
= (int) SWIG_AsInt(obj4
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 Py_INCREF(Py_None
); resultobj
= Py_None
;
12386 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxDC
*arg1
= (wxDC
*) 0 ;
12389 wxPoint
*arg2
= 0 ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 PyObject
* obj2
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self",(char *) "pt",(char *) "sz", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12409 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 Py_INCREF(Py_None
); resultobj
= Py_None
;
12425 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxDC
*arg1
= (wxDC
*) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char *kwnames
[] = {
12433 (char *) "self",(char *) "rect", NULL
12436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12441 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 Py_INCREF(Py_None
); resultobj
= Py_None
;
12457 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
;
12459 wxDC
*arg1
= (wxDC
*) 0 ;
12460 wxRegion
*arg2
= 0 ;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self",(char *) "region", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12473 if (arg2
== NULL
) {
12474 PyErr_SetString(PyExc_TypeError
,"null reference");
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 Py_INCREF(Py_None
); resultobj
= Py_None
;
12491 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxDC
*arg1
= (wxDC
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 (arg1
)->DestroyClippingRegion();
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 Py_INCREF(Py_None
); resultobj
= Py_None
;
12516 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxDC
*arg1
= (wxDC
*) 0 ;
12519 int *arg2
= (int *) 0 ;
12520 int *arg3
= (int *) 0 ;
12521 int *arg4
= (int *) 0 ;
12522 int *arg5
= (int *) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 Py_INCREF(Py_None
); resultobj
= Py_None
;
12548 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12549 resultobj
= t_output_helper(resultobj
,o
);
12552 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12553 resultobj
= t_output_helper(resultobj
,o
);
12556 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12557 resultobj
= t_output_helper(resultobj
,o
);
12560 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12561 resultobj
= t_output_helper(resultobj
,o
);
12569 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxDC
*arg1
= (wxDC
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= wxDC_GetClippingRect(arg1
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12589 wxRect
* resultptr
;
12590 resultptr
= new wxRect((wxRect
&) result
);
12591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12599 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxDC
*arg1
= (wxDC
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_FromInt((int)result
);
12625 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxDC
*arg1
= (wxDC
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= SWIG_FromInt((int)result
);
12651 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxDC
*arg1
= (wxDC
*) 0 ;
12654 wxString
*arg2
= 0 ;
12655 int *arg3
= (int *) 0 ;
12656 int *arg4
= (int *) 0 ;
12657 bool temp2
= False
;
12660 PyObject
* obj0
= 0 ;
12661 PyObject
* obj1
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self",(char *) "string", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 arg2
= wxString_in_helper(obj1
);
12673 if (arg2
== NULL
) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 Py_INCREF(Py_None
); resultobj
= Py_None
;
12685 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12686 resultobj
= t_output_helper(resultobj
,o
);
12689 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12690 resultobj
= t_output_helper(resultobj
,o
);
12706 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxDC
*arg1
= (wxDC
*) 0 ;
12709 wxString
*arg2
= 0 ;
12710 int *arg3
= (int *) 0 ;
12711 int *arg4
= (int *) 0 ;
12712 int *arg5
= (int *) 0 ;
12713 int *arg6
= (int *) 0 ;
12714 wxFont
*arg7
= (wxFont
*) NULL
;
12715 bool temp2
= False
;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 PyObject
* obj2
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self",(char *) "string",(char *) "font", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12735 arg2
= wxString_in_helper(obj1
);
12736 if (arg2
== NULL
) SWIG_fail
;
12740 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 Py_INCREF(Py_None
); resultobj
= Py_None
;
12752 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12753 resultobj
= t_output_helper(resultobj
,o
);
12756 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12757 resultobj
= t_output_helper(resultobj
,o
);
12760 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12761 resultobj
= t_output_helper(resultobj
,o
);
12764 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12765 resultobj
= t_output_helper(resultobj
,o
);
12781 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxDC
*arg1
= (wxDC
*) 0 ;
12784 wxString
*arg2
= 0 ;
12785 int *arg3
= (int *) 0 ;
12786 int *arg4
= (int *) 0 ;
12787 int *arg5
= (int *) 0 ;
12788 wxFont
*arg6
= (wxFont
*) NULL
;
12789 bool temp2
= False
;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 PyObject
* obj2
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self",(char *) "text",(char *) "font", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12807 arg2
= wxString_in_helper(obj1
);
12808 if (arg2
== NULL
) SWIG_fail
;
12812 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 Py_INCREF(Py_None
); resultobj
= Py_None
;
12824 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12825 resultobj
= t_output_helper(resultobj
,o
);
12828 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12829 resultobj
= t_output_helper(resultobj
,o
);
12832 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12833 resultobj
= t_output_helper(resultobj
,o
);
12849 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxDC
*arg1
= (wxDC
*) 0 ;
12852 wxString
*arg2
= 0 ;
12854 bool temp2
= False
;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "self",(char *) "text", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
12862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12865 arg2
= wxString_in_helper(obj1
);
12866 if (arg2
== NULL
) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= PyList_New(0);
12879 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12880 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12881 PyList_Append(resultobj
, val
);
12899 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxDC
*arg1
= (wxDC
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (arg1
)->GetSize();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 wxSize
* resultptr
;
12920 resultptr
= new wxSize((wxSize
&) result
);
12921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12929 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxDC
*arg1
= (wxDC
*) 0 ;
12932 int *arg2
= (int *) 0 ;
12933 int *arg3
= (int *) 0 ;
12936 PyObject
* obj0
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 (arg1
)->GetSize(arg2
,arg3
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 Py_INCREF(Py_None
); resultobj
= Py_None
;
12955 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12956 resultobj
= t_output_helper(resultobj
,o
);
12959 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12960 resultobj
= t_output_helper(resultobj
,o
);
12968 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxDC
*arg1
= (wxDC
*) 0 ;
12972 PyObject
* obj0
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "self", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
12978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= ((wxDC
const *)arg1
)->GetSizeMM();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12988 wxSize
* resultptr
;
12989 resultptr
= new wxSize((wxSize
&) result
);
12990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12998 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxDC
*arg1
= (wxDC
*) 0 ;
13001 int *arg2
= (int *) 0 ;
13002 int *arg3
= (int *) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 Py_INCREF(Py_None
); resultobj
= Py_None
;
13024 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13025 resultobj
= t_output_helper(resultobj
,o
);
13028 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13029 resultobj
= t_output_helper(resultobj
,o
);
13037 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxDC
*arg1
= (wxDC
*) 0 ;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self",(char *) "x", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 arg2
= (int) SWIG_AsInt(obj1
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= SWIG_FromInt((int)result
);
13067 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxDC
*arg1
= (wxDC
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "y", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13081 arg2
= (int) SWIG_AsInt(obj1
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= SWIG_FromInt((int)result
);
13097 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxDC
*arg1
= (wxDC
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 PyObject
* obj1
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self",(char *) "x", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13111 arg2
= (int) SWIG_AsInt(obj1
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_FromInt((int)result
);
13127 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxDC
*arg1
= (wxDC
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "y", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13141 arg2
= (int) SWIG_AsInt(obj1
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= SWIG_FromInt((int)result
);
13157 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxDC
*arg1
= (wxDC
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self",(char *) "x", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 arg2
= (int) SWIG_AsInt(obj1
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_FromInt((int)result
);
13187 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxDC
*arg1
= (wxDC
*) 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self",(char *) "y", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13201 arg2
= (int) SWIG_AsInt(obj1
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= SWIG_FromInt((int)result
);
13217 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxDC
*arg1
= (wxDC
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self",(char *) "x", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 arg2
= (int) SWIG_AsInt(obj1
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_FromInt((int)result
);
13247 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxDC
*arg1
= (wxDC
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self",(char *) "y", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 arg2
= (int) SWIG_AsInt(obj1
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_FromInt((int)result
);
13277 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxDC
*arg1
= (wxDC
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13303 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxDC
*arg1
= (wxDC
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13329 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxDC
*arg1
= (wxDC
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= SWIG_FromInt((int)result
);
13355 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxDC
*arg1
= (wxDC
*) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= ((wxDC
const *)arg1
)->GetPPI();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13375 wxSize
* resultptr
;
13376 resultptr
= new wxSize((wxSize
&) result
);
13377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13385 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxDC
*arg1
= (wxDC
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (bool)((wxDC
const *)arg1
)->Ok();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13411 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxDC
*arg1
= (wxDC
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_FromInt((int)result
);
13437 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxDC
*arg1
= (wxDC
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13453 result
= (wxBrush
*) &_result_ref
;
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
13466 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxDC
*arg1
= (wxDC
*) 0 ;
13470 PyObject
* obj0
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13482 result
= (wxBrush
*) &_result_ref
;
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
13495 static PyObject
*_wrap_DC_GetFont(PyObject
*, 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_GetFont",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();
13510 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13511 result
= (wxFont
*) &_result_ref
;
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
13524 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxDC
*arg1
= (wxDC
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13540 result
= (wxPen
*) &_result_ref
;
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
13553 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxDC
*arg1
= (wxDC
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13569 result
= (wxColour
*) &_result_ref
;
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13582 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxDC
*arg1
= (wxDC
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13598 result
= (wxColour
*) &_result_ref
;
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13611 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxDC
*arg1
= (wxDC
*) 0 ;
13614 wxColour
*arg2
= 0 ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "self",(char *) "colour", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 Py_INCREF(Py_None
); resultobj
= Py_None
;
13643 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxDC
*arg1
= (wxDC
*) 0 ;
13646 wxColour
*arg2
= 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "colour", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 Py_INCREF(Py_None
); resultobj
= Py_None
;
13675 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxDC
*arg1
= (wxDC
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_FromInt((int)result
);
13701 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxDC
*arg1
= (wxDC
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self",(char *) "mode", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13714 arg2
= (int) SWIG_AsInt(obj1
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 (arg1
)->SetMapMode(arg2
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 Py_INCREF(Py_None
); resultobj
= Py_None
;
13730 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxDC
*arg1
= (wxDC
*) 0 ;
13733 double *arg2
= (double *) 0 ;
13734 double *arg3
= (double *) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 Py_INCREF(Py_None
); resultobj
= Py_None
;
13756 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13757 resultobj
= t_output_helper(resultobj
,o
);
13760 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13761 resultobj
= t_output_helper(resultobj
,o
);
13769 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxDC
*arg1
= (wxDC
*) 0 ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 PyObject
* obj2
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "self",(char *) "x",(char *) "y", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13784 arg2
= (double) SWIG_AsDouble(obj1
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13786 arg3
= (double) SWIG_AsDouble(obj2
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 (arg1
)->SetUserScale(arg2
,arg3
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxDC
*arg1
= (wxDC
*) 0 ;
13805 double *arg2
= (double *) 0 ;
13806 double *arg3
= (double *) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 char *kwnames
[] = {
13811 (char *) "self", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 (arg1
)->GetLogicalScale(arg2
,arg3
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 Py_INCREF(Py_None
); resultobj
= Py_None
;
13828 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13829 resultobj
= t_output_helper(resultobj
,o
);
13832 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13833 resultobj
= t_output_helper(resultobj
,o
);
13841 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxDC
*arg1
= (wxDC
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 PyObject
* obj2
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self",(char *) "x",(char *) "y", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13856 arg2
= (double) SWIG_AsDouble(obj1
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13858 arg3
= (double) SWIG_AsDouble(obj2
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 (arg1
)->SetLogicalScale(arg2
,arg3
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13867 Py_INCREF(Py_None
); resultobj
= Py_None
;
13874 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
;
13876 wxDC
*arg1
= (wxDC
*) 0 ;
13878 PyObject
* obj0
= 0 ;
13879 char *kwnames
[] = {
13880 (char *) "self", NULL
13883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
13884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 wxPoint
* resultptr
;
13895 resultptr
= new wxPoint((wxPoint
&) result
);
13896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13904 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxDC
*arg1
= (wxDC
*) 0 ;
13907 int *arg2
= (int *) 0 ;
13908 int *arg3
= (int *) 0 ;
13911 PyObject
* obj0
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
13919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 Py_INCREF(Py_None
); resultobj
= Py_None
;
13930 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13931 resultobj
= t_output_helper(resultobj
,o
);
13934 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13935 resultobj
= t_output_helper(resultobj
,o
);
13943 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxDC
*arg1
= (wxDC
*) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 PyObject
* obj2
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self",(char *) "x",(char *) "y", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13958 arg2
= (int) SWIG_AsInt(obj1
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13960 arg3
= (int) SWIG_AsInt(obj2
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 Py_INCREF(Py_None
); resultobj
= Py_None
;
13976 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxDC
*arg1
= (wxDC
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 wxPoint
* resultptr
;
13997 resultptr
= new wxPoint((wxPoint
&) result
);
13998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14006 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxDC
*arg1
= (wxDC
*) 0 ;
14009 int *arg2
= (int *) 0 ;
14010 int *arg3
= (int *) 0 ;
14013 PyObject
* obj0
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 Py_INCREF(Py_None
); resultobj
= Py_None
;
14032 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14033 resultobj
= t_output_helper(resultobj
,o
);
14036 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14037 resultobj
= t_output_helper(resultobj
,o
);
14045 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxDC
*arg1
= (wxDC
*) 0 ;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 PyObject
* obj2
= 0 ;
14053 char *kwnames
[] = {
14054 (char *) "self",(char *) "x",(char *) "y", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14060 arg2
= (int) SWIG_AsInt(obj1
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14062 arg3
= (int) SWIG_AsInt(obj2
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 Py_INCREF(Py_None
); resultobj
= Py_None
;
14078 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
;
14080 wxDC
*arg1
= (wxDC
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 PyObject
* obj2
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14093 arg2
= (bool) SWIG_AsBool(obj1
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14095 arg3
= (bool) SWIG_AsBool(obj2
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 Py_INCREF(Py_None
); resultobj
= Py_None
;
14111 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
;
14113 wxDC
*arg1
= (wxDC
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= SWIG_FromInt((int)result
);
14137 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxDC
*arg1
= (wxDC
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "function", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 arg2
= (int) SWIG_AsInt(obj1
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 (arg1
)->SetLogicalFunction(arg2
);
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14159 Py_INCREF(Py_None
); resultobj
= Py_None
;
14166 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxDC
*arg1
= (wxDC
*) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self",(char *) "opt", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 arg2
= (bool) SWIG_AsBool(obj1
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 (arg1
)->SetOptimization(arg2
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 Py_INCREF(Py_None
); resultobj
= Py_None
;
14195 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxDC
*arg1
= (wxDC
*) 0 ;
14199 PyObject
* obj0
= 0 ;
14200 char *kwnames
[] = {
14201 (char *) "self", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (bool)(arg1
)->GetOptimization();
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14221 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxDC
*arg1
= (wxDC
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 PyObject
* obj1
= 0 ;
14228 PyObject
* obj2
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "x",(char *) "y", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 arg2
= (int) SWIG_AsInt(obj1
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14238 arg3
= (int) SWIG_AsInt(obj2
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 Py_INCREF(Py_None
); resultobj
= Py_None
;
14254 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxDC
*arg1
= (wxDC
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 (arg1
)->ResetBoundingBox();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 Py_INCREF(Py_None
); resultobj
= Py_None
;
14279 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxDC
*arg1
= (wxDC
*) 0 ;
14283 PyObject
* obj0
= 0 ;
14284 char *kwnames
[] = {
14285 (char *) "self", NULL
14288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (int)((wxDC
const *)arg1
)->MinX();
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= SWIG_FromInt((int)result
);
14305 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxDC
*arg1
= (wxDC
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)((wxDC
const *)arg1
)->MaxX();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_FromInt((int)result
);
14331 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxDC
*arg1
= (wxDC
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (int)((wxDC
const *)arg1
)->MinY();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_FromInt((int)result
);
14357 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
;
14359 wxDC
*arg1
= (wxDC
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (int)((wxDC
const *)arg1
)->MaxY();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_FromInt((int)result
);
14383 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxDC
*arg1
= (wxDC
*) 0 ;
14386 int *arg2
= (int *) 0 ;
14387 int *arg3
= (int *) 0 ;
14388 int *arg4
= (int *) 0 ;
14389 int *arg5
= (int *) 0 ;
14394 PyObject
* obj0
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 Py_INCREF(Py_None
); resultobj
= Py_None
;
14415 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14416 resultobj
= t_output_helper(resultobj
,o
);
14419 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14420 resultobj
= t_output_helper(resultobj
,o
);
14423 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14424 resultobj
= t_output_helper(resultobj
,o
);
14427 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14428 resultobj
= t_output_helper(resultobj
,o
);
14436 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxDC
*arg1
= (wxDC
*) 0 ;
14439 PyObject
*arg2
= (PyObject
*) 0 ;
14440 PyObject
*arg3
= (PyObject
*) 0 ;
14441 PyObject
*arg4
= (PyObject
*) 0 ;
14443 PyObject
* obj0
= 0 ;
14444 PyObject
* obj1
= 0 ;
14445 PyObject
* obj2
= 0 ;
14446 PyObject
* obj3
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= result
;
14471 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxDC
*arg1
= (wxDC
*) 0 ;
14474 PyObject
*arg2
= (PyObject
*) 0 ;
14475 PyObject
*arg3
= (PyObject
*) 0 ;
14476 PyObject
*arg4
= (PyObject
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 PyObject
* obj2
= 0 ;
14481 PyObject
* obj3
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= result
;
14506 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxDC
*arg1
= (wxDC
*) 0 ;
14509 PyObject
*arg2
= (PyObject
*) 0 ;
14510 PyObject
*arg3
= (PyObject
*) 0 ;
14511 PyObject
*arg4
= (PyObject
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 PyObject
* obj2
= 0 ;
14516 PyObject
* obj3
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
;
14541 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxDC
*arg1
= (wxDC
*) 0 ;
14544 PyObject
*arg2
= (PyObject
*) 0 ;
14545 PyObject
*arg3
= (PyObject
*) 0 ;
14546 PyObject
*arg4
= (PyObject
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 PyObject
* obj2
= 0 ;
14551 PyObject
* obj3
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= result
;
14576 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxDC
*arg1
= (wxDC
*) 0 ;
14579 PyObject
*arg2
= (PyObject
*) 0 ;
14580 PyObject
*arg3
= (PyObject
*) 0 ;
14581 PyObject
*arg4
= (PyObject
*) 0 ;
14583 PyObject
* obj0
= 0 ;
14584 PyObject
* obj1
= 0 ;
14585 PyObject
* obj2
= 0 ;
14586 PyObject
* obj3
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= result
;
14611 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxDC
*arg1
= (wxDC
*) 0 ;
14614 PyObject
*arg2
= (PyObject
*) 0 ;
14615 PyObject
*arg3
= (PyObject
*) 0 ;
14616 PyObject
*arg4
= (PyObject
*) 0 ;
14617 PyObject
*arg5
= (PyObject
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 PyObject
* obj1
= 0 ;
14621 PyObject
* obj2
= 0 ;
14622 PyObject
* obj3
= 0 ;
14623 PyObject
* obj4
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= result
;
14649 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
14651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14652 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14654 return Py_BuildValue((char *)"");
14656 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxMemoryDC
*result
;
14659 char *kwnames
[] = {
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (wxMemoryDC
*)new wxMemoryDC();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14678 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxDC
*arg1
= (wxDC
*) 0 ;
14681 wxMemoryDC
*result
;
14682 PyObject
* obj0
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "oldDC", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14704 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14707 wxBitmap
*arg2
= 0 ;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self",(char *) "bitmap", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
14716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14720 if (arg2
== NULL
) {
14721 PyErr_SetString(PyExc_TypeError
,"null reference");
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 Py_INCREF(Py_None
); resultobj
= Py_None
;
14738 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
14740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14741 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14743 return Py_BuildValue((char *)"");
14745 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
14746 PyObject
*resultobj
;
14747 wxDC
*arg1
= (wxDC
*) 0 ;
14748 wxBitmap
*arg2
= 0 ;
14749 wxBufferedDC
*result
;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14753 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14759 if (arg2
== NULL
) {
14760 PyErr_SetString(PyExc_TypeError
,"null reference");
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14777 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
14778 PyObject
*resultobj
;
14779 wxDC
*arg1
= (wxDC
*) 0 ;
14781 wxBufferedDC
*result
;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14786 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14807 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
14812 argc
= PyObject_Length(args
);
14813 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
14814 argv
[ii
] = PyTuple_GetItem(args
,ii
);
14820 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14830 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
14838 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
14846 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14855 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
14858 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
14863 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
14868 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*, PyObject
*args
) {
14869 PyObject
*resultobj
;
14870 wxDC
*arg1
= (wxDC
*) 0 ;
14872 wxBufferedDC
*result
;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14877 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14898 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
;
14900 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 Py_INCREF(Py_None
); resultobj
= Py_None
;
14923 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
14933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 Py_INCREF(Py_None
); resultobj
= Py_None
;
14948 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
14950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14951 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
14953 return Py_BuildValue((char *)"");
14955 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxWindow
*arg1
= (wxWindow
*) 0 ;
14958 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
14959 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
14960 wxBufferedPaintDC
*result
;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "window",(char *) "buffer", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14974 if (arg2
== NULL
) {
14975 PyErr_SetString(PyExc_TypeError
,"null reference");
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
14993 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
14995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14996 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
14998 return Py_BuildValue((char *)"");
15000 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxScreenDC
*result
;
15003 char *kwnames
[] = {
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (wxScreenDC
*)new wxScreenDC();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15022 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15025 wxWindow
*arg2
= (wxWindow
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 PyObject
* obj1
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self",(char *) "window", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15052 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15055 wxRect
*arg2
= (wxRect
*) NULL
;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self",(char *) "rect", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15084 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)(arg1
)->EndDrawingOnTop();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15110 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15113 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15115 return Py_BuildValue((char *)"");
15117 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxWindow
*arg1
= (wxWindow
*) 0 ;
15120 wxClientDC
*result
;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "win", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (wxClientDC
*)new wxClientDC(arg1
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15143 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15148 return Py_BuildValue((char *)"");
15150 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxWindow
*arg1
= (wxWindow
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "win", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15176 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15179 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15181 return Py_BuildValue((char *)"");
15183 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxWindow
*arg1
= (wxWindow
*) 0 ;
15186 wxWindowDC
*result
;
15187 PyObject
* obj0
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "win", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15209 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15214 return Py_BuildValue((char *)"");
15216 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15220 wxMirrorDC
*result
;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "dc",(char *) "mirror", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15231 if (arg1
== NULL
) {
15232 PyErr_SetString(PyExc_TypeError
,"null reference");
15235 arg2
= (bool) SWIG_AsBool(obj1
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15251 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15254 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15256 return Py_BuildValue((char *)"");
15258 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxPrintData
*arg1
= 0 ;
15261 wxPostScriptDC
*result
;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "printData", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15271 if (arg1
== NULL
) {
15272 PyErr_SetString(PyExc_TypeError
,"null reference");
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15289 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15292 wxPrintData
*result
;
15293 PyObject
* obj0
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15305 result
= (wxPrintData
*) &_result_ref
;
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15318 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15321 wxPrintData
*arg2
= 0 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self",(char *) "data", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15334 if (arg2
== NULL
) {
15335 PyErr_SetString(PyExc_TypeError
,"null reference");
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 Py_INCREF(Py_None
); resultobj
= Py_None
;
15352 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "ppi", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15361 arg1
= (int) SWIG_AsInt(obj0
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 wxPostScriptDC::SetResolution(arg1
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 Py_INCREF(Py_None
); resultobj
= Py_None
;
15377 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15380 char *kwnames
[] = {
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (int)wxPostScriptDC::GetResolution();
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_FromInt((int)result
);
15399 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
15401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15402 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15404 return Py_BuildValue((char *)"");
15406 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15409 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15410 wxMetaFile
*result
;
15411 bool temp1
= False
;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "filename", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15420 arg1
= wxString_in_helper(obj0
);
15421 if (arg1
== NULL
) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15447 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
15449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15452 return Py_BuildValue((char *)"");
15454 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15457 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15458 int arg2
= (int) 0 ;
15459 int arg3
= (int) 0 ;
15460 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15461 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15462 wxMetaFileDC
*result
;
15463 bool temp1
= False
;
15464 bool temp4
= False
;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 PyObject
* obj2
= 0 ;
15468 PyObject
* obj3
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15476 arg1
= wxString_in_helper(obj0
);
15477 if (arg1
== NULL
) SWIG_fail
;
15482 arg2
= (int) SWIG_AsInt(obj1
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 arg3
= (int) SWIG_AsInt(obj2
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15491 arg4
= wxString_in_helper(obj3
);
15492 if (arg4
== NULL
) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15526 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
15528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15529 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15531 return Py_BuildValue((char *)"");
15533 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxPrintData
*arg1
= 0 ;
15536 wxPrinterDC
*result
;
15537 PyObject
* obj0
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "printData", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15546 if (arg1
== NULL
) {
15547 PyErr_SetString(PyExc_TypeError
,"null reference");
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15564 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
15566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15567 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15569 return Py_BuildValue((char *)"");
15571 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15575 int arg3
= (int) True
;
15576 int arg4
= (int) 1 ;
15577 wxImageList
*result
;
15578 PyObject
* obj0
= 0 ;
15579 PyObject
* obj1
= 0 ;
15580 PyObject
* obj2
= 0 ;
15581 PyObject
* obj3
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15587 arg1
= (int) SWIG_AsInt(obj0
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15589 arg2
= (int) SWIG_AsInt(obj1
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 arg3
= (int) SWIG_AsInt(obj2
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15596 arg4
= (int) SWIG_AsInt(obj3
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= wxPyMake_wxObject(result
);
15615 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxImageList
*arg1
= (wxImageList
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxImageList
*arg1
= (wxImageList
*) 0 ;
15643 wxBitmap
*arg2
= 0 ;
15644 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15645 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 PyObject
* obj2
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15660 if (arg2
== NULL
) {
15661 PyErr_SetString(PyExc_TypeError
,"null reference");
15665 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15668 if (arg3
== NULL
) {
15669 PyErr_SetString(PyExc_TypeError
,"null reference");
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= SWIG_FromInt((int)result
);
15687 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxImageList
*arg1
= (wxImageList
*) 0 ;
15690 wxBitmap
*arg2
= 0 ;
15691 wxColour
*arg3
= 0 ;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 PyObject
* obj2
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15707 if (arg2
== NULL
) {
15708 PyErr_SetString(PyExc_TypeError
,"null reference");
15713 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 resultobj
= SWIG_FromInt((int)result
);
15729 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxImageList
*arg1
= (wxImageList
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self",(char *) "icon", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15743 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
15744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15746 if (arg2
== NULL
) {
15747 PyErr_SetString(PyExc_TypeError
,"null reference");
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= SWIG_FromInt((int)result
);
15764 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxImageList
*arg1
= (wxImageList
*) 0 ;
15768 wxBitmap
*arg3
= 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 PyObject
* obj2
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 arg2
= (int) SWIG_AsInt(obj1
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15782 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15785 if (arg3
== NULL
) {
15786 PyErr_SetString(PyExc_TypeError
,"null reference");
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15803 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxImageList
*arg1
= (wxImageList
*) 0 ;
15810 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15811 bool arg7
= (bool) (bool)False
;
15813 PyObject
* obj0
= 0 ;
15814 PyObject
* obj1
= 0 ;
15815 PyObject
* obj2
= 0 ;
15816 PyObject
* obj3
= 0 ;
15817 PyObject
* obj4
= 0 ;
15818 PyObject
* obj5
= 0 ;
15819 PyObject
* obj6
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15827 arg2
= (int) SWIG_AsInt(obj1
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15829 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
15830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15832 if (arg3
== NULL
) {
15833 PyErr_SetString(PyExc_TypeError
,"null reference");
15836 arg4
= (int) SWIG_AsInt(obj3
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15838 arg5
= (int) SWIG_AsInt(obj4
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 arg6
= (int) SWIG_AsInt(obj5
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15845 arg7
= (bool const) SWIG_AsBool(obj6
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15862 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxImageList
*arg1
= (wxImageList
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (int)(arg1
)->GetImageCount();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_FromInt((int)result
);
15888 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxImageList
*arg1
= (wxImageList
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "index", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15902 arg2
= (int) SWIG_AsInt(obj1
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (bool)(arg1
)->Remove(arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15918 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxImageList
*arg1
= (wxImageList
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (bool)(arg1
)->RemoveAll();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15944 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxImageList
*arg1
= (wxImageList
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self",(char *) "index", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15963 arg2
= (int) SWIG_AsInt(obj1
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 Py_INCREF(Py_None
); resultobj
= Py_None
;
15974 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15975 resultobj
= t_output_helper(resultobj
,o
);
15978 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15979 resultobj
= t_output_helper(resultobj
,o
);
15987 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
15989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15990 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
15992 return Py_BuildValue((char *)"");
15994 static int _wrap_NORMAL_FONT_set(PyObject
*) {
15995 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16000 static PyObject
*_wrap_NORMAL_FONT_get() {
16003 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16008 static int _wrap_SMALL_FONT_set(PyObject
*) {
16009 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16014 static PyObject
*_wrap_SMALL_FONT_get() {
16017 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16022 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16023 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16028 static PyObject
*_wrap_ITALIC_FONT_get() {
16031 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16036 static int _wrap_SWISS_FONT_set(PyObject
*) {
16037 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16042 static PyObject
*_wrap_SWISS_FONT_get() {
16045 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16050 static int _wrap_RED_PEN_set(PyObject
*) {
16051 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16056 static PyObject
*_wrap_RED_PEN_get() {
16059 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16064 static int _wrap_CYAN_PEN_set(PyObject
*) {
16065 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16070 static PyObject
*_wrap_CYAN_PEN_get() {
16073 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16078 static int _wrap_GREEN_PEN_set(PyObject
*) {
16079 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16084 static PyObject
*_wrap_GREEN_PEN_get() {
16087 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16092 static int _wrap_BLACK_PEN_set(PyObject
*) {
16093 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16098 static PyObject
*_wrap_BLACK_PEN_get() {
16101 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16106 static int _wrap_WHITE_PEN_set(PyObject
*) {
16107 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16112 static PyObject
*_wrap_WHITE_PEN_get() {
16115 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16120 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16121 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16126 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16129 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16134 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16135 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16140 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16143 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16148 static int _wrap_GREY_PEN_set(PyObject
*) {
16149 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16154 static PyObject
*_wrap_GREY_PEN_get() {
16157 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16162 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16163 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16168 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16171 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16176 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16177 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16182 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16185 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16190 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16191 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16196 static PyObject
*_wrap_BLUE_BRUSH_get() {
16199 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16204 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16205 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16210 static PyObject
*_wrap_GREEN_BRUSH_get() {
16213 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16218 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16219 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16224 static PyObject
*_wrap_WHITE_BRUSH_get() {
16227 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16232 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16233 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16238 static PyObject
*_wrap_BLACK_BRUSH_get() {
16241 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16246 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16247 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16252 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16255 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16260 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16261 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16266 static PyObject
*_wrap_CYAN_BRUSH_get() {
16269 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16274 static int _wrap_RED_BRUSH_set(PyObject
*) {
16275 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16280 static PyObject
*_wrap_RED_BRUSH_get() {
16283 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16288 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16289 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16294 static PyObject
*_wrap_GREY_BRUSH_get() {
16297 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16302 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16303 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16308 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16311 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16316 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16317 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16322 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16325 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16330 static int _wrap_BLACK_set(PyObject
*) {
16331 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16336 static PyObject
*_wrap_BLACK_get() {
16339 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16344 static int _wrap_WHITE_set(PyObject
*) {
16345 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16350 static PyObject
*_wrap_WHITE_get() {
16353 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16358 static int _wrap_RED_set(PyObject
*) {
16359 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16364 static PyObject
*_wrap_RED_get() {
16367 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16372 static int _wrap_BLUE_set(PyObject
*) {
16373 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16378 static PyObject
*_wrap_BLUE_get() {
16381 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16386 static int _wrap_GREEN_set(PyObject
*) {
16387 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16392 static PyObject
*_wrap_GREEN_get() {
16395 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16400 static int _wrap_CYAN_set(PyObject
*) {
16401 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16406 static PyObject
*_wrap_CYAN_get() {
16409 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16414 static int _wrap_LIGHT_GREY_set(PyObject
*) {
16415 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16420 static PyObject
*_wrap_LIGHT_GREY_get() {
16423 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16428 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
16429 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16434 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16437 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16442 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
16443 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16448 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16451 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16456 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
16457 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16462 static PyObject
*_wrap_CROSS_CURSOR_get() {
16465 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16470 static int _wrap_NullBitmap_set(PyObject
*) {
16471 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16476 static PyObject
*_wrap_NullBitmap_get() {
16479 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16484 static int _wrap_NullIcon_set(PyObject
*) {
16485 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16490 static PyObject
*_wrap_NullIcon_get() {
16493 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16498 static int _wrap_NullCursor_set(PyObject
*) {
16499 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16504 static PyObject
*_wrap_NullCursor_get() {
16507 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16512 static int _wrap_NullPen_set(PyObject
*) {
16513 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16518 static PyObject
*_wrap_NullPen_get() {
16521 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16526 static int _wrap_NullBrush_set(PyObject
*) {
16527 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16532 static PyObject
*_wrap_NullBrush_get() {
16535 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16540 static int _wrap_NullPalette_set(PyObject
*) {
16541 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16546 static PyObject
*_wrap_NullPalette_get() {
16549 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16554 static int _wrap_NullFont_set(PyObject
*) {
16555 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16560 static PyObject
*_wrap_NullFont_get() {
16563 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16568 static int _wrap_NullColour_set(PyObject
*) {
16569 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16574 static PyObject
*_wrap_NullColour_get() {
16577 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16582 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxPenList
*arg1
= (wxPenList
*) 0 ;
16585 wxPen
*arg2
= (wxPen
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 PyObject
* obj1
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self",(char *) "pen", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->AddPen(arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxPenList
*arg1
= (wxPenList
*) 0 ;
16614 wxColour
*arg2
= 0 ;
16619 PyObject
* obj0
= 0 ;
16620 PyObject
* obj1
= 0 ;
16621 PyObject
* obj2
= 0 ;
16622 PyObject
* obj3
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16634 arg3
= (int) SWIG_AsInt(obj2
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16636 arg4
= (int) SWIG_AsInt(obj3
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
16652 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxPenList
*arg1
= (wxPenList
*) 0 ;
16655 wxPen
*arg2
= (wxPen
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "pen", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 (arg1
)->RemovePen(arg2
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 Py_INCREF(Py_None
); resultobj
= Py_None
;
16681 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxPenList
*arg1
= (wxPenList
*) 0 ;
16685 PyObject
* obj0
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= (int)(arg1
)->GetCount();
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 resultobj
= SWIG_FromInt((int)result
);
16707 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
16709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16710 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16712 return Py_BuildValue((char *)"");
16714 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16717 wxBrush
*arg2
= (wxBrush
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self",(char *) "brush", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 (arg1
)->AddBrush(arg2
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 Py_INCREF(Py_None
); resultobj
= Py_None
;
16743 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16746 wxColour
*arg2
= 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 PyObject
* obj2
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self",(char *) "colour",(char *) "style", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16764 arg3
= (int) SWIG_AsInt(obj2
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
16780 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16783 wxBrush
*arg2
= (wxBrush
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "brush", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 (arg1
)->RemoveBrush(arg2
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (int)(arg1
)->GetCount();
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= SWIG_FromInt((int)result
);
16835 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
16837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16838 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16840 return Py_BuildValue((char *)"");
16842 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxColourDatabase
*result
;
16845 char *kwnames
[] = {
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 result
= (wxColourDatabase
*)new wxColourDatabase();
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
16864 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "self", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
16874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 Py_INCREF(Py_None
); resultobj
= Py_None
;
16889 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16892 wxString
*arg2
= 0 ;
16894 bool temp2
= False
;
16895 PyObject
* obj0
= 0 ;
16896 PyObject
* obj1
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self",(char *) "name", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
16903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16905 arg2
= wxString_in_helper(obj1
);
16906 if (arg2
== NULL
) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 wxColour
* resultptr
;
16918 resultptr
= new wxColour((wxColour
&) result
);
16919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16935 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16938 wxColour
*arg2
= 0 ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "colour", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16974 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16977 wxString
*arg2
= 0 ;
16978 wxColour
*arg3
= 0 ;
16979 bool temp2
= False
;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 PyObject
* obj2
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self",(char *) "name",(char *) "colour", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 arg2
= wxString_in_helper(obj1
);
16993 if (arg2
== NULL
) SWIG_fail
;
16998 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 Py_INCREF(Py_None
); resultobj
= Py_None
;
17022 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17025 wxString
*arg2
= 0 ;
17029 bool temp2
= False
;
17030 PyObject
* obj0
= 0 ;
17031 PyObject
* obj1
= 0 ;
17032 PyObject
* obj2
= 0 ;
17033 PyObject
* obj3
= 0 ;
17034 PyObject
* obj4
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17043 arg2
= wxString_in_helper(obj1
);
17044 if (arg2
== NULL
) SWIG_fail
;
17047 arg3
= (int) SWIG_AsInt(obj2
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17049 arg4
= (int) SWIG_AsInt(obj3
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17051 arg5
= (int) SWIG_AsInt(obj4
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17060 Py_INCREF(Py_None
); resultobj
= Py_None
;
17075 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17078 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17080 return Py_BuildValue((char *)"");
17082 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxFontList
*arg1
= (wxFontList
*) 0 ;
17085 wxFont
*arg2
= (wxFont
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 PyObject
* obj1
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self",(char *) "font", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 (arg1
)->AddFont(arg2
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 Py_INCREF(Py_None
); resultobj
= Py_None
;
17111 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxFontList
*arg1
= (wxFontList
*) 0 ;
17118 bool arg6
= (bool) False
;
17119 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17121 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17123 bool temp7
= False
;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 PyObject
* obj2
= 0 ;
17127 PyObject
* obj3
= 0 ;
17128 PyObject
* obj4
= 0 ;
17129 PyObject
* obj5
= 0 ;
17130 PyObject
* obj6
= 0 ;
17131 PyObject
* obj7
= 0 ;
17132 char *kwnames
[] = {
17133 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17139 arg2
= (int) SWIG_AsInt(obj1
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17141 arg3
= (int) SWIG_AsInt(obj2
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17143 arg4
= (int) SWIG_AsInt(obj3
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17145 arg5
= (int) SWIG_AsInt(obj4
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 arg6
= (bool) SWIG_AsBool(obj5
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17153 arg7
= wxString_in_helper(obj6
);
17154 if (arg7
== NULL
) SWIG_fail
;
17159 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17184 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxFontList
*arg1
= (wxFontList
*) 0 ;
17187 wxFont
*arg2
= (wxFont
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "self",(char *) "font", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 (arg1
)->RemoveFont(arg2
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 Py_INCREF(Py_None
); resultobj
= Py_None
;
17213 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxFontList
*arg1
= (wxFontList
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (int)(arg1
)->GetCount();
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_FromInt((int)result
);
17239 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17242 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17244 return Py_BuildValue((char *)"");
17246 static int _wrap_TheFontList_set(PyObject
*) {
17247 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17252 static PyObject
*_wrap_TheFontList_get() {
17255 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17260 static int _wrap_ThePenList_set(PyObject
*) {
17261 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17266 static PyObject
*_wrap_ThePenList_get() {
17269 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17274 static int _wrap_TheBrushList_set(PyObject
*) {
17275 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17280 static PyObject
*_wrap_TheBrushList_get() {
17283 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17288 static int _wrap_TheColourDatabase_set(PyObject
*) {
17289 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17294 static PyObject
*_wrap_TheColourDatabase_get() {
17297 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17302 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17305 char *kwnames
[] = {
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (wxEffects
*)new wxEffects();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17324 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxEffects
*arg1
= (wxEffects
*) 0 ;
17328 PyObject
* obj0
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17344 wxColour
* resultptr
;
17345 resultptr
= new wxColour((wxColour
&) result
);
17346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17354 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxEffects
*arg1
= (wxEffects
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 wxColour
* resultptr
;
17375 resultptr
= new wxColour((wxColour
&) result
);
17376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17384 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxEffects
*arg1
= (wxEffects
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 wxColour
* resultptr
;
17405 resultptr
= new wxColour((wxColour
&) result
);
17406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17414 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxEffects
*arg1
= (wxEffects
*) 0 ;
17418 PyObject
* obj0
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 wxColour
* resultptr
;
17435 resultptr
= new wxColour((wxColour
&) result
);
17436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17444 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 wxEffects
*arg1
= (wxEffects
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 wxColour
* resultptr
;
17465 resultptr
= new wxColour((wxColour
&) result
);
17466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17474 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxEffects
*arg1
= (wxEffects
*) 0 ;
17477 wxColour
*arg2
= 0 ;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "c", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 Py_INCREF(Py_None
); resultobj
= Py_None
;
17506 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxEffects
*arg1
= (wxEffects
*) 0 ;
17509 wxColour
*arg2
= 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "c", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 Py_INCREF(Py_None
); resultobj
= Py_None
;
17538 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxEffects
*arg1
= (wxEffects
*) 0 ;
17541 wxColour
*arg2
= 0 ;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "c", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 Py_INCREF(Py_None
); resultobj
= Py_None
;
17570 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxEffects
*arg1
= (wxEffects
*) 0 ;
17573 wxColour
*arg2
= 0 ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "c", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17586 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 Py_INCREF(Py_None
); resultobj
= Py_None
;
17602 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxEffects
*arg1
= (wxEffects
*) 0 ;
17605 wxColour
*arg2
= 0 ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self",(char *) "c", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 Py_INCREF(Py_None
); resultobj
= Py_None
;
17634 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxEffects
*arg1
= (wxEffects
*) 0 ;
17637 wxColour
*arg2
= 0 ;
17638 wxColour
*arg3
= 0 ;
17639 wxColour
*arg4
= 0 ;
17640 wxColour
*arg5
= 0 ;
17641 wxColour
*arg6
= 0 ;
17647 PyObject
* obj0
= 0 ;
17648 PyObject
* obj1
= 0 ;
17649 PyObject
* obj2
= 0 ;
17650 PyObject
* obj3
= 0 ;
17651 PyObject
* obj4
= 0 ;
17652 PyObject
* obj5
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17666 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17670 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17674 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17678 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 Py_INCREF(Py_None
); resultobj
= Py_None
;
17694 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxEffects
*arg1
= (wxEffects
*) 0 ;
17699 int arg4
= (int) 1 ;
17701 PyObject
* obj0
= 0 ;
17702 PyObject
* obj1
= 0 ;
17703 PyObject
* obj2
= 0 ;
17704 PyObject
* obj3
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17715 if (arg2
== NULL
) {
17716 PyErr_SetString(PyExc_TypeError
,"null reference");
17721 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17724 arg4
= (int) SWIG_AsInt(obj3
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 Py_INCREF(Py_None
); resultobj
= Py_None
;
17741 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxEffects
*arg1
= (wxEffects
*) 0 ;
17746 wxBitmap
*arg4
= 0 ;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 PyObject
* obj2
= 0 ;
17752 PyObject
* obj3
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17764 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17767 if (arg3
== NULL
) {
17768 PyErr_SetString(PyExc_TypeError
,"null reference");
17771 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17774 if (arg4
== NULL
) {
17775 PyErr_SetString(PyExc_TypeError
,"null reference");
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17792 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
17794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17795 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17797 return Py_BuildValue((char *)"");
17799 static PyMethodDef SwigMethods
[] = {
17800 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17801 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17802 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17803 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17804 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17805 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
17806 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17807 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17808 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17809 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17810 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17811 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17812 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17813 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17814 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17815 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17816 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17817 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17818 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17819 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17820 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17821 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17822 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
17823 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17824 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17825 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17826 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17827 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17828 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
17829 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17830 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17831 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17832 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17833 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17834 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17835 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17836 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17837 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17838 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17839 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17840 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17841 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17842 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17843 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17844 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17845 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17846 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
17847 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17848 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17849 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17850 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
, NULL
},
17851 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17852 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17853 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17854 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17855 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17856 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17857 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17858 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17859 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17860 { (char *)"Brush_GetMacTheme", (PyCFunction
) _wrap_Brush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17861 { (char *)"Brush_SetMacTheme", (PyCFunction
) _wrap_Brush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17862 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
17863 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17864 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17865 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17866 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17867 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17868 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17869 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17870 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17871 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17872 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17873 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17874 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17875 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17876 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17877 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17878 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17879 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17880 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17881 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17882 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17883 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17884 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17885 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
17886 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17887 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
17888 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17889 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17890 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17891 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17892 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17893 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17894 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17895 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17896 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17897 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17898 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17899 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17900 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17901 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17902 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
17903 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17904 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17905 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17906 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17907 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17908 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17909 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17910 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
17911 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17912 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17913 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17914 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17915 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17916 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17917 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17918 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
17919 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17920 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17921 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17922 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17923 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17924 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
17925 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17926 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17927 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17928 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17929 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17930 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17931 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17932 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17933 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17934 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17935 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17936 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17937 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17938 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17939 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17940 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17941 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17942 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17943 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17944 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17945 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17946 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17947 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17948 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17949 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17950 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
17951 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17952 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17953 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17954 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17955 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17956 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17957 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17958 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17959 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17960 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17961 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17962 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17963 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17964 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
17965 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17966 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17967 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17968 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17969 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17970 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17971 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17972 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17973 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17974 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17975 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17976 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17977 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17978 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17979 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17980 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17981 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17982 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17983 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17984 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17985 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17986 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17987 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17988 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
17989 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17990 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17991 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17992 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17993 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17994 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17995 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17996 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17997 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
17998 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
17999 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18000 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18001 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18002 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18003 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18004 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18005 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18006 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18007 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18008 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18009 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18010 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18011 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18012 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18013 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18014 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18015 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18016 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18017 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18018 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18019 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18020 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18021 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18022 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18023 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18024 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18025 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18026 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18027 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18028 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18029 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18030 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18031 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18032 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18033 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18034 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18035 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18036 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18037 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18038 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18039 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18040 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18041 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18042 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18043 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18044 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18045 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18046 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18047 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18048 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18049 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18050 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18051 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18052 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18053 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18054 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18055 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18056 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18057 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18058 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18059 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18060 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18061 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18062 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18063 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18064 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18065 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18066 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18067 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18068 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18069 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18070 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18071 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18072 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18073 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18074 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18075 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18076 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18077 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18078 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18079 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18080 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18081 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18082 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18083 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18084 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18085 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18086 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18087 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18088 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18089 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18090 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18091 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18092 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18093 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18094 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18095 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18096 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18097 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18098 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18099 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18100 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18101 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18102 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18103 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18104 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18105 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18106 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18107 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18108 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18109 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18110 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18111 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18112 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18113 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18114 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18115 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18116 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18117 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18118 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18119 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18120 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18121 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18122 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18123 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18124 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18125 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18126 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18127 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18128 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18129 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18130 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18131 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18132 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18133 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18134 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18135 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18136 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18137 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18138 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18139 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18140 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18141 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18142 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18143 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18144 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18145 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18146 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18147 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18148 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18149 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18150 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18151 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18152 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18153 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18154 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18155 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18156 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18157 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18158 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18159 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18160 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18161 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18162 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18163 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18164 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18165 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18166 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18167 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18168 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18169 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18170 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18171 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18172 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18173 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18174 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18175 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18176 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18177 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18178 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18179 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18180 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18181 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18182 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18183 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18184 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18185 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18186 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18187 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18188 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18189 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18190 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18191 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18192 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18193 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18194 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18195 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18196 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18197 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18198 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18199 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18200 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18201 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18202 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18203 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18204 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18205 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18206 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18207 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18208 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18209 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18210 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18211 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18212 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18213 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18214 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18215 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18216 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18217 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18218 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18219 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18220 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18221 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18222 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18223 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18224 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18225 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18226 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18227 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18228 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18229 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18230 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18231 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18232 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
, NULL
},
18233 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18234 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18235 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18236 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18237 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18238 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18239 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18240 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18241 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18242 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18243 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18244 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18245 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18246 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18247 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18248 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18249 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18250 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18251 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18252 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18253 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18254 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18255 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18256 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18257 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18258 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18259 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18260 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18261 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18262 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18263 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18264 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18265 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18266 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18267 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18268 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18269 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18270 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18271 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18272 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18273 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18274 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18275 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18276 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18277 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18278 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18279 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18280 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18281 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18282 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18283 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18284 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
18285 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18286 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18287 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18288 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18289 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18290 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18291 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
18292 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18293 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18294 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18295 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18296 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
18297 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18298 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18299 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18300 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18301 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18302 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18303 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18304 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18305 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18306 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18307 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18308 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18309 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18310 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18311 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
18312 { NULL
, NULL
, 0, NULL
}
18316 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18318 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18319 return (void *)((wxWindow
*) ((wxControl
*) x
));
18321 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18322 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18324 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18325 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18327 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18328 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18330 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18331 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18333 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18334 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18336 static void *_p_wxPenTo_p_wxObject(void *x
) {
18337 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18339 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18340 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18342 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18343 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18345 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18346 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18348 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18349 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18351 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18354 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18355 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18357 static void *_p_wxIconTo_p_wxObject(void *x
) {
18358 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18360 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18361 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18363 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18364 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18366 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18367 return (void *)((wxObject
*) ((wxSizer
*) x
));
18369 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18370 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18372 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18375 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18376 return (void *)((wxObject
*) ((wxPenList
*) x
));
18378 static void *_p_wxEventTo_p_wxObject(void *x
) {
18379 return (void *)((wxObject
*) ((wxEvent
*) x
));
18381 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18382 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18384 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18385 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18387 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18388 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18390 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18391 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18393 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18394 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18396 static void *_p_wxDCTo_p_wxObject(void *x
) {
18397 return (void *)((wxObject
*) ((wxDC
*) x
));
18399 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18400 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18402 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18403 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18405 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18406 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18408 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18409 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18411 static void *_p_wxControlTo_p_wxObject(void *x
) {
18412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18414 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18415 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18417 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18418 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18420 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18421 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18423 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18424 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18426 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18427 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18429 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18430 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18432 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18433 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18435 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18436 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18438 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18439 return (void *)((wxObject
*) ((wxEffects
*) x
));
18441 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18442 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18444 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18447 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18448 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18450 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18451 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18453 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18454 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18456 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18457 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18459 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18462 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18463 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18465 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18466 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18468 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18469 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18471 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18472 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18474 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18475 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18477 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18478 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18480 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18483 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18486 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18489 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18492 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18495 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18498 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18499 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18501 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18502 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18504 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18505 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18507 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18510 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18511 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18513 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18514 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18516 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18517 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18519 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18520 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18522 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18523 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18525 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18526 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18528 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18529 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18531 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18532 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18534 static void *_p_wxImageTo_p_wxObject(void *x
) {
18535 return (void *)((wxObject
*) ((wxImage
*) x
));
18537 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18538 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18540 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18541 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18543 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18544 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18546 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18547 return (void *)((wxObject
*) ((wxImageList
*) x
));
18549 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18550 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18552 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18553 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18555 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18556 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18558 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18561 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18562 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18564 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18565 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18567 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18568 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18570 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18571 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18573 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18576 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18577 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18579 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18580 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18582 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18583 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18585 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18586 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18588 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18589 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18591 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18592 return (void *)((wxObject
*) ((wxMask
*) x
));
18594 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18597 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18598 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18600 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18601 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18603 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18604 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18606 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18607 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18609 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18610 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18612 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18615 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18616 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18618 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18619 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18621 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18622 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18624 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18627 static void *_p_wxFontTo_p_wxObject(void *x
) {
18628 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18630 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18631 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18633 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18634 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18636 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18639 static void *_p_wxColourTo_p_wxObject(void *x
) {
18640 return (void *)((wxObject
*) ((wxColour
*) x
));
18642 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18643 return (void *)((wxObject
*) ((wxFontList
*) x
));
18645 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18648 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18649 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18651 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18652 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18654 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18655 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18657 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18658 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18660 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18661 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18663 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18664 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18666 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18667 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18669 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18670 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18672 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18673 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18675 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18676 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18678 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18679 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18681 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18682 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18684 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18685 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18687 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18688 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18690 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18691 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18693 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18694 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18696 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18697 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18699 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18700 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18702 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18703 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18705 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18706 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18708 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18709 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18711 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18712 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18714 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18715 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18717 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}};
18718 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}};
18719 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}};
18720 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}};
18721 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}};
18722 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}};
18723 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}};
18724 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}};
18725 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}};
18726 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}};
18727 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}};
18728 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}};
18729 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}};
18730 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}};
18731 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}};
18732 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}};
18733 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}};
18734 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}};
18735 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}};
18736 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}};
18737 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}};
18738 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}};
18739 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_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_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_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_wxPyPen", _p_wxPyPenTo_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}};
18740 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}};
18741 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}};
18742 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}};
18743 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}};
18744 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}};
18745 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}};
18746 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}};
18747 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}};
18748 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}};
18749 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}};
18750 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}};
18751 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}};
18752 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}};
18753 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_wxPyPen", _p_wxPyPenTo_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}};
18754 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}};
18755 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}};
18756 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}};
18757 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}};
18758 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}};
18759 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}};
18760 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}};
18761 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}};
18762 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}};
18763 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
, 0, 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18764 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}};
18765 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}};
18766 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}};
18767 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0, 0, 0, 0},{"_p_wxPyPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
18768 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}};
18769 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}};
18770 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}};
18771 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}};
18772 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}};
18774 static swig_type_info
*swig_types_initial
[] = {
18775 _swigt__p_wxPostScriptDC
,
18777 _swigt__p_wxColour
,
18779 _swigt__p_wxMirrorDC
,
18781 _swigt__p_wxPyFontEnumerator
,
18783 _swigt__p_wxIconLocation
,
18785 _swigt__p_wxMetaFileDC
,
18788 _swigt__p_wxWindow
,
18791 _swigt__p_wxMemoryDC
,
18792 _swigt__p_wxFontMapper
,
18793 _swigt__p_wxEffects
,
18794 _swigt__p_wxNativeEncodingInfo
,
18795 _swigt__p_wxPalette
,
18796 _swigt__p_wxBitmap
,
18797 _swigt__p_wxObject
,
18798 _swigt__p_wxRegionIterator
,
18800 _swigt__p_wxString
,
18801 _swigt__p_wxPrinterDC
,
18802 _swigt__p_wxIconBundle
,
18805 _swigt__p_wxScreenDC
,
18806 _swigt__p_wxCursor
,
18807 _swigt__p_wxClientDC
,
18808 _swigt__p_wxBufferedDC
,
18809 _swigt__p_wxImageList
,
18810 _swigt__p_unsigned_char
,
18811 _swigt__p_wxGDIObject
,
18813 _swigt__p_wxLocale
,
18814 _swigt__p_wxRegion
,
18815 _swigt__p_wxLanguageInfo
,
18816 _swigt__p_wxConfigBase
,
18817 _swigt__p_wxWindowDC
,
18818 _swigt__p_wxPrintData
,
18819 _swigt__p_wxBrushList
,
18820 _swigt__p_wxFontList
,
18822 _swigt__p_wxBufferedPaintDC
,
18823 _swigt__p_wxPaintDC
,
18824 _swigt__p_wxPenList
,
18827 _swigt__p_wxMetaFile
,
18828 _swigt__p_wxNativeFontInfo
,
18829 _swigt__p_wxEncodingConverter
,
18830 _swigt__p_wxColourDatabase
,
18835 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18837 static swig_const_info swig_const_table
[] = {
18838 {0, 0, 0, 0.0, 0, 0}};
18847 SWIGEXPORT(void) SWIG_init(void) {
18848 static PyObject
*SWIG_globals
= 0;
18849 static int typeinit
= 0;
18852 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18853 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18854 d
= PyModule_GetDict(m
);
18857 for (i
= 0; swig_types_initial
[i
]; i
++) {
18858 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18862 SWIG_InstallConstants(d
,swig_const_table
);
18864 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
18865 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
18866 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
18867 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
18868 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18869 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
18870 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
18871 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
18872 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
18873 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
18874 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
18875 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18876 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
18877 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
18878 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
18879 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
18880 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
18881 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
18882 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
18883 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
18884 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
18885 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
18886 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
18887 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
18888 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
18889 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
18890 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
18891 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
18892 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
18893 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
18894 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
18895 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
18896 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
18897 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
18898 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
18899 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
18900 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
18901 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
18902 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
18903 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
18904 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
18905 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
18906 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
18907 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
18908 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
18909 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
18910 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
18911 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
18912 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
18913 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
18914 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
18915 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
18916 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
18917 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
18918 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
18919 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
18920 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
18921 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
18922 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
18923 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
18924 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
18925 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
18926 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
18927 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
18928 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
18929 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
18930 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
18931 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
18932 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
18933 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
18934 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
18935 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
18936 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
18937 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
18938 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
18939 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
18940 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
18941 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
18942 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
18943 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
18944 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
18945 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
18946 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
18947 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
18948 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
18949 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
18950 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
18951 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
18952 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
18953 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
18954 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
18955 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
18956 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
18957 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
18958 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
18959 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
18960 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
18961 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
18962 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
18963 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
18964 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
18965 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
18966 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
18967 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
18968 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
18969 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
18970 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
18971 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
18972 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
18973 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
18974 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
18975 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
18976 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
18977 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
18978 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
18979 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
18980 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
18981 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
18982 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
18983 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
18984 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
18985 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
18986 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
18987 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
18988 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
18989 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
18991 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
18993 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
18994 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
18995 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
18996 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
18997 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
18998 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
18999 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19000 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19001 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19002 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19003 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19004 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19005 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19006 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19007 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19008 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19009 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19010 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19011 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19012 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19013 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19014 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19015 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19016 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19017 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19018 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19019 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19020 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19021 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19022 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19023 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19024 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19025 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19026 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19027 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19028 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19029 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19030 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19031 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19032 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19033 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19034 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19035 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19036 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19037 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19038 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19039 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19040 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19041 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19042 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19043 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19044 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19045 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19046 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19047 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19048 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19049 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19050 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19051 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19052 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19053 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19054 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19055 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19056 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19057 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19058 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19059 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19060 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19061 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19062 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19063 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19064 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19065 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19066 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19067 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19068 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19069 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19070 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19071 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19072 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19073 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19074 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19075 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19076 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19077 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19078 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19079 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19080 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19081 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19082 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19083 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19084 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19085 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19086 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19087 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19088 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19089 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19090 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19091 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19092 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19093 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19094 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19095 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19096 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19097 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19098 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19099 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19100 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19101 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19102 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19103 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19104 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19105 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19106 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19107 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19108 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19109 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19110 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19111 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19112 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19113 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19114 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19115 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19116 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19117 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19118 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19119 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19120 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19121 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19122 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19123 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19124 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19125 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19126 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19127 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19128 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19129 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19130 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19131 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19132 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19133 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19134 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19135 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19136 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19137 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19138 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19139 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19140 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19141 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19142 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19143 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19144 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19145 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19146 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19147 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19148 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19149 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19150 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19151 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19152 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19153 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19154 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19155 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19156 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19157 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19158 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19159 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19160 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19161 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19162 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19163 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19164 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19165 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19166 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19167 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19168 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19169 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19170 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19171 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19172 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19173 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19174 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19175 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19176 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19177 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19178 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19179 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19180 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19181 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19182 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19183 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19184 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19185 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19186 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19187 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19188 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19189 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19190 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19191 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19192 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19193 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19194 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19195 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19196 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19197 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19198 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19199 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19200 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19201 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19202 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19203 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19204 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19205 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19206 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19207 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19208 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19209 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19210 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19211 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19212 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19213 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19214 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19215 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19216 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19217 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19218 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19219 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19220 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19221 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19222 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19223 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19224 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19225 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19226 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19227 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19228 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19229 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19230 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19231 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19232 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19233 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19234 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19235 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19236 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19237 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19238 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19239 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19240 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19241 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19242 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19243 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19244 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19245 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19246 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19247 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19248 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19249 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19250 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19251 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19252 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19253 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19254 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19255 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19256 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19257 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19258 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19259 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19260 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19261 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19262 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19263 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19264 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19265 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19266 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19267 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19268 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19269 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19270 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19271 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19272 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19273 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19274 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19275 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19276 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19277 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19278 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19279 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19280 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19281 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19282 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19283 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19284 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19285 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19286 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19287 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19288 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19289 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19290 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19291 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19292 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19294 // Work around a chicken/egg problem in drawlist.cpp
19295 wxPyDrawList_SetAPIPtr();