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 #include <wx/image.h>
559 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
560 char** cArray
= NULL
;
563 if (!PyList_Check(listOfStrings
)) {
564 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
567 count
= PyList_Size(listOfStrings
);
568 cArray
= new char*[count
];
570 for(int x
=0; x
<count
; x
++) {
571 // TODO: Need some validation and error checking here
572 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
578 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
579 char** cArray
= NULL
;
582 cArray
= ConvertListOfStrings(listOfStrings
);
585 bmp
= new wxBitmap(cArray
);
589 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
592 PyString_AsStringAndSize(bits
, &buf
, &length
);
593 return new wxBitmap(buf
, width
, height
, depth
);
595 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
596 wxMask
*mask
= new wxMask(*self
, colour
);
599 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
601 return new wxMask(bitmap
, *wxBLACK
);
603 return new wxMask(bitmap
, colour
);
606 #include <wx/iconbndl.h>
608 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
609 wxIcon
* icon
= new wxIcon();
610 icon
->CopyFromBitmap(bmp
);
613 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
614 char** cArray
= NULL
;
617 cArray
= ConvertListOfStrings(listOfStrings
);
620 icon
= new wxIcon(cArray
);
624 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
628 return new wxIconLocation(*filename
);
631 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
638 int wxIconLocation_GetIndex(wxIconLocation
*self
){
646 SWIGSTATICINLINE(int)
647 SWIG_CheckLong(PyObject
* obj
)
650 if (PyErr_Occurred()) {
658 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
660 wxCHECK_MSG(False
, NULL
,
661 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
663 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
668 void wxRegionIterator_Next(wxRegionIterator
*self
){
671 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
672 return self
->operator bool();
675 #include <wx/fontutil.h>
676 #include <wx/fontmap.h>
677 #include <wx/fontenum.h>
679 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
680 return self
->ToString();
683 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
684 static wxNativeEncodingInfo info
;
685 if ( wxGetNativeFontEncoding(encoding
, &info
) )
691 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
692 wxFontEncoding alt_enc
;
693 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
694 return PyInt_FromLong(alt_enc
);
700 wxFont
*new_wxFont(wxString
const &info
){
701 wxNativeFontInfo nfi
;
702 nfi
.FromString(info
);
703 return new wxFont(nfi
);
705 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
706 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
708 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
709 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
711 class wxPyFontEnumerator
: public wxFontEnumerator
{
713 wxPyFontEnumerator() {}
714 ~wxPyFontEnumerator() {}
716 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
717 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
722 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
723 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
726 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
727 wxArrayString
* arr
= self
->GetEncodings();
728 return wxArrayString2PyList_helper(*arr
);
730 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
731 wxArrayString
* arr
= self
->GetFacenames();
732 return wxArrayString2PyList_helper(*arr
);
737 #include "wx/wxPython/pydrawxxx.h"
739 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
741 self
->GetPixel(x
, y
, &col
);
744 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
746 self
->GetPixel(pt
, &col
);
750 SWIGSTATICINLINE(double)
751 SWIG_AsDouble(PyObject
*obj
)
753 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
755 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
757 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
759 if (PyErr_Occurred()) {
761 PyErr_SetString(PyExc_TypeError
, "a double is expected");
767 SWIGSTATICINLINE(int)
768 SWIG_CheckDouble(PyObject
* obj
)
771 if (PyErr_Occurred()) {
779 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
781 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
784 wxRect
wxDC_GetClippingRect(wxDC
*self
){
786 self
->GetClippingBox(rect
);
789 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
791 self
->GetPartialTextExtents(text
, widths
);
794 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
795 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
797 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
798 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
800 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
801 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
803 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
804 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
806 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
807 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
809 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
810 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
813 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
821 //-=-=-=-=-=-=-=-=-=-=-
824 // Use the standard wxBufferedDC
825 #include <wx/dcbuffer.h>
829 // Or, temporarily put a set of classes here similar to the old buffered DC
830 // classes until the real ones can be fixed to work "correctly" again.
832 class wxBufferedDC
: public wxMemoryDC
840 wxBufferedDC() : m_dc( 0 ) {}
842 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
843 : m_dc( dc
), m_buffer( buffer
)
845 SelectObject( m_buffer
);
848 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
849 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
851 SelectObject( m_buffer
);
860 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
861 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
862 _T("wxBufferedDC already initialised") );
865 SelectObject( m_buffer
);
868 void Init( wxDC
*dc
, const wxSize
&area
) {
869 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
870 _T("wxBufferedDC already initialised") );
872 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
873 SelectObject( m_buffer
);
877 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
878 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
884 class wxBufferedPaintDC
: public wxBufferedDC
890 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
891 : m_paintdc( window
)
893 window
->PrepareDC( m_paintdc
);
895 if( buffer
!= wxNullBitmap
)
896 Init( &m_paintdc
, buffer
);
898 Init( &m_paintdc
, window
->GetClientSize() );
901 ~wxBufferedPaintDC() {
907 //-=-=-=-=-=-=-=-=-=-=-
913 class wxMetaFile
: public wxObject
{
915 wxMetaFile(const wxString
&)
916 { wxPyRaiseNotImplemented(); }
919 class wxMetaFileDC
: public wxClientDC
{
921 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
922 { wxPyRaiseNotImplemented(); }
927 class wxPrinterDC
: public wxClientDC
{
929 wxPrinterDC(const wxPrintData
&)
930 { wxPyRaiseNotImplemented(); }
932 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
933 // { wxPyRaiseNotImplemented(); }
938 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
939 self
->AddColour(name
, wxColour(red
, green
, blue
));
942 #include <wx/effects.h>
947 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 result
= (wxGDIObject
*)new wxGDIObject();
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) SWIG_fail
;
962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
969 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
972 PyObject
* obj0
= 0 ;
974 (char *) "self", NULL
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 wxPyEndAllowThreads(__tstate
);
985 if (PyErr_Occurred()) SWIG_fail
;
987 Py_INCREF(Py_None
); resultobj
= Py_None
;
994 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
998 PyObject
* obj0
= 0 ;
1000 (char *) "self", NULL
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1008 result
= (bool)(arg1
)->GetVisible();
1010 wxPyEndAllowThreads(__tstate
);
1011 if (PyErr_Occurred()) SWIG_fail
;
1013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1020 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
*resultobj
;
1022 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1024 PyObject
* obj0
= 0 ;
1025 PyObject
* obj1
= 0 ;
1027 (char *) "self",(char *) "visible", NULL
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1033 arg2
= (bool) SWIG_AsBool(obj1
);
1034 if (PyErr_Occurred()) SWIG_fail
;
1036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1037 (arg1
)->SetVisible(arg2
);
1039 wxPyEndAllowThreads(__tstate
);
1040 if (PyErr_Occurred()) SWIG_fail
;
1042 Py_INCREF(Py_None
); resultobj
= Py_None
;
1049 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
*resultobj
;
1051 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1053 PyObject
* obj0
= 0 ;
1055 (char *) "self", NULL
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1063 result
= (bool)(arg1
)->IsNull();
1065 wxPyEndAllowThreads(__tstate
);
1066 if (PyErr_Occurred()) SWIG_fail
;
1068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1075 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1078 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1080 return Py_BuildValue((char *)"");
1082 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
*resultobj
;
1084 unsigned char arg1
= (unsigned char) 0 ;
1085 unsigned char arg2
= (unsigned char) 0 ;
1086 unsigned char arg3
= (unsigned char) 0 ;
1088 PyObject
* obj0
= 0 ;
1089 PyObject
* obj1
= 0 ;
1090 PyObject
* obj2
= 0 ;
1092 (char *) "red",(char *) "green",(char *) "blue", NULL
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1097 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1101 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1102 if (PyErr_Occurred()) SWIG_fail
;
1105 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1106 if (PyErr_Occurred()) SWIG_fail
;
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) SWIG_fail
;
1115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1122 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
*resultobj
;
1124 wxString
*arg1
= 0 ;
1126 bool temp1
= False
;
1127 PyObject
* obj0
= 0 ;
1129 (char *) "colorName", NULL
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1134 arg1
= wxString_in_helper(obj0
);
1135 if (arg1
== NULL
) SWIG_fail
;
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) SWIG_fail
;
1145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1160 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
*resultobj
;
1162 unsigned long arg1
;
1164 PyObject
* obj0
= 0 ;
1166 (char *) "colRGB", NULL
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1170 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1171 if (PyErr_Occurred()) SWIG_fail
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 result
= (wxColour
*)new wxColour(arg1
);
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) SWIG_fail
;
1179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1186 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
*resultobj
;
1188 wxColour
*arg1
= (wxColour
*) 0 ;
1189 PyObject
* obj0
= 0 ;
1191 (char *) "self", NULL
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1204 Py_INCREF(Py_None
); resultobj
= Py_None
;
1211 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
*resultobj
;
1213 wxColour
*arg1
= (wxColour
*) 0 ;
1214 unsigned char result
;
1215 PyObject
* obj0
= 0 ;
1217 (char *) "self", NULL
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 result
= (unsigned char)(arg1
)->Red();
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1230 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1237 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
*resultobj
;
1239 wxColour
*arg1
= (wxColour
*) 0 ;
1240 unsigned char result
;
1241 PyObject
* obj0
= 0 ;
1243 (char *) "self", NULL
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 result
= (unsigned char)(arg1
)->Green();
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1256 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1263 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
*resultobj
;
1265 wxColour
*arg1
= (wxColour
*) 0 ;
1266 unsigned char result
;
1267 PyObject
* obj0
= 0 ;
1269 (char *) "self", NULL
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 result
= (unsigned char)(arg1
)->Blue();
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) SWIG_fail
;
1282 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1289 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
*resultobj
;
1291 wxColour
*arg1
= (wxColour
*) 0 ;
1293 PyObject
* obj0
= 0 ;
1295 (char *) "self", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 result
= (bool)(arg1
)->Ok();
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1315 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
*resultobj
;
1317 wxColour
*arg1
= (wxColour
*) 0 ;
1318 unsigned char arg2
;
1319 unsigned char arg3
;
1320 unsigned char arg4
;
1321 PyObject
* obj0
= 0 ;
1322 PyObject
* obj1
= 0 ;
1323 PyObject
* obj2
= 0 ;
1324 PyObject
* obj3
= 0 ;
1326 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1332 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1334 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1335 if (PyErr_Occurred()) SWIG_fail
;
1336 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 (arg1
)->Set(arg2
,arg3
,arg4
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1345 Py_INCREF(Py_None
); resultobj
= Py_None
;
1352 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1354 wxColour
*arg1
= (wxColour
*) 0 ;
1355 unsigned long arg2
;
1356 PyObject
* obj0
= 0 ;
1357 PyObject
* obj1
= 0 ;
1359 (char *) "self",(char *) "colRGB", NULL
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1365 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1374 Py_INCREF(Py_None
); resultobj
= Py_None
;
1381 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1383 wxColour
*arg1
= (wxColour
*) 0 ;
1384 wxString
*arg2
= 0 ;
1385 bool temp2
= False
;
1386 PyObject
* obj0
= 0 ;
1387 PyObject
* obj1
= 0 ;
1389 (char *) "self",(char *) "colourName", NULL
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1396 arg2
= wxString_in_helper(obj1
);
1397 if (arg2
== NULL
) SWIG_fail
;
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 (arg1
)->InitFromName((wxString
const &)*arg2
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1407 Py_INCREF(Py_None
); resultobj
= Py_None
;
1422 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxColour
*arg1
= (wxColour
*) 0 ;
1426 PyObject
* obj0
= 0 ;
1428 (char *) "self", NULL
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1441 resultobj
= SWIG_FromLong((long)result
);
1448 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxColour
*arg1
= (wxColour
*) 0 ;
1451 wxColour
*arg2
= 0 ;
1454 PyObject
* obj0
= 0 ;
1455 PyObject
* obj1
= 0 ;
1457 (char *) "self",(char *) "colour", NULL
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1481 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
*resultobj
;
1483 wxColour
*arg1
= (wxColour
*) 0 ;
1484 wxColour
*arg2
= 0 ;
1487 PyObject
* obj0
= 0 ;
1488 PyObject
* obj1
= 0 ;
1490 (char *) "self",(char *) "colour", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1498 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1502 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1504 wxPyEndAllowThreads(__tstate
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1514 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
*resultobj
;
1516 wxColour
*arg1
= (wxColour
*) 0 ;
1518 PyObject
* obj0
= 0 ;
1520 (char *) "self", NULL
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 result
= (PyObject
*)wxColour_Get(arg1
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1540 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
*resultobj
;
1542 wxColour
*arg1
= (wxColour
*) 0 ;
1543 unsigned long result
;
1544 PyObject
* obj0
= 0 ;
1546 (char *) "self", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 result
= (unsigned long)wxColour_GetRGB(arg1
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1559 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1566 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1569 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1571 return Py_BuildValue((char *)"");
1573 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1576 unsigned char *arg2
= (unsigned char *) 0 ;
1577 unsigned char *arg3
= (unsigned char *) 0 ;
1578 unsigned char *arg4
= (unsigned char *) 0 ;
1580 PyObject
* obj0
= 0 ;
1581 PyObject
* obj1
= 0 ;
1582 PyObject
* obj2
= 0 ;
1583 PyObject
* obj3
= 0 ;
1585 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1589 arg1
= (int) SWIG_AsInt(obj0
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1595 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1611 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1613 wxPalette
*arg1
= (wxPalette
*) 0 ;
1614 PyObject
* obj0
= 0 ;
1616 (char *) "self", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1629 Py_INCREF(Py_None
); resultobj
= Py_None
;
1636 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1638 wxPalette
*arg1
= (wxPalette
*) 0 ;
1643 PyObject
* obj0
= 0 ;
1644 PyObject
* obj1
= 0 ;
1645 PyObject
* obj2
= 0 ;
1646 PyObject
* obj3
= 0 ;
1648 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1654 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1656 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1658 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 resultobj
= SWIG_FromInt((int)result
);
1674 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxPalette
*arg1
= (wxPalette
*) 0 ;
1678 byte
*arg3
= (byte
*) 0 ;
1679 byte
*arg4
= (byte
*) 0 ;
1680 byte
*arg5
= (byte
*) 0 ;
1685 PyObject
* obj0
= 0 ;
1686 PyObject
* obj1
= 0 ;
1688 (char *) "self",(char *) "pixel", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1697 arg2
= (int) SWIG_AsInt(obj1
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1708 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1709 resultobj
= t_output_helper(resultobj
,o
);
1712 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1713 resultobj
= t_output_helper(resultobj
,o
);
1716 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1717 resultobj
= t_output_helper(resultobj
,o
);
1725 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 wxPalette
*arg1
= (wxPalette
*) 0 ;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "self", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 result
= (bool)(arg1
)->Ok();
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1751 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1754 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1756 return Py_BuildValue((char *)"");
1758 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
*resultobj
;
1760 wxColour
*arg1
= 0 ;
1761 int arg2
= (int) 1 ;
1762 int arg3
= (int) wxSOLID
;
1765 PyObject
* obj0
= 0 ;
1766 PyObject
* obj1
= 0 ;
1767 PyObject
* obj2
= 0 ;
1769 (char *) "colour",(char *) "width",(char *) "style", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1775 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1778 arg2
= (int) SWIG_AsInt(obj1
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1782 arg3
= (int) SWIG_AsInt(obj2
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) SWIG_fail
;
1792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1799 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxPen
*arg1
= (wxPen
*) 0 ;
1802 PyObject
* obj0
= 0 ;
1804 (char *) "self", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1817 Py_INCREF(Py_None
); resultobj
= Py_None
;
1824 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
*resultobj
;
1826 wxPen
*arg1
= (wxPen
*) 0 ;
1828 PyObject
* obj0
= 0 ;
1830 (char *) "self", NULL
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 result
= (int)(arg1
)->GetCap();
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1843 resultobj
= SWIG_FromInt((int)result
);
1850 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxPen
*arg1
= (wxPen
*) 0 ;
1854 PyObject
* obj0
= 0 ;
1856 (char *) "self", NULL
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 result
= (arg1
)->GetColour();
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1870 wxColour
* resultptr
;
1871 resultptr
= new wxColour((wxColour
&) result
);
1872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1880 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
*resultobj
;
1882 wxPen
*arg1
= (wxPen
*) 0 ;
1884 PyObject
* obj0
= 0 ;
1886 (char *) "self", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 result
= (int)(arg1
)->GetJoin();
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 resultobj
= SWIG_FromInt((int)result
);
1906 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 wxPen
*arg1
= (wxPen
*) 0 ;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "self", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 result
= (int)(arg1
)->GetStyle();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 resultobj
= SWIG_FromInt((int)result
);
1932 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxPen
*arg1
= (wxPen
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (int)(arg1
)->GetWidth();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= SWIG_FromInt((int)result
);
1958 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxPen
*arg1
= (wxPen
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 result
= (bool)(arg1
)->Ok();
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1984 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
*resultobj
;
1986 wxPen
*arg1
= (wxPen
*) 0 ;
1988 PyObject
* obj0
= 0 ;
1989 PyObject
* obj1
= 0 ;
1991 (char *) "self",(char *) "cap_style", NULL
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1997 arg2
= (int) SWIG_AsInt(obj1
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 (arg1
)->SetCap(arg2
);
2003 wxPyEndAllowThreads(__tstate
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2006 Py_INCREF(Py_None
); resultobj
= Py_None
;
2013 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2015 wxPen
*arg1
= (wxPen
*) 0 ;
2016 wxColour
*arg2
= 0 ;
2018 PyObject
* obj0
= 0 ;
2019 PyObject
* obj1
= 0 ;
2021 (char *) "self",(char *) "colour", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 (arg1
)->SetColour(*arg2
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 Py_INCREF(Py_None
); resultobj
= Py_None
;
2045 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 wxPen
*arg1
= (wxPen
*) 0 ;
2049 PyObject
* obj0
= 0 ;
2050 PyObject
* obj1
= 0 ;
2052 (char *) "self",(char *) "join_style", NULL
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2058 arg2
= (int) SWIG_AsInt(obj1
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 (arg1
)->SetJoin(arg2
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2067 Py_INCREF(Py_None
); resultobj
= Py_None
;
2074 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxPen
*arg1
= (wxPen
*) 0 ;
2078 PyObject
* obj0
= 0 ;
2079 PyObject
* obj1
= 0 ;
2081 (char *) "self",(char *) "style", NULL
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2087 arg2
= (int) SWIG_AsInt(obj1
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 (arg1
)->SetStyle(arg2
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2096 Py_INCREF(Py_None
); resultobj
= Py_None
;
2103 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
*resultobj
;
2105 wxPen
*arg1
= (wxPen
*) 0 ;
2107 PyObject
* obj0
= 0 ;
2108 PyObject
* obj1
= 0 ;
2110 (char *) "self",(char *) "width", NULL
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2116 arg2
= (int) SWIG_AsInt(obj1
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 (arg1
)->SetWidth(arg2
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 Py_INCREF(Py_None
); resultobj
= Py_None
;
2132 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxPen
*arg1
= (wxPen
*) 0 ;
2136 wxDash
*arg3
= (wxDash
*) 0 ;
2137 PyObject
* obj0
= 0 ;
2138 PyObject
* obj1
= 0 ;
2140 (char *) "self",(char *) "dashes", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2147 arg2
= PyList_Size(obj1
);
2148 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2149 if (arg3
== NULL
) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 (arg1
)->SetDashes(arg2
,arg3
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 Py_INCREF(Py_None
); resultobj
= Py_None
;
2160 if (arg3
) delete [] arg3
;
2165 if (arg3
) delete [] arg3
;
2171 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
*resultobj
;
2173 wxPen
*arg1
= (wxPen
*) 0 ;
2175 PyObject
* obj0
= 0 ;
2177 (char *) "self", NULL
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2197 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxPen
*arg1
= (wxPen
*) 0 ;
2200 wxPen
*arg2
= (wxPen
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2203 PyObject
* obj1
= 0 ;
2205 (char *) "self",(char *) "other", NULL
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2227 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2229 wxPen
*arg1
= (wxPen
*) 0 ;
2230 wxPen
*arg2
= (wxPen
*) 0 ;
2232 PyObject
* obj0
= 0 ;
2233 PyObject
* obj1
= 0 ;
2235 (char *) "self",(char *) "other", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2257 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2259 wxPen
*arg1
= (wxPen
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2263 (char *) "self", NULL
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 resultobj
= SWIG_FromInt((int)result
);
2283 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2286 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2288 return Py_BuildValue((char *)"");
2290 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxColour
*arg1
= 0 ;
2293 int arg2
= (int) 1 ;
2294 int arg3
= (int) wxSOLID
;
2297 PyObject
* obj0
= 0 ;
2298 PyObject
* obj1
= 0 ;
2299 PyObject
* obj2
= 0 ;
2301 (char *) "colour",(char *) "width",(char *) "style", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2307 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2310 arg2
= (int) SWIG_AsInt(obj1
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 arg3
= (int) SWIG_AsInt(obj2
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2331 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2334 PyObject
* obj0
= 0 ;
2336 (char *) "self", NULL
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 Py_INCREF(Py_None
); resultobj
= Py_None
;
2356 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
*resultobj
;
2358 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2360 wxDash
*arg3
= (wxDash
*) 0 ;
2361 PyObject
* obj0
= 0 ;
2362 PyObject
* obj1
= 0 ;
2364 (char *) "self",(char *) "dashes", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2371 arg2
= PyList_Size(obj1
);
2372 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2373 if (arg3
== NULL
) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 (arg1
)->SetDashes(arg2
,arg3
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2382 Py_INCREF(Py_None
); resultobj
= Py_None
;
2384 if (arg3
) delete [] arg3
;
2389 if (arg3
) delete [] arg3
;
2395 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2398 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2400 return Py_BuildValue((char *)"");
2402 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxColour
*arg1
= 0 ;
2405 int arg2
= (int) wxSOLID
;
2408 PyObject
* obj0
= 0 ;
2409 PyObject
* obj1
= 0 ;
2411 (char *) "colour",(char *) "style", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2417 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2420 arg2
= (int) SWIG_AsInt(obj1
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2437 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2439 wxBrush
*arg1
= (wxBrush
*) 0 ;
2440 PyObject
* obj0
= 0 ;
2442 (char *) "self", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2455 Py_INCREF(Py_None
); resultobj
= Py_None
;
2462 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
*resultobj
;
2464 wxBrush
*arg1
= (wxBrush
*) 0 ;
2465 wxColour
*arg2
= 0 ;
2467 PyObject
* obj0
= 0 ;
2468 PyObject
* obj1
= 0 ;
2470 (char *) "self",(char *) "col", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 (arg1
)->SetColour((wxColour
const &)*arg2
);
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 Py_INCREF(Py_None
); resultobj
= Py_None
;
2494 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2496 wxBrush
*arg1
= (wxBrush
*) 0 ;
2498 PyObject
* obj0
= 0 ;
2499 PyObject
* obj1
= 0 ;
2501 (char *) "self",(char *) "style", NULL
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2507 arg2
= (int) SWIG_AsInt(obj1
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 (arg1
)->SetStyle(arg2
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 Py_INCREF(Py_None
); resultobj
= Py_None
;
2523 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxBrush
*arg1
= (wxBrush
*) 0 ;
2526 wxBitmap
*arg2
= 0 ;
2527 PyObject
* obj0
= 0 ;
2528 PyObject
* obj1
= 0 ;
2530 (char *) "self",(char *) "stipple", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2540 PyErr_SetString(PyExc_TypeError
,"null reference");
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxBrush
*arg1
= (wxBrush
*) 0 ;
2561 PyObject
* obj0
= 0 ;
2563 (char *) "self", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 result
= ((wxBrush
const *)arg1
)->GetColour();
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2577 wxColour
* resultptr
;
2578 resultptr
= new wxColour((wxColour
&) result
);
2579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2587 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 wxBrush
*arg1
= (wxBrush
*) 0 ;
2591 PyObject
* obj0
= 0 ;
2593 (char *) "self", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2606 resultobj
= SWIG_FromInt((int)result
);
2613 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
*resultobj
;
2615 wxBrush
*arg1
= (wxBrush
*) 0 ;
2617 PyObject
* obj0
= 0 ;
2619 (char *) "self", NULL
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2639 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxBrush
*arg1
= (wxBrush
*) 0 ;
2643 PyObject
* obj0
= 0 ;
2645 (char *) "self", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 result
= (bool)(arg1
)->Ok();
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2665 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2668 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2670 return Py_BuildValue((char *)"");
2672 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 wxString
*arg1
= 0 ;
2675 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2677 bool temp1
= False
;
2678 PyObject
* obj0
= 0 ;
2679 PyObject
* obj1
= 0 ;
2681 (char *) "name",(char *) "type", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2686 arg1
= wxString_in_helper(obj0
);
2687 if (arg1
== NULL
) SWIG_fail
;
2691 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2716 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2719 PyObject
* obj0
= 0 ;
2721 (char *) "self", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 Py_INCREF(Py_None
); resultobj
= Py_None
;
2741 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2745 int arg3
= (int) -1 ;
2747 PyObject
* obj0
= 0 ;
2748 PyObject
* obj1
= 0 ;
2749 PyObject
* obj2
= 0 ;
2751 (char *) "width",(char *) "height",(char *) "depth", NULL
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2755 arg1
= (int) SWIG_AsInt(obj0
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2757 arg2
= (int) SWIG_AsInt(obj1
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 arg3
= (int) SWIG_AsInt(obj2
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2777 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
*resultobj
;
2781 PyObject
* obj0
= 0 ;
2783 (char *) "icon", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2791 PyErr_SetString(PyExc_TypeError
,"null reference");
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2808 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2811 int arg2
= (int) -1 ;
2813 PyObject
* obj0
= 0 ;
2814 PyObject
* obj1
= 0 ;
2816 (char *) "image",(char *) "depth", NULL
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2824 PyErr_SetString(PyExc_TypeError
,"null reference");
2828 arg2
= (int) SWIG_AsInt(obj1
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2845 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
;
2847 PyObject
*arg1
= (PyObject
*) 0 ;
2849 PyObject
* obj0
= 0 ;
2851 (char *) "listOfStrings", NULL
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2870 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 PyObject
*arg1
= (PyObject
*) 0 ;
2875 int arg4
= (int) 1 ;
2877 PyObject
* obj0
= 0 ;
2878 PyObject
* obj1
= 0 ;
2879 PyObject
* obj2
= 0 ;
2880 PyObject
* obj3
= 0 ;
2882 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2887 arg2
= (int) SWIG_AsInt(obj1
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2889 arg3
= (int) SWIG_AsInt(obj2
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2892 arg4
= (int) SWIG_AsInt(obj3
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2909 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2915 (char *) "self", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 result
= (bool)(arg1
)->Ok();
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2935 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2939 PyObject
* obj0
= 0 ;
2941 (char *) "self", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 result
= (int)(arg1
)->GetWidth();
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2954 resultobj
= SWIG_FromInt((int)result
);
2961 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2965 PyObject
* obj0
= 0 ;
2967 (char *) "self", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 result
= (int)(arg1
)->GetHeight();
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= SWIG_FromInt((int)result
);
2987 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2993 (char *) "self", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= (int)(arg1
)->GetDepth();
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3006 resultobj
= SWIG_FromInt((int)result
);
3013 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3016 SwigValueWrapper
< wxImage
> result
;
3017 PyObject
* obj0
= 0 ;
3019 (char *) "self", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3033 wxImage
* resultptr
;
3034 resultptr
= new wxImage((wxImage
&) result
);
3035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3043 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3047 PyObject
* obj0
= 0 ;
3049 (char *) "self", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3069 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3072 wxMask
*arg2
= (wxMask
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3074 PyObject
* obj1
= 0 ;
3076 (char *) "self",(char *) "mask", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 (arg1
)->SetMask(arg2
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3091 Py_INCREF(Py_None
); resultobj
= Py_None
;
3098 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3101 wxColour
*arg2
= 0 ;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3106 (char *) "self",(char *) "colour", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3114 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3130 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3134 SwigValueWrapper
< wxBitmap
> result
;
3136 PyObject
* obj0
= 0 ;
3137 PyObject
* obj1
= 0 ;
3139 (char *) "self",(char *) "rect", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3157 wxBitmap
* resultptr
;
3158 resultptr
= new wxBitmap((wxBitmap
&) result
);
3159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3167 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3170 wxString
*arg2
= 0 ;
3172 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3174 bool temp2
= False
;
3175 PyObject
* obj0
= 0 ;
3176 PyObject
* obj1
= 0 ;
3177 PyObject
* obj2
= 0 ;
3178 PyObject
* obj3
= 0 ;
3180 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3187 arg2
= wxString_in_helper(obj1
);
3188 if (arg2
== NULL
) SWIG_fail
;
3191 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3219 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3222 wxString
*arg2
= 0 ;
3225 bool temp2
= False
;
3226 PyObject
* obj0
= 0 ;
3227 PyObject
* obj1
= 0 ;
3228 PyObject
* obj2
= 0 ;
3230 (char *) "self",(char *) "name",(char *) "type", NULL
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3237 arg2
= wxString_in_helper(obj1
);
3238 if (arg2
== NULL
) SWIG_fail
;
3241 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3265 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3270 PyObject
* obj0
= 0 ;
3271 PyObject
* obj1
= 0 ;
3273 (char *) "self",(char *) "icon", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3283 PyErr_SetString(PyExc_TypeError
,"null reference");
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3300 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "height", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3313 arg2
= (int) SWIG_AsInt(obj1
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 (arg1
)->SetHeight(arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3329 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3333 PyObject
* obj0
= 0 ;
3334 PyObject
* obj1
= 0 ;
3336 (char *) "self",(char *) "width", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 arg2
= (int) SWIG_AsInt(obj1
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 (arg1
)->SetWidth(arg2
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3351 Py_INCREF(Py_None
); resultobj
= Py_None
;
3358 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3362 PyObject
* obj0
= 0 ;
3363 PyObject
* obj1
= 0 ;
3365 (char *) "self",(char *) "depth", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3371 arg2
= (int) SWIG_AsInt(obj1
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 (arg1
)->SetDepth(arg2
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 Py_INCREF(Py_None
); resultobj
= Py_None
;
3387 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3390 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3392 return Py_BuildValue((char *)"");
3394 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxBitmap
*arg1
= 0 ;
3397 wxColour
const &arg2_defvalue
= wxNullColour
;
3398 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3401 PyObject
* obj0
= 0 ;
3402 PyObject
* obj1
= 0 ;
3404 (char *) "bitmap",(char *) "colour", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3412 PyErr_SetString(PyExc_TypeError
,"null reference");
3418 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3435 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3438 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3440 return Py_BuildValue((char *)"");
3442 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxString
*arg1
= 0 ;
3446 int arg3
= (int) -1 ;
3447 int arg4
= (int) -1 ;
3449 bool temp1
= False
;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3452 PyObject
* obj2
= 0 ;
3453 PyObject
* obj3
= 0 ;
3455 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3460 arg1
= wxString_in_helper(obj0
);
3461 if (arg1
== NULL
) SWIG_fail
;
3464 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 arg3
= (int) SWIG_AsInt(obj2
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3471 arg4
= (int) SWIG_AsInt(obj3
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3496 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxIcon
*arg1
= (wxIcon
*) 0 ;
3499 PyObject
* obj0
= 0 ;
3501 (char *) "self", NULL
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3521 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (wxIcon
*)new wxIcon();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3543 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxIconLocation
*arg1
= 0 ;
3547 PyObject
* obj0
= 0 ;
3549 (char *) "loc", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3557 PyErr_SetString(PyExc_TypeError
,"null reference");
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3574 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxBitmap
*arg1
= 0 ;
3578 PyObject
* obj0
= 0 ;
3580 (char *) "bmp", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3588 PyErr_SetString(PyExc_TypeError
,"null reference");
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3605 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 PyObject
*arg1
= (PyObject
*) 0 ;
3609 PyObject
* obj0
= 0 ;
3611 (char *) "listOfStrings", NULL
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 result
= (wxIcon
*)new_wxIcon(arg1
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3630 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxIcon
*arg1
= (wxIcon
*) 0 ;
3633 wxString
*arg2
= 0 ;
3636 bool temp2
= False
;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3639 PyObject
* obj2
= 0 ;
3641 (char *) "self",(char *) "name",(char *) "type", NULL
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3648 arg2
= wxString_in_helper(obj1
);
3649 if (arg2
== NULL
) SWIG_fail
;
3652 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3676 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxIcon
*arg1
= (wxIcon
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3682 (char *) "self", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= (bool)(arg1
)->Ok();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3702 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxIcon
*arg1
= (wxIcon
*) 0 ;
3706 PyObject
* obj0
= 0 ;
3708 (char *) "self", NULL
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= (int)(arg1
)->GetWidth();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= SWIG_FromInt((int)result
);
3728 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxIcon
*arg1
= (wxIcon
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3734 (char *) "self", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= (int)(arg1
)->GetHeight();
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_FromInt((int)result
);
3754 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxIcon
*arg1
= (wxIcon
*) 0 ;
3758 PyObject
* obj0
= 0 ;
3760 (char *) "self", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= (int)(arg1
)->GetDepth();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_FromInt((int)result
);
3780 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxIcon
*arg1
= (wxIcon
*) 0 ;
3784 PyObject
* obj0
= 0 ;
3785 PyObject
* obj1
= 0 ;
3787 (char *) "self",(char *) "w", NULL
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3793 arg2
= (int) SWIG_AsInt(obj1
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 (arg1
)->SetWidth(arg2
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 Py_INCREF(Py_None
); resultobj
= Py_None
;
3809 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 wxIcon
*arg1
= (wxIcon
*) 0 ;
3813 PyObject
* obj0
= 0 ;
3814 PyObject
* obj1
= 0 ;
3816 (char *) "self",(char *) "h", NULL
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3822 arg2
= (int) SWIG_AsInt(obj1
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 (arg1
)->SetHeight(arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 Py_INCREF(Py_None
); resultobj
= Py_None
;
3838 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
*resultobj
;
3840 wxIcon
*arg1
= (wxIcon
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3843 PyObject
* obj1
= 0 ;
3845 (char *) "self",(char *) "d", NULL
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 arg2
= (int) SWIG_AsInt(obj1
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 (arg1
)->SetDepth(arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3867 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxIcon
*arg1
= (wxIcon
*) 0 ;
3870 wxBitmap
*arg2
= 0 ;
3871 PyObject
* obj0
= 0 ;
3872 PyObject
* obj1
= 0 ;
3874 (char *) "self",(char *) "bmp", NULL
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3884 PyErr_SetString(PyExc_TypeError
,"null reference");
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3904 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3906 return Py_BuildValue((char *)"");
3908 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3911 int arg2
= (int) 0 ;
3912 wxIconLocation
*result
;
3913 bool temp1
= False
;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3917 (char *) "filename",(char *) "num", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3923 arg1
= wxString_in_helper(obj0
);
3924 if (arg1
== NULL
) SWIG_fail
;
3929 arg2
= (int) SWIG_AsInt(obj1
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3954 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3957 PyObject
* obj0
= 0 ;
3959 (char *) "self", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 Py_INCREF(Py_None
); resultobj
= Py_None
;
3979 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3985 (char *) "self", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4005 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4008 wxString
*arg2
= 0 ;
4009 bool temp2
= False
;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4013 (char *) "self",(char *) "filename", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4020 arg2
= wxString_in_helper(obj1
);
4021 if (arg2
== NULL
) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 (arg1
)->SetFileName((wxString
const &)*arg2
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 Py_INCREF(Py_None
); resultobj
= Py_None
;
4046 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4052 (char *) "self", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4062 result
= (wxString
*) &_result_ref
;
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4072 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4081 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4088 (char *) "self",(char *) "num", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 arg2
= (int) SWIG_AsInt(obj1
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 wxIconLocation_SetIndex(arg1
,arg2
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4110 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4114 PyObject
* obj0
= 0 ;
4116 (char *) "self", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (int)wxIconLocation_GetIndex(arg1
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_FromInt((int)result
);
4136 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4139 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4141 return Py_BuildValue((char *)"");
4143 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4145 wxIconBundle
*result
;
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (wxIconBundle
*)new wxIconBundle();
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4165 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxString
*arg1
= 0 ;
4169 wxIconBundle
*result
;
4170 bool temp1
= False
;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4174 (char *) "file",(char *) "type", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4179 arg1
= wxString_in_helper(obj0
);
4180 if (arg1
== NULL
) SWIG_fail
;
4183 arg2
= (long) SWIG_AsLong(obj1
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4207 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4210 wxIconBundle
*result
;
4211 PyObject
* obj0
= 0 ;
4213 (char *) "icon", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4221 PyErr_SetString(PyExc_TypeError
,"null reference");
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4238 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 Py_INCREF(Py_None
); resultobj
= Py_None
;
4263 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4265 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4270 (char *) "self",(char *) "icon", NULL
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4280 PyErr_SetString(PyExc_TypeError
,"null reference");
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 Py_INCREF(Py_None
); resultobj
= Py_None
;
4297 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4300 wxString
*arg2
= 0 ;
4302 bool temp2
= False
;
4303 PyObject
* obj0
= 0 ;
4304 PyObject
* obj1
= 0 ;
4305 PyObject
* obj2
= 0 ;
4307 (char *) "self",(char *) "file",(char *) "type", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4314 arg2
= wxString_in_helper(obj1
);
4315 if (arg2
== NULL
) SWIG_fail
;
4318 arg3
= (long) SWIG_AsLong(obj2
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 (char *) "self",(char *) "size", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4359 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4365 result
= (wxIcon
*) &_result_ref
;
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 0);
4378 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4381 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4383 return Py_BuildValue((char *)"");
4385 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxString
*arg1
= (wxString
*) 0 ;
4389 int arg3
= (int) 0 ;
4390 int arg4
= (int) 0 ;
4392 bool temp1
= False
;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4395 PyObject
* obj2
= 0 ;
4396 PyObject
* obj3
= 0 ;
4398 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4403 arg1
= wxString_in_helper(obj0
);
4404 if (arg1
== NULL
) SWIG_fail
;
4407 arg2
= (long) SWIG_AsLong(obj1
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 arg3
= (int) SWIG_AsInt(obj2
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4414 arg4
= (int) SWIG_AsInt(obj3
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4439 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxCursor
*arg1
= (wxCursor
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4444 (char *) "self", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4464 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4468 PyObject
* obj0
= 0 ;
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4474 arg1
= (int) SWIG_AsInt(obj0
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (wxCursor
*)new wxCursor(arg1
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4490 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4494 PyObject
* obj0
= 0 ;
4496 (char *) "image", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4504 PyErr_SetString(PyExc_TypeError
,"null reference");
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4521 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxCursor
*arg1
= (wxCursor
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4527 (char *) "self", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (bool)(arg1
)->Ok();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4547 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4550 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4552 return Py_BuildValue((char *)"");
4554 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 int arg1
= (int) 0 ;
4557 int arg2
= (int) 0 ;
4558 int arg3
= (int) 0 ;
4559 int arg4
= (int) 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4563 PyObject
* obj2
= 0 ;
4564 PyObject
* obj3
= 0 ;
4566 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4571 arg1
= (int) SWIG_AsInt(obj0
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4575 arg2
= (int) SWIG_AsInt(obj1
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4579 arg3
= (int) SWIG_AsInt(obj2
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4583 arg4
= (int) SWIG_AsInt(obj3
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4600 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxBitmap
*arg1
= 0 ;
4603 wxColour
const &arg2_defvalue
= wxNullColour
;
4604 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4605 int arg3
= (int) 0 ;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4610 PyObject
* obj2
= 0 ;
4612 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4620 PyErr_SetString(PyExc_TypeError
,"null reference");
4626 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4630 arg3
= (int) SWIG_AsInt(obj2
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4647 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4650 wxPoint
*arg2
= (wxPoint
*) 0 ;
4651 int arg3
= (int) wxWINDING_RULE
;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4656 (char *) "points",(char *) "fillStyle", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4661 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4662 if (arg2
== NULL
) SWIG_fail
;
4665 arg3
= (int) SWIG_AsInt(obj1
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4677 if (arg2
) delete [] arg2
;
4682 if (arg2
) delete [] arg2
;
4688 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxRegion
*arg1
= (wxRegion
*) 0 ;
4691 PyObject
* obj0
= 0 ;
4693 (char *) "self", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4713 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxRegion
*arg1
= (wxRegion
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4718 (char *) "self", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 Py_INCREF(Py_None
); resultobj
= Py_None
;
4738 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxRegion
*arg1
= (wxRegion
*) 0 ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4746 PyObject
* obj2
= 0 ;
4748 (char *) "self",(char *) "x",(char *) "y", NULL
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4754 arg2
= (int) SWIG_AsInt(obj1
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4756 arg3
= (int) SWIG_AsInt(obj2
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4772 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxRegion
*arg1
= (wxRegion
*) 0 ;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4782 (char *) "self",(char *) "x",(char *) "y", NULL
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 arg2
= (int) SWIG_AsInt(obj1
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4790 arg3
= (int) SWIG_AsInt(obj2
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 resultobj
= SWIG_FromInt((int)result
);
4806 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxRegion
*arg1
= (wxRegion
*) 0 ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4815 (char *) "self",(char *) "pt", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4823 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_FromInt((int)result
);
4839 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxRegion
*arg1
= (wxRegion
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4846 PyObject
* obj1
= 0 ;
4848 (char *) "self",(char *) "rect", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4856 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_FromInt((int)result
);
4872 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxRegion
*arg1
= (wxRegion
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 PyObject
* obj2
= 0 ;
4883 PyObject
* obj3
= 0 ;
4884 PyObject
* obj4
= 0 ;
4886 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 arg2
= (int) SWIG_AsInt(obj1
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4894 arg3
= (int) SWIG_AsInt(obj2
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4896 arg4
= (int) SWIG_AsInt(obj3
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4898 arg5
= (int) SWIG_AsInt(obj4
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_FromInt((int)result
);
4914 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxRegion
*arg1
= (wxRegion
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (arg1
)->GetBox();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4935 resultptr
= new wxRect((wxRect
&) result
);
4936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4944 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxRegion
*arg1
= (wxRegion
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4955 PyObject
* obj3
= 0 ;
4956 PyObject
* obj4
= 0 ;
4958 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4964 arg2
= (int) SWIG_AsInt(obj1
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4966 arg3
= (int) SWIG_AsInt(obj2
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4968 arg4
= (int) SWIG_AsInt(obj3
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4970 arg5
= (int) SWIG_AsInt(obj4
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4986 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxRegion
*arg1
= (wxRegion
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4995 (char *) "self",(char *) "rect", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (bool)(arg1
)->Intersect((wxRect
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_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxRegion
*arg1
= (wxRegion
*) 0 ;
5022 wxRegion
*arg2
= 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5027 (char *) "self",(char *) "region", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5037 PyErr_SetString(PyExc_TypeError
,"null reference");
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5054 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxRegion
*arg1
= (wxRegion
*) 0 ;
5058 PyObject
* obj0
= 0 ;
5060 (char *) "self", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (bool)(arg1
)->IsEmpty();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5080 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
;
5082 wxRegion
*arg1
= (wxRegion
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5090 PyObject
* obj2
= 0 ;
5091 PyObject
* obj3
= 0 ;
5092 PyObject
* obj4
= 0 ;
5094 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5100 arg2
= (int) SWIG_AsInt(obj1
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5102 arg3
= (int) SWIG_AsInt(obj2
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5104 arg4
= (int) SWIG_AsInt(obj3
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5106 arg5
= (int) SWIG_AsInt(obj4
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5122 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxRegion
*arg1
= (wxRegion
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5131 (char *) "self",(char *) "rect", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5139 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (bool)(arg1
)->Union((wxRect
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_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxRegion
*arg1
= (wxRegion
*) 0 ;
5158 wxRegion
*arg2
= 0 ;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5163 (char *) "self",(char *) "region", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5173 PyErr_SetString(PyExc_TypeError
,"null reference");
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5190 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxRegion
*arg1
= (wxRegion
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5200 PyObject
* obj2
= 0 ;
5201 PyObject
* obj3
= 0 ;
5202 PyObject
* obj4
= 0 ;
5204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5210 arg2
= (int) SWIG_AsInt(obj1
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5212 arg3
= (int) SWIG_AsInt(obj2
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5214 arg4
= (int) SWIG_AsInt(obj3
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5216 arg5
= (int) SWIG_AsInt(obj4
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5232 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxRegion
*arg1
= (wxRegion
*) 0 ;
5238 PyObject
* obj0
= 0 ;
5239 PyObject
* obj1
= 0 ;
5241 (char *) "self",(char *) "rect", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)(arg1
)->Subtract((wxRect
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_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxRegion
*arg1
= (wxRegion
*) 0 ;
5268 wxRegion
*arg2
= 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5273 (char *) "self",(char *) "region", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5283 PyErr_SetString(PyExc_TypeError
,"null reference");
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5300 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxRegion
*arg1
= (wxRegion
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5309 PyObject
* obj1
= 0 ;
5310 PyObject
* obj2
= 0 ;
5311 PyObject
* obj3
= 0 ;
5312 PyObject
* obj4
= 0 ;
5314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5320 arg2
= (int) SWIG_AsInt(obj1
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5322 arg3
= (int) SWIG_AsInt(obj2
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5324 arg4
= (int) SWIG_AsInt(obj3
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5326 arg5
= (int) SWIG_AsInt(obj4
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5342 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxRegion
*arg1
= (wxRegion
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5351 (char *) "self",(char *) "rect", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Xor((wxRect
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_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxRegion
*arg1
= (wxRegion
*) 0 ;
5378 wxRegion
*arg2
= 0 ;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5383 (char *) "self",(char *) "region", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5393 PyErr_SetString(PyExc_TypeError
,"null reference");
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5410 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxRegion
*arg1
= (wxRegion
*) 0 ;
5413 SwigValueWrapper
< wxBitmap
> result
;
5414 PyObject
* obj0
= 0 ;
5416 (char *) "self", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (arg1
)->ConvertToBitmap();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 wxBitmap
* resultptr
;
5431 resultptr
= new wxBitmap((wxBitmap
&) result
);
5432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5440 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxRegion
*arg1
= (wxRegion
*) 0 ;
5443 wxBitmap
*arg2
= 0 ;
5444 wxColour
const &arg3_defvalue
= wxNullColour
;
5445 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5446 int arg4
= (int) 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 PyObject
* obj2
= 0 ;
5452 PyObject
* obj3
= 0 ;
5454 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5464 PyErr_SetString(PyExc_TypeError
,"null reference");
5470 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5474 arg4
= (int) SWIG_AsInt(obj3
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5491 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5494 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5496 return Py_BuildValue((char *)"");
5498 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxRegion
*arg1
= 0 ;
5501 wxRegionIterator
*result
;
5502 PyObject
* obj0
= 0 ;
5504 (char *) "region", NULL
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5512 PyErr_SetString(PyExc_TypeError
,"null reference");
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5529 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5560 (char *) "self", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (int)(arg1
)->GetX();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_FromInt((int)result
);
5580 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "self", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 result
= (int)(arg1
)->GetY();
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= SWIG_FromInt((int)result
);
5606 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
;
5608 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5612 (char *) "self", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 result
= (int)(arg1
)->GetW();
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 resultobj
= SWIG_FromInt((int)result
);
5632 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5638 (char *) "self", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (int)(arg1
)->GetWidth();
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= SWIG_FromInt((int)result
);
5658 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
*resultobj
;
5660 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5662 PyObject
* obj0
= 0 ;
5664 (char *) "self", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (int)(arg1
)->GetH();
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= SWIG_FromInt((int)result
);
5684 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5690 (char *) "self", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (int)(arg1
)->GetHeight();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_FromInt((int)result
);
5710 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5716 (char *) "self", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (arg1
)->GetRect();
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5731 resultptr
= new wxRect((wxRect
&) result
);
5732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5740 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5746 (char *) "self", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= (bool)(arg1
)->HaveRects();
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5766 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5771 (char *) "self", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5784 Py_INCREF(Py_None
); resultobj
= Py_None
;
5791 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "self", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 wxRegionIterator_Next(arg1
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 Py_INCREF(Py_None
); resultobj
= Py_None
;
5816 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5842 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5845 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5847 return Py_BuildValue((char *)"");
5849 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxNativeFontInfo
*result
;
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5871 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5874 PyObject
* obj0
= 0 ;
5876 (char *) "self", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 Py_INCREF(Py_None
); resultobj
= Py_None
;
5896 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5901 (char *) "self", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 Py_INCREF(Py_None
); resultobj
= Py_None
;
5921 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5928 (char *) "self",(char *) "font", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5938 PyErr_SetString(PyExc_TypeError
,"null reference");
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 Py_INCREF(Py_None
); resultobj
= Py_None
;
5955 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5961 (char *) "self", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_FromInt((int)result
);
5981 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5987 (char *) "self", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_FromInt((int)result
);
6007 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_FromInt((int)result
);
6033 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6059 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6065 (char *) "self", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6091 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "self", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= SWIG_FromInt((int)result
);
6117 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6123 (char *) "self", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_FromInt((int)result
);
6143 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6148 PyObject
* obj1
= 0 ;
6150 (char *) "self",(char *) "pointsize", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 arg2
= (int) SWIG_AsInt(obj1
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 (arg1
)->SetPointSize(arg2
);
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 Py_INCREF(Py_None
); resultobj
= Py_None
;
6172 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6179 (char *) "self",(char *) "style", NULL
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6185 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 Py_INCREF(Py_None
); resultobj
= Py_None
;
6201 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6208 (char *) "self",(char *) "weight", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6214 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6235 PyObject
* obj1
= 0 ;
6237 (char *) "self",(char *) "underlined", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 arg2
= (bool) SWIG_AsBool(obj1
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 (arg1
)->SetUnderlined(arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6266 (char *) "self",(char *) "facename", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6273 wxString
* sptr
= wxString_in_helper(obj1
);
6274 if (sptr
== NULL
) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 (arg1
)->SetFaceName(arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6299 (char *) "self",(char *) "family", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 Py_INCREF(Py_None
); resultobj
= Py_None
;
6321 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6328 (char *) "self",(char *) "encoding", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 Py_INCREF(Py_None
); resultobj
= Py_None
;
6350 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6353 wxString
*arg2
= 0 ;
6355 bool temp2
= False
;
6356 PyObject
* obj0
= 0 ;
6357 PyObject
* obj1
= 0 ;
6359 (char *) "self",(char *) "s", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6366 arg2
= wxString_in_helper(obj1
);
6367 if (arg2
== NULL
) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6392 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6396 PyObject
* obj0
= 0 ;
6398 (char *) "self", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6424 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "self", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= wxNativeFontInfo___str__(arg1
);
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6456 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6459 wxString
*arg2
= 0 ;
6461 bool temp2
= False
;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6465 (char *) "self",(char *) "s", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6472 arg2
= wxString_in_helper(obj1
);
6473 if (arg2
== NULL
) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6498 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6530 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6533 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6535 return Py_BuildValue((char *)"");
6537 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6540 wxString
*arg2
= (wxString
*) 0 ;
6541 bool temp2
= False
;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6545 (char *) "self",(char *) "facename", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 arg2
= wxString_in_helper(obj1
);
6553 if (arg2
== NULL
) SWIG_fail
;
6556 if (arg1
) (arg1
)->facename
= *arg2
;
6558 Py_INCREF(Py_None
); resultobj
= Py_None
;
6573 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6579 (char *) "self", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 result
= (wxString
*)& ((arg1
)->facename
);
6589 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6591 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6600 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6607 (char *) "self",(char *) "encoding", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6613 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6615 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6617 Py_INCREF(Py_None
); resultobj
= Py_None
;
6624 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
;
6626 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6630 (char *) "self", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6636 result
= (int) ((arg1
)->encoding
);
6638 resultobj
= SWIG_FromInt((int)result
);
6645 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxNativeEncodingInfo
*result
;
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6667 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6670 PyObject
* obj0
= 0 ;
6672 (char *) "self", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6695 wxString
*arg2
= 0 ;
6697 bool temp2
= False
;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6701 (char *) "self",(char *) "s", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 arg2
= wxString_in_helper(obj1
);
6709 if (arg2
== NULL
) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6734 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6766 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6769 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6771 return Py_BuildValue((char *)"");
6773 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6776 wxNativeEncodingInfo
*result
;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "encoding", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6783 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6799 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxNativeEncodingInfo
*arg1
= 0 ;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "info", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6813 PyErr_SetString(PyExc_TypeError
,"null reference");
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6830 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxFontMapper
*result
;
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (wxFontMapper
*)new wxFontMapper();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6852 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6855 PyObject
* obj0
= 0 ;
6857 (char *) "self", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 Py_INCREF(Py_None
); resultobj
= Py_None
;
6877 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxFontMapper
*result
;
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 result
= (wxFontMapper
*)wxFontMapper::Get();
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6899 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6901 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6902 wxFontMapper
*result
;
6903 PyObject
* obj0
= 0 ;
6905 (char *) "mapper", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6925 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6928 wxString
*arg2
= 0 ;
6929 bool arg3
= (bool) True
;
6931 bool temp2
= False
;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 PyObject
* obj2
= 0 ;
6936 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6943 arg2
= wxString_in_helper(obj1
);
6944 if (arg2
== NULL
) SWIG_fail
;
6948 arg3
= (bool) SWIG_AsBool(obj2
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_FromInt((int)result
);
6973 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6995 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6999 PyObject
* obj0
= 0 ;
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7005 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 result
= (int)wxFontMapper::GetEncoding(arg1
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_FromInt((int)result
);
7021 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "encoding", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7031 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7053 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "encoding", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7063 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7085 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7088 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "config", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 (arg1
)->SetConfig(arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 Py_INCREF(Py_None
); resultobj
= Py_None
;
7114 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7117 wxString
*arg2
= 0 ;
7118 bool temp2
= False
;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7122 (char *) "self",(char *) "prefix", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7129 arg2
= wxString_in_helper(obj1
);
7130 if (arg2
== NULL
) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7155 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 result
= wxFontMapper::GetDefaultConfigPath();
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7183 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7187 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7189 bool arg4
= (bool) True
;
7191 bool temp3
= False
;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 PyObject
* obj2
= 0 ;
7195 PyObject
* obj3
= 0 ;
7197 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7203 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7207 arg3
= wxString_in_helper(obj2
);
7208 if (arg3
== NULL
) SWIG_fail
;
7213 arg4
= (bool) SWIG_AsBool(obj3
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7238 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
;
7240 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7245 bool temp3
= False
;
7246 PyObject
* obj0
= 0 ;
7247 PyObject
* obj1
= 0 ;
7248 PyObject
* obj2
= 0 ;
7250 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7256 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7260 arg3
= wxString_in_helper(obj2
);
7261 if (arg3
== NULL
) SWIG_fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7287 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7290 wxWindow
*arg2
= (wxWindow
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7292 PyObject
* obj1
= 0 ;
7294 (char *) "self",(char *) "parent", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->SetDialogParent(arg2
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7319 wxString
*arg2
= 0 ;
7320 bool temp2
= False
;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7324 (char *) "self",(char *) "title", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7331 arg2
= wxString_in_helper(obj1
);
7332 if (arg2
== NULL
) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7360 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7362 return Py_BuildValue((char *)"");
7364 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7370 bool arg5
= (bool) False
;
7371 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7373 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7375 bool temp6
= False
;
7376 PyObject
* obj0
= 0 ;
7377 PyObject
* obj1
= 0 ;
7378 PyObject
* obj2
= 0 ;
7379 PyObject
* obj3
= 0 ;
7380 PyObject
* obj4
= 0 ;
7381 PyObject
* obj5
= 0 ;
7382 PyObject
* obj6
= 0 ;
7384 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7388 arg1
= (int) SWIG_AsInt(obj0
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7390 arg2
= (int) SWIG_AsInt(obj1
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7392 arg3
= (int) SWIG_AsInt(obj2
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7394 arg4
= (int) SWIG_AsInt(obj3
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 arg5
= (bool) SWIG_AsBool(obj4
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7402 arg6
= wxString_in_helper(obj5
);
7403 if (arg6
== NULL
) SWIG_fail
;
7408 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7433 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxFont
*arg1
= (wxFont
*) 0 ;
7436 PyObject
* obj0
= 0 ;
7438 (char *) "self", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 Py_INCREF(Py_None
); resultobj
= Py_None
;
7458 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxNativeFontInfo
*arg1
= 0 ;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "info", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7472 PyErr_SetString(PyExc_TypeError
,"null reference");
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7489 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
;
7491 wxString
*arg1
= 0 ;
7493 bool temp1
= False
;
7494 PyObject
* obj0
= 0 ;
7496 (char *) "info", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7501 arg1
= wxString_in_helper(obj0
);
7502 if (arg1
== NULL
) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7527 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7531 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7532 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7533 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7534 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7536 bool temp4
= False
;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj2
= 0 ;
7540 PyObject
* obj3
= 0 ;
7541 PyObject
* obj4
= 0 ;
7543 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7547 arg1
= (int) SWIG_AsInt(obj0
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7549 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 arg3
= (int) SWIG_AsInt(obj2
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7557 arg4
= wxString_in_helper(obj3
);
7558 if (arg4
== NULL
) SWIG_fail
;
7563 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7588 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxFont
*arg1
= (wxFont
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "self", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (bool)((wxFont
const *)arg1
)->Ok();
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7614 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxFont
*arg1
= (wxFont
*) 0 ;
7617 wxFont
*arg2
= (wxFont
*) 0 ;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7622 (char *) "self",(char *) "other", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7644 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxFont
*arg1
= (wxFont
*) 0 ;
7647 wxFont
*arg2
= (wxFont
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7652 (char *) "self",(char *) "other", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7674 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxFont
*arg1
= (wxFont
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_FromInt((int)result
);
7700 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxFont
*arg1
= (wxFont
*) 0 ;
7704 PyObject
* obj0
= 0 ;
7706 (char *) "self", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_FromInt((int)result
);
7726 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxFont
*arg1
= (wxFont
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7732 (char *) "self", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_FromInt((int)result
);
7752 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxFont
*arg1
= (wxFont
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "self", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_FromInt((int)result
);
7778 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxFont
*arg1
= (wxFont
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7804 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxFont
*arg1
= (wxFont
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7810 (char *) "self", NULL
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= ((wxFont
const *)arg1
)->GetFaceName();
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7836 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxFont
*arg1
= (wxFont
*) 0 ;
7840 PyObject
* obj0
= 0 ;
7842 (char *) "self", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_FromInt((int)result
);
7862 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxFont
*arg1
= (wxFont
*) 0 ;
7865 wxNativeFontInfo
*result
;
7866 PyObject
* obj0
= 0 ;
7868 (char *) "self", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
7888 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxFont
*arg1
= (wxFont
*) 0 ;
7892 PyObject
* obj0
= 0 ;
7894 (char *) "self", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7914 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxFont
*arg1
= (wxFont
*) 0 ;
7918 PyObject
* obj0
= 0 ;
7920 (char *) "self", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7946 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxFont
*arg1
= (wxFont
*) 0 ;
7950 PyObject
* obj0
= 0 ;
7952 (char *) "self", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7978 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxFont
*arg1
= (wxFont
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7983 PyObject
* obj1
= 0 ;
7985 (char *) "self",(char *) "pointSize", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7991 arg2
= (int) SWIG_AsInt(obj1
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 (arg1
)->SetPointSize(arg2
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 Py_INCREF(Py_None
); resultobj
= Py_None
;
8007 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxFont
*arg1
= (wxFont
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8014 (char *) "self",(char *) "family", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 arg2
= (int) SWIG_AsInt(obj1
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 (arg1
)->SetFamily(arg2
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8036 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxFont
*arg1
= (wxFont
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8041 PyObject
* obj1
= 0 ;
8043 (char *) "self",(char *) "style", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8049 arg2
= (int) SWIG_AsInt(obj1
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 (arg1
)->SetStyle(arg2
);
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 Py_INCREF(Py_None
); resultobj
= Py_None
;
8065 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxFont
*arg1
= (wxFont
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8070 PyObject
* obj1
= 0 ;
8072 (char *) "self",(char *) "weight", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8078 arg2
= (int) SWIG_AsInt(obj1
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 (arg1
)->SetWeight(arg2
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 Py_INCREF(Py_None
); resultobj
= Py_None
;
8094 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxFont
*arg1
= (wxFont
*) 0 ;
8097 wxString
*arg2
= 0 ;
8098 bool temp2
= False
;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8102 (char *) "self",(char *) "faceName", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8109 arg2
= wxString_in_helper(obj1
);
8110 if (arg2
== NULL
) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxFont
*arg1
= (wxFont
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8142 (char *) "self",(char *) "underlined", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8148 arg2
= (bool) SWIG_AsBool(obj1
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 (arg1
)->SetUnderlined(arg2
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8164 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxFont
*arg1
= (wxFont
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "encoding", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 Py_INCREF(Py_None
); resultobj
= Py_None
;
8193 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxFont
*arg1
= (wxFont
*) 0 ;
8196 wxNativeFontInfo
*arg2
= 0 ;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8200 (char *) "self",(char *) "info", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8210 PyErr_SetString(PyExc_TypeError
,"null reference");
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 Py_INCREF(Py_None
); resultobj
= Py_None
;
8227 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxFont
*arg1
= (wxFont
*) 0 ;
8230 wxString
*arg2
= 0 ;
8231 bool temp2
= False
;
8232 PyObject
* obj0
= 0 ;
8233 PyObject
* obj1
= 0 ;
8235 (char *) "self",(char *) "info", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 arg2
= wxString_in_helper(obj1
);
8243 if (arg2
== NULL
) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxFont
*arg1
= (wxFont
*) 0 ;
8271 wxString
*arg2
= 0 ;
8272 bool temp2
= False
;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8276 (char *) "self",(char *) "info", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8283 arg2
= wxString_in_helper(obj1
);
8284 if (arg2
== NULL
) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 Py_INCREF(Py_None
); resultobj
= Py_None
;
8309 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxFont
*arg1
= (wxFont
*) 0 ;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "self", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8341 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxFont
*arg1
= (wxFont
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "self", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= ((wxFont
const *)arg1
)->GetStyleString();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8373 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxFont
*arg1
= (wxFont
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= ((wxFont
const *)arg1
)->GetWeightString();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8405 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxFont
*arg1
= (wxFont
*) 0 ;
8408 bool arg2
= (bool) True
;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8412 (char *) "self",(char *) "no", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 arg2
= (bool) SWIG_AsBool(obj1
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 (arg1
)->SetNoAntiAliasing(arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxFont
*arg1
= (wxFont
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (bool)(arg1
)->GetNoAntiAliasing();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8462 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (int)wxFont::GetDefaultEncoding();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= SWIG_FromInt((int)result
);
8484 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8487 PyObject
* obj0
= 0 ;
8489 (char *) "encoding", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8493 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 Py_INCREF(Py_None
); resultobj
= Py_None
;
8509 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8512 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8514 return Py_BuildValue((char *)"");
8516 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 wxPyFontEnumerator
*result
;
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8538 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8541 PyObject
* obj0
= 0 ;
8543 (char *) "self", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 Py_INCREF(Py_None
); resultobj
= Py_None
;
8563 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8566 PyObject
*arg2
= (PyObject
*) 0 ;
8567 PyObject
*arg3
= (PyObject
*) 0 ;
8569 PyObject
* obj0
= 0 ;
8570 PyObject
* obj1
= 0 ;
8571 PyObject
* obj2
= 0 ;
8572 PyObject
* obj3
= 0 ;
8574 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8582 arg4
= (bool) SWIG_AsBool(obj3
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 Py_INCREF(Py_None
); resultobj
= Py_None
;
8598 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8601 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8602 bool arg3
= (bool) False
;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 PyObject
* obj2
= 0 ;
8608 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8615 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 arg3
= (bool) SWIG_AsBool(obj2
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8636 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8639 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8640 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8642 bool temp2
= False
;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8646 (char *) "self",(char *) "facename", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8654 arg2
= wxString_in_helper(obj1
);
8655 if (arg2
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8681 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8685 PyObject
* obj0
= 0 ;
8687 (char *) "self", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8707 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8713 (char *) "self", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8733 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8736 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8738 return Py_BuildValue((char *)"");
8740 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8744 PyObject
* obj0
= 0 ;
8745 PyObject
* obj1
= 0 ;
8747 (char *) "self",(char *) "Language", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8753 arg2
= (int) SWIG_AsInt(obj1
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8755 if (arg1
) (arg1
)->Language
= arg2
;
8757 Py_INCREF(Py_None
); resultobj
= Py_None
;
8764 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "self", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8776 result
= (int) ((arg1
)->Language
);
8778 resultobj
= SWIG_FromInt((int)result
);
8785 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8788 wxString
*arg2
= (wxString
*) 0 ;
8789 bool temp2
= False
;
8790 PyObject
* obj0
= 0 ;
8791 PyObject
* obj1
= 0 ;
8793 (char *) "self",(char *) "CanonicalName", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8800 arg2
= wxString_in_helper(obj1
);
8801 if (arg2
== NULL
) SWIG_fail
;
8804 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8806 Py_INCREF(Py_None
); resultobj
= Py_None
;
8821 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8825 PyObject
* obj0
= 0 ;
8827 (char *) "self", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8837 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8839 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8848 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8851 wxString
*arg2
= (wxString
*) 0 ;
8852 bool temp2
= False
;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8856 (char *) "self",(char *) "Description", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8863 arg2
= wxString_in_helper(obj1
);
8864 if (arg2
== NULL
) SWIG_fail
;
8867 if (arg1
) (arg1
)->Description
= *arg2
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8884 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8890 (char *) "self", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 result
= (wxString
*)& ((arg1
)->Description
);
8900 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8902 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8911 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8914 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8916 return Py_BuildValue((char *)"");
8918 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8921 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8926 (char *) "language",(char *) "flags", NULL
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8931 arg1
= (int) SWIG_AsInt(obj0
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8935 arg2
= (int) SWIG_AsInt(obj1
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
8952 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxLocale
*arg1
= (wxLocale
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "self", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxLocale
*arg1
= (wxLocale
*) 0 ;
8980 wxString
*arg2
= 0 ;
8981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8983 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8984 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8985 bool arg5
= (bool) True
;
8986 bool arg6
= (bool) False
;
8988 bool temp2
= False
;
8989 bool temp3
= False
;
8990 bool temp4
= False
;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 PyObject
* obj2
= 0 ;
8994 PyObject
* obj3
= 0 ;
8995 PyObject
* obj4
= 0 ;
8996 PyObject
* obj5
= 0 ;
8998 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 arg2
= wxString_in_helper(obj1
);
9006 if (arg2
== NULL
) SWIG_fail
;
9011 arg3
= wxString_in_helper(obj2
);
9012 if (arg3
== NULL
) SWIG_fail
;
9018 arg4
= wxString_in_helper(obj3
);
9019 if (arg4
== NULL
) SWIG_fail
;
9024 arg5
= (bool) SWIG_AsBool(obj4
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9028 arg6
= (bool) SWIG_AsBool(obj5
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9069 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxLocale
*arg1
= (wxLocale
*) 0 ;
9072 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9073 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9079 (char *) "self",(char *) "language",(char *) "flags", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9086 arg2
= (int) SWIG_AsInt(obj1
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 arg3
= (int) SWIG_AsInt(obj2
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9107 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (int)wxLocale::GetSystemLanguage();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_FromInt((int)result
);
9129 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (int)wxLocale::GetSystemEncoding();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_FromInt((int)result
);
9151 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= wxLocale::GetSystemEncodingName();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9179 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxLocale
*arg1
= (wxLocale
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9185 (char *) "self", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9205 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxLocale
*arg1
= (wxLocale
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9211 (char *) "self", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= ((wxLocale
const *)arg1
)->GetLocale();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9237 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxLocale
*arg1
= (wxLocale
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9243 (char *) "self", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_FromInt((int)result
);
9263 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxLocale
*arg1
= (wxLocale
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9269 (char *) "self", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= ((wxLocale
const *)arg1
)->GetSysName();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9295 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxLocale
*arg1
= (wxLocale
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9327 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxString
*arg1
= 0 ;
9330 bool temp1
= False
;
9331 PyObject
* obj0
= 0 ;
9333 (char *) "prefix", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9338 arg1
= wxString_in_helper(obj0
);
9339 if (arg1
== NULL
) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 Py_INCREF(Py_None
); resultobj
= Py_None
;
9364 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxLocale
*arg1
= (wxLocale
*) 0 ;
9367 wxString
*arg2
= 0 ;
9369 bool temp2
= False
;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9373 (char *) "self",(char *) "szDomain", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9380 arg2
= wxString_in_helper(obj1
);
9381 if (arg2
== NULL
) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9406 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxLocale
*arg1
= (wxLocale
*) 0 ;
9409 wxString
*arg2
= 0 ;
9411 bool temp2
= False
;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9415 (char *) "self",(char *) "szDomain", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9422 arg2
= wxString_in_helper(obj1
);
9423 if (arg2
== NULL
) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9448 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9451 wxLanguageInfo
*result
;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "lang", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9458 arg1
= (int) SWIG_AsInt(obj0
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9474 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9478 PyObject
* obj0
= 0 ;
9480 (char *) "lang", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9484 arg1
= (int) SWIG_AsInt(obj0
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= wxLocale::GetLanguageName(arg1
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9506 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxString
*arg1
= 0 ;
9509 wxLanguageInfo
*result
;
9510 bool temp1
= False
;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "locale", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9518 arg1
= wxString_in_helper(obj0
);
9519 if (arg1
== NULL
) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9544 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxLanguageInfo
*arg1
= 0 ;
9547 PyObject
* obj0
= 0 ;
9549 (char *) "info", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9557 PyErr_SetString(PyExc_TypeError
,"null reference");
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 Py_INCREF(Py_None
); resultobj
= Py_None
;
9574 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxLocale
*arg1
= (wxLocale
*) 0 ;
9577 wxString
*arg2
= 0 ;
9578 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9581 bool temp2
= False
;
9582 bool temp3
= False
;
9583 PyObject
* obj0
= 0 ;
9584 PyObject
* obj1
= 0 ;
9585 PyObject
* obj2
= 0 ;
9587 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9594 arg2
= wxString_in_helper(obj1
);
9595 if (arg2
== NULL
) SWIG_fail
;
9600 arg3
= wxString_in_helper(obj2
);
9601 if (arg3
== NULL
) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9641 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxLocale
*arg1
= (wxLocale
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9657 result
= (wxString
*) &_result_ref
;
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9667 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9676 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9679 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9681 return Py_BuildValue((char *)"");
9683 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (wxLocale
*)wxGetLocale();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9705 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9706 PyObject
*resultobj
;
9707 wxString
*arg1
= 0 ;
9709 bool temp1
= False
;
9710 PyObject
* obj0
= 0 ;
9712 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9714 arg1
= wxString_in_helper(obj0
);
9715 if (arg1
== NULL
) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= wxGetTranslation((wxString
const &)*arg1
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9746 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9747 PyObject
*resultobj
;
9748 wxString
*arg1
= 0 ;
9749 wxString
*arg2
= 0 ;
9752 bool temp1
= False
;
9753 bool temp2
= False
;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 PyObject
* obj2
= 0 ;
9758 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9760 arg1
= wxString_in_helper(obj0
);
9761 if (arg1
== NULL
) SWIG_fail
;
9765 arg2
= wxString_in_helper(obj1
);
9766 if (arg2
== NULL
) SWIG_fail
;
9769 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9807 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9812 argc
= PyObject_Length(args
);
9813 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9814 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9819 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9822 return _wrap_GetTranslation__SWIG_0(self
,args
);
9828 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9832 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9835 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9837 return _wrap_GetTranslation__SWIG_1(self
,args
);
9843 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9848 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxEncodingConverter
*result
;
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
9870 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 Py_INCREF(Py_None
); resultobj
= Py_None
;
9895 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9900 int arg4
= (int) wxCONVERT_STRICT
;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9904 PyObject
* obj2
= 0 ;
9905 PyObject
* obj3
= 0 ;
9907 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9913 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9915 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 arg4
= (int) SWIG_AsInt(obj3
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9935 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9938 wxString
*arg2
= 0 ;
9940 bool temp2
= False
;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9944 (char *) "self",(char *) "input", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9951 arg2
= wxString_in_helper(obj1
);
9952 if (arg2
== NULL
) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9983 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9986 int arg2
= (int) wxPLATFORM_CURRENT
;
9987 wxFontEncodingArray result
;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9991 (char *) "enc",(char *) "platform", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
9995 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 arg2
= (int) SWIG_AsInt(obj1
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= PyList_New(0);
10010 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10011 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10012 PyList_Append(resultobj
, number
);
10022 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10025 wxFontEncodingArray result
;
10026 PyObject
* obj0
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "enc", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10032 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= PyList_New(0);
10043 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10044 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10045 PyList_Append(resultobj
, number
);
10055 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "encIn",(char *) "encOut", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10067 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10069 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10085 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10088 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10090 return Py_BuildValue((char *)"");
10092 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
;
10094 wxDC
*arg1
= (wxDC
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 Py_INCREF(Py_None
); resultobj
= Py_None
;
10117 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxDC
*arg1
= (wxDC
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 (arg1
)->BeginDrawing();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 Py_INCREF(Py_None
); resultobj
= Py_None
;
10142 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxDC
*arg1
= (wxDC
*) 0 ;
10145 PyObject
* obj0
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 (arg1
)->EndDrawing();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 Py_INCREF(Py_None
); resultobj
= Py_None
;
10167 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxDC
*arg1
= (wxDC
*) 0 ;
10172 wxColour
*arg4
= 0 ;
10173 int arg5
= (int) wxFLOOD_SURFACE
;
10176 PyObject
* obj0
= 0 ;
10177 PyObject
* obj1
= 0 ;
10178 PyObject
* obj2
= 0 ;
10179 PyObject
* obj3
= 0 ;
10180 PyObject
* obj4
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10188 arg2
= (int) SWIG_AsInt(obj1
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10190 arg3
= (int) SWIG_AsInt(obj2
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10194 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10197 arg5
= (int) SWIG_AsInt(obj4
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10214 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxDC
*arg1
= (wxDC
*) 0 ;
10217 wxPoint
*arg2
= 0 ;
10218 wxColour
*arg3
= 0 ;
10219 int arg4
= (int) wxFLOOD_SURFACE
;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 PyObject
* obj2
= 0 ;
10226 PyObject
* obj3
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10240 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10243 arg4
= (int) SWIG_AsInt(obj3
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10260 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxDC
*arg1
= (wxDC
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 PyObject
* obj2
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self",(char *) "x",(char *) "y", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10276 arg2
= (int) SWIG_AsInt(obj1
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10278 arg3
= (int) SWIG_AsInt(obj2
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 wxColour
* resultptr
;
10289 resultptr
= new wxColour((wxColour
&) result
);
10290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10298 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxDC
*arg1
= (wxDC
*) 0 ;
10301 wxPoint
*arg2
= 0 ;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self",(char *) "pt", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 wxColour
* resultptr
;
10326 resultptr
= new wxColour((wxColour
&) result
);
10327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10335 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxDC
*arg1
= (wxDC
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 PyObject
* obj2
= 0 ;
10345 PyObject
* obj3
= 0 ;
10346 PyObject
* obj4
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10354 arg2
= (int) SWIG_AsInt(obj1
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10356 arg3
= (int) SWIG_AsInt(obj2
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10358 arg4
= (int) SWIG_AsInt(obj3
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10360 arg5
= (int) SWIG_AsInt(obj4
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10376 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxDC
*arg1
= (wxDC
*) 0 ;
10379 wxPoint
*arg2
= 0 ;
10380 wxPoint
*arg3
= 0 ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 PyObject
* obj2
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10399 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 Py_INCREF(Py_None
); resultobj
= Py_None
;
10415 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxDC
*arg1
= (wxDC
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 PyObject
* obj2
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "x",(char *) "y", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 arg2
= (int) SWIG_AsInt(obj1
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10432 arg3
= (int) SWIG_AsInt(obj2
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 (arg1
)->CrossHair(arg2
,arg3
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 Py_INCREF(Py_None
); resultobj
= Py_None
;
10448 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxDC
*arg1
= (wxDC
*) 0 ;
10451 wxPoint
*arg2
= 0 ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "pt", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxDC
*arg1
= (wxDC
*) 0 ;
10489 PyObject
* obj0
= 0 ;
10490 PyObject
* obj1
= 0 ;
10491 PyObject
* obj2
= 0 ;
10492 PyObject
* obj3
= 0 ;
10493 PyObject
* obj4
= 0 ;
10494 PyObject
* obj5
= 0 ;
10495 PyObject
* obj6
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 arg2
= (int) SWIG_AsInt(obj1
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10505 arg3
= (int) SWIG_AsInt(obj2
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10507 arg4
= (int) SWIG_AsInt(obj3
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10509 arg5
= (int) SWIG_AsInt(obj4
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10511 arg6
= (int) SWIG_AsInt(obj5
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10513 arg7
= (int) SWIG_AsInt(obj6
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 Py_INCREF(Py_None
); resultobj
= Py_None
;
10529 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxDC
*arg1
= (wxDC
*) 0 ;
10532 wxPoint
*arg2
= 0 ;
10533 wxPoint
*arg3
= 0 ;
10534 wxPoint
*arg4
= 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 PyObject
* obj2
= 0 ;
10541 PyObject
* obj3
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 Py_INCREF(Py_None
); resultobj
= Py_None
;
10575 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
;
10577 wxDC
*arg1
= (wxDC
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 PyObject
* obj2
= 0 ;
10585 PyObject
* obj3
= 0 ;
10586 PyObject
* obj4
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10594 arg2
= (int) SWIG_AsInt(obj1
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10596 arg3
= (int) SWIG_AsInt(obj2
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10598 arg4
= (int) SWIG_AsInt(obj3
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10600 arg5
= (int) SWIG_AsInt(obj4
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 Py_INCREF(Py_None
); resultobj
= Py_None
;
10616 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxDC
*arg1
= (wxDC
*) 0 ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self",(char *) "rect", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 Py_INCREF(Py_None
); resultobj
= Py_None
;
10648 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxDC
*arg1
= (wxDC
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 PyObject
* obj1
= 0 ;
10659 PyObject
* obj2
= 0 ;
10660 PyObject
* obj3
= 0 ;
10661 PyObject
* obj4
= 0 ;
10662 PyObject
* obj5
= 0 ;
10663 PyObject
* obj6
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10671 arg2
= (int) SWIG_AsInt(obj1
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10673 arg3
= (int) SWIG_AsInt(obj2
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10675 arg4
= (int) SWIG_AsInt(obj3
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10677 arg5
= (int) SWIG_AsInt(obj4
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10679 arg6
= (double) SWIG_AsDouble(obj5
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10681 arg7
= (double) SWIG_AsDouble(obj6
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 Py_INCREF(Py_None
); resultobj
= Py_None
;
10697 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10699 wxDC
*arg1
= (wxDC
*) 0 ;
10700 wxPoint
*arg2
= 0 ;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 PyObject
* obj2
= 0 ;
10709 PyObject
* obj3
= 0 ;
10710 PyObject
* obj4
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10724 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10726 arg4
= (double) SWIG_AsDouble(obj3
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10728 arg5
= (double) SWIG_AsDouble(obj4
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 Py_INCREF(Py_None
); resultobj
= Py_None
;
10744 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxDC
*arg1
= (wxDC
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 PyObject
* obj2
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self",(char *) "x",(char *) "y", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 arg2
= (int) SWIG_AsInt(obj1
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10761 arg3
= (int) SWIG_AsInt(obj2
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 (arg1
)->DrawPoint(arg2
,arg3
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 Py_INCREF(Py_None
); resultobj
= Py_None
;
10777 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxDC
*arg1
= (wxDC
*) 0 ;
10780 wxPoint
*arg2
= 0 ;
10782 PyObject
* obj0
= 0 ;
10783 PyObject
* obj1
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "self",(char *) "pt", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 Py_INCREF(Py_None
); resultobj
= Py_None
;
10809 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxDC
*arg1
= (wxDC
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 PyObject
* obj2
= 0 ;
10819 PyObject
* obj3
= 0 ;
10820 PyObject
* obj4
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10828 arg2
= (int) SWIG_AsInt(obj1
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10830 arg3
= (int) SWIG_AsInt(obj2
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10832 arg4
= (int) SWIG_AsInt(obj3
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10834 arg5
= (int) SWIG_AsInt(obj4
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxDC
*arg1
= (wxDC
*) 0 ;
10853 wxPoint
*arg2
= 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 PyObject
* obj2
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "self",(char *) "pt",(char *) "sz", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10873 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 Py_INCREF(Py_None
); resultobj
= Py_None
;
10889 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxDC
*arg1
= (wxDC
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 char *kwnames
[] = {
10897 (char *) "self",(char *) "rect", NULL
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10905 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 Py_INCREF(Py_None
); resultobj
= Py_None
;
10921 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxDC
*arg1
= (wxDC
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 PyObject
* obj2
= 0 ;
10932 PyObject
* obj3
= 0 ;
10933 PyObject
* obj4
= 0 ;
10934 PyObject
* obj5
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 arg2
= (int) SWIG_AsInt(obj1
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10944 arg3
= (int) SWIG_AsInt(obj2
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10946 arg4
= (int) SWIG_AsInt(obj3
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10948 arg5
= (int) SWIG_AsInt(obj4
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10950 arg6
= (double) SWIG_AsDouble(obj5
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10966 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxDC
*arg1
= (wxDC
*) 0 ;
10969 wxPoint
*arg2
= 0 ;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 PyObject
* obj2
= 0 ;
10977 PyObject
* obj3
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10991 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10993 arg4
= (double) SWIG_AsDouble(obj3
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 Py_INCREF(Py_None
); resultobj
= Py_None
;
11009 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxDC
*arg1
= (wxDC
*) 0 ;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 PyObject
* obj2
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self",(char *) "r",(char *) "radius", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11029 arg3
= (double) SWIG_AsDouble(obj2
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11045 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxDC
*arg1
= (wxDC
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 PyObject
* obj3
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11062 arg2
= (int) SWIG_AsInt(obj1
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11064 arg3
= (int) SWIG_AsInt(obj2
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11066 arg4
= (int) SWIG_AsInt(obj3
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 Py_INCREF(Py_None
); resultobj
= Py_None
;
11082 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxDC
*arg1
= (wxDC
*) 0 ;
11085 wxPoint
*arg2
= 0 ;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 PyObject
* obj2
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self",(char *) "pt",(char *) "radius", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11100 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11102 arg3
= (int) SWIG_AsInt(obj2
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 Py_INCREF(Py_None
); resultobj
= Py_None
;
11118 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxDC
*arg1
= (wxDC
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 PyObject
* obj2
= 0 ;
11128 PyObject
* obj3
= 0 ;
11129 PyObject
* obj4
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11137 arg2
= (int) SWIG_AsInt(obj1
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11139 arg3
= (int) SWIG_AsInt(obj2
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11141 arg4
= (int) SWIG_AsInt(obj3
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11143 arg5
= (int) SWIG_AsInt(obj4
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxDC
*arg1
= (wxDC
*) 0 ;
11162 wxPoint
*arg2
= 0 ;
11166 PyObject
* obj0
= 0 ;
11167 PyObject
* obj1
= 0 ;
11168 PyObject
* obj2
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self",(char *) "pt",(char *) "sz", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11182 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 Py_INCREF(Py_None
); resultobj
= Py_None
;
11198 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxDC
*arg1
= (wxDC
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "rect", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11214 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 Py_INCREF(Py_None
); resultobj
= Py_None
;
11230 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
*resultobj
;
11232 wxDC
*arg1
= (wxDC
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 PyObject
* obj3
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11250 if (arg2
== NULL
) {
11251 PyErr_SetString(PyExc_TypeError
,"null reference");
11254 arg3
= (int) SWIG_AsInt(obj2
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11256 arg4
= (int) SWIG_AsInt(obj3
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 Py_INCREF(Py_None
); resultobj
= Py_None
;
11272 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxDC
*arg1
= (wxDC
*) 0 ;
11276 wxPoint
*arg3
= 0 ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 PyObject
* obj2
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self",(char *) "icon",(char *) "pt", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11291 if (arg2
== NULL
) {
11292 PyErr_SetString(PyExc_TypeError
,"null reference");
11297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 Py_INCREF(Py_None
); resultobj
= Py_None
;
11313 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxDC
*arg1
= (wxDC
*) 0 ;
11316 wxBitmap
*arg2
= 0 ;
11319 bool arg5
= (bool) False
;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 PyObject
* obj2
= 0 ;
11323 PyObject
* obj3
= 0 ;
11324 PyObject
* obj4
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11335 if (arg2
== NULL
) {
11336 PyErr_SetString(PyExc_TypeError
,"null reference");
11339 arg3
= (int) SWIG_AsInt(obj2
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11341 arg4
= (int) SWIG_AsInt(obj3
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 arg5
= (bool) SWIG_AsBool(obj4
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 Py_INCREF(Py_None
); resultobj
= Py_None
;
11361 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxDC
*arg1
= (wxDC
*) 0 ;
11364 wxBitmap
*arg2
= 0 ;
11365 wxPoint
*arg3
= 0 ;
11366 bool arg4
= (bool) False
;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 PyObject
* obj3
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11382 if (arg2
== NULL
) {
11383 PyErr_SetString(PyExc_TypeError
,"null reference");
11388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11391 arg4
= (bool) SWIG_AsBool(obj3
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxDC
*arg1
= (wxDC
*) 0 ;
11411 wxString
*arg2
= 0 ;
11414 bool temp2
= False
;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 PyObject
* obj3
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11427 arg2
= wxString_in_helper(obj1
);
11428 if (arg2
== NULL
) SWIG_fail
;
11431 arg3
= (int) SWIG_AsInt(obj2
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11433 arg4
= (int) SWIG_AsInt(obj3
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 Py_INCREF(Py_None
); resultobj
= Py_None
;
11457 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
;
11459 wxDC
*arg1
= (wxDC
*) 0 ;
11460 wxString
*arg2
= 0 ;
11461 wxPoint
*arg3
= 0 ;
11462 bool temp2
= False
;
11464 PyObject
* obj0
= 0 ;
11465 PyObject
* obj1
= 0 ;
11466 PyObject
* obj2
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "text",(char *) "pt", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11475 arg2
= wxString_in_helper(obj1
);
11476 if (arg2
== NULL
) SWIG_fail
;
11481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 Py_INCREF(Py_None
); resultobj
= Py_None
;
11505 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxDC
*arg1
= (wxDC
*) 0 ;
11508 wxString
*arg2
= 0 ;
11512 bool temp2
= False
;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 PyObject
* obj2
= 0 ;
11516 PyObject
* obj3
= 0 ;
11517 PyObject
* obj4
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11526 arg2
= wxString_in_helper(obj1
);
11527 if (arg2
== NULL
) SWIG_fail
;
11530 arg3
= (int) SWIG_AsInt(obj2
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11532 arg4
= (int) SWIG_AsInt(obj3
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11534 arg5
= (double) SWIG_AsDouble(obj4
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 Py_INCREF(Py_None
); resultobj
= Py_None
;
11558 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxDC
*arg1
= (wxDC
*) 0 ;
11561 wxString
*arg2
= 0 ;
11562 wxPoint
*arg3
= 0 ;
11564 bool temp2
= False
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11578 arg2
= wxString_in_helper(obj1
);
11579 if (arg2
== NULL
) SWIG_fail
;
11584 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11586 arg4
= (double) SWIG_AsDouble(obj3
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 Py_INCREF(Py_None
); resultobj
= Py_None
;
11610 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxDC
*arg1
= (wxDC
*) 0 ;
11617 wxDC
*arg6
= (wxDC
*) 0 ;
11620 int arg9
= (int) wxCOPY
;
11621 bool arg10
= (bool) False
;
11622 int arg11
= (int) -1 ;
11623 int arg12
= (int) -1 ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 PyObject
* obj2
= 0 ;
11628 PyObject
* obj3
= 0 ;
11629 PyObject
* obj4
= 0 ;
11630 PyObject
* obj5
= 0 ;
11631 PyObject
* obj6
= 0 ;
11632 PyObject
* obj7
= 0 ;
11633 PyObject
* obj8
= 0 ;
11634 PyObject
* obj9
= 0 ;
11635 PyObject
* obj10
= 0 ;
11636 PyObject
* obj11
= 0 ;
11637 char *kwnames
[] = {
11638 (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
11641 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
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11644 arg2
= (int) SWIG_AsInt(obj1
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11646 arg3
= (int) SWIG_AsInt(obj2
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11648 arg4
= (int) SWIG_AsInt(obj3
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11650 arg5
= (int) SWIG_AsInt(obj4
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11652 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 arg7
= (int) SWIG_AsInt(obj6
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11656 arg8
= (int) SWIG_AsInt(obj7
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 arg9
= (int) SWIG_AsInt(obj8
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11663 arg10
= (bool) SWIG_AsBool(obj9
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11667 arg11
= (int) SWIG_AsInt(obj10
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 arg12
= (int) SWIG_AsInt(obj11
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11688 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxDC
*arg1
= (wxDC
*) 0 ;
11691 wxPoint
*arg2
= 0 ;
11693 wxDC
*arg4
= (wxDC
*) 0 ;
11694 wxPoint
*arg5
= 0 ;
11695 int arg6
= (int) wxCOPY
;
11696 bool arg7
= (bool) False
;
11697 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11698 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 PyObject
* obj2
= 0 ;
11707 PyObject
* obj3
= 0 ;
11708 PyObject
* obj4
= 0 ;
11709 PyObject
* obj5
= 0 ;
11710 PyObject
* obj6
= 0 ;
11711 PyObject
* obj7
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11725 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11727 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11731 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11734 arg6
= (int) SWIG_AsInt(obj5
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11738 arg7
= (bool) SWIG_AsBool(obj6
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11744 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11761 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxDC
*arg1
= (wxDC
*) 0 ;
11765 wxPoint
*arg3
= (wxPoint
*) 0 ;
11766 int arg4
= (int) 0 ;
11767 int arg5
= (int) 0 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 PyObject
* obj2
= 0 ;
11771 PyObject
* obj3
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11780 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11781 if (arg3
== NULL
) SWIG_fail
;
11784 arg4
= (int) SWIG_AsInt(obj2
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11788 arg5
= (int) SWIG_AsInt(obj3
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 Py_INCREF(Py_None
); resultobj
= Py_None
;
11800 if (arg3
) delete [] arg3
;
11805 if (arg3
) delete [] arg3
;
11811 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11813 wxDC
*arg1
= (wxDC
*) 0 ;
11815 wxPoint
*arg3
= (wxPoint
*) 0 ;
11816 int arg4
= (int) 0 ;
11817 int arg5
= (int) 0 ;
11818 int arg6
= (int) wxODDEVEN_RULE
;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 PyObject
* obj2
= 0 ;
11822 PyObject
* obj3
= 0 ;
11823 PyObject
* obj4
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11832 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11833 if (arg3
== NULL
) SWIG_fail
;
11836 arg4
= (int) SWIG_AsInt(obj2
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 arg5
= (int) SWIG_AsInt(obj3
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 arg6
= (int) SWIG_AsInt(obj4
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 Py_INCREF(Py_None
); resultobj
= Py_None
;
11856 if (arg3
) delete [] arg3
;
11861 if (arg3
) delete [] arg3
;
11867 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxDC
*arg1
= (wxDC
*) 0 ;
11870 wxString
*arg2
= 0 ;
11872 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11873 int arg5
= (int) -1 ;
11874 bool temp2
= False
;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 PyObject
* obj2
= 0 ;
11879 PyObject
* obj3
= 0 ;
11880 PyObject
* obj4
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 arg2
= wxString_in_helper(obj1
);
11890 if (arg2
== NULL
) SWIG_fail
;
11895 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11898 arg4
= (int) SWIG_AsInt(obj3
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 arg5
= (int) SWIG_AsInt(obj4
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 Py_INCREF(Py_None
); resultobj
= Py_None
;
11927 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxDC
*arg1
= (wxDC
*) 0 ;
11930 wxString
*arg2
= 0 ;
11931 wxBitmap
*arg3
= 0 ;
11933 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11934 int arg6
= (int) -1 ;
11936 bool temp2
= False
;
11938 PyObject
* obj0
= 0 ;
11939 PyObject
* obj1
= 0 ;
11940 PyObject
* obj2
= 0 ;
11941 PyObject
* obj3
= 0 ;
11942 PyObject
* obj4
= 0 ;
11943 PyObject
* obj5
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11952 arg2
= wxString_in_helper(obj1
);
11953 if (arg2
== NULL
) SWIG_fail
;
11956 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
11957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11959 if (arg3
== NULL
) {
11960 PyErr_SetString(PyExc_TypeError
,"null reference");
11965 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11968 arg5
= (int) SWIG_AsInt(obj4
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11972 arg6
= (int) SWIG_AsInt(obj5
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 wxRect
* resultptr
;
11984 resultptr
= new wxRect((wxRect
&) result
);
11985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12001 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxDC
*arg1
= (wxDC
*) 0 ;
12005 wxPoint
*arg3
= (wxPoint
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char *kwnames
[] = {
12009 (char *) "self",(char *) "points", NULL
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12016 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12017 if (arg3
== NULL
) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 (arg1
)->DrawSpline(arg2
,arg3
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 Py_INCREF(Py_None
); resultobj
= Py_None
;
12028 if (arg3
) delete [] arg3
;
12033 if (arg3
) delete [] arg3
;
12039 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxDC
*arg1
= (wxDC
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 Py_INCREF(Py_None
); resultobj
= Py_None
;
12064 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxDC
*arg1
= (wxDC
*) 0 ;
12067 wxString
*arg2
= 0 ;
12069 bool temp2
= False
;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "message", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12080 arg2
= wxString_in_helper(obj1
);
12081 if (arg2
== NULL
) SWIG_fail
;
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12106 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxDC
*arg1
= (wxDC
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 Py_INCREF(Py_None
); resultobj
= Py_None
;
12131 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxDC
*arg1
= (wxDC
*) 0 ;
12134 PyObject
* obj0
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 (arg1
)->StartPage();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 Py_INCREF(Py_None
); resultobj
= Py_None
;
12156 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxDC
*arg1
= (wxDC
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 Py_INCREF(Py_None
); resultobj
= Py_None
;
12181 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxDC
*arg1
= (wxDC
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 PyObject
* obj1
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self",(char *) "font", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12197 if (arg2
== NULL
) {
12198 PyErr_SetString(PyExc_TypeError
,"null reference");
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 (arg1
)->SetFont((wxFont
const &)*arg2
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 Py_INCREF(Py_None
); resultobj
= Py_None
;
12215 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxDC
*arg1
= (wxDC
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 PyObject
* obj1
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self",(char *) "pen", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12231 if (arg2
== NULL
) {
12232 PyErr_SetString(PyExc_TypeError
,"null reference");
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 (arg1
)->SetPen((wxPen
const &)*arg2
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 Py_INCREF(Py_None
); resultobj
= Py_None
;
12249 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxDC
*arg1
= (wxDC
*) 0 ;
12252 wxBrush
*arg2
= 0 ;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self",(char *) "brush", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12265 if (arg2
== NULL
) {
12266 PyErr_SetString(PyExc_TypeError
,"null reference");
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 Py_INCREF(Py_None
); resultobj
= Py_None
;
12283 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxDC
*arg1
= (wxDC
*) 0 ;
12286 wxBrush
*arg2
= 0 ;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "brush", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12299 if (arg2
== NULL
) {
12300 PyErr_SetString(PyExc_TypeError
,"null reference");
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 Py_INCREF(Py_None
); resultobj
= Py_None
;
12317 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxDC
*arg1
= (wxDC
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self",(char *) "mode", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12330 arg2
= (int) SWIG_AsInt(obj1
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 (arg1
)->SetBackgroundMode(arg2
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 Py_INCREF(Py_None
); resultobj
= Py_None
;
12346 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxDC
*arg1
= (wxDC
*) 0 ;
12349 wxPalette
*arg2
= 0 ;
12350 PyObject
* obj0
= 0 ;
12351 PyObject
* obj1
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self",(char *) "palette", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12362 if (arg2
== NULL
) {
12363 PyErr_SetString(PyExc_TypeError
,"null reference");
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 Py_INCREF(Py_None
); resultobj
= Py_None
;
12380 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxDC
*arg1
= (wxDC
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 PyObject
* obj2
= 0 ;
12390 PyObject
* obj3
= 0 ;
12391 PyObject
* obj4
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12399 arg2
= (int) SWIG_AsInt(obj1
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12401 arg3
= (int) SWIG_AsInt(obj2
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12403 arg4
= (int) SWIG_AsInt(obj3
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12405 arg5
= (int) SWIG_AsInt(obj4
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 Py_INCREF(Py_None
); resultobj
= Py_None
;
12421 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxDC
*arg1
= (wxDC
*) 0 ;
12424 wxPoint
*arg2
= 0 ;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 PyObject
* obj2
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self",(char *) "pt",(char *) "sz", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12444 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxDC
*arg1
= (wxDC
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self",(char *) "rect", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 Py_INCREF(Py_None
); resultobj
= Py_None
;
12492 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxDC
*arg1
= (wxDC
*) 0 ;
12495 wxRegion
*arg2
= 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "region", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12508 if (arg2
== NULL
) {
12509 PyErr_SetString(PyExc_TypeError
,"null reference");
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 Py_INCREF(Py_None
); resultobj
= Py_None
;
12526 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxDC
*arg1
= (wxDC
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 (arg1
)->DestroyClippingRegion();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 Py_INCREF(Py_None
); resultobj
= Py_None
;
12551 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxDC
*arg1
= (wxDC
*) 0 ;
12554 int *arg2
= (int *) 0 ;
12555 int *arg3
= (int *) 0 ;
12556 int *arg4
= (int *) 0 ;
12557 int *arg5
= (int *) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 Py_INCREF(Py_None
); resultobj
= Py_None
;
12583 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12584 resultobj
= t_output_helper(resultobj
,o
);
12587 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12588 resultobj
= t_output_helper(resultobj
,o
);
12591 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12592 resultobj
= t_output_helper(resultobj
,o
);
12595 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12596 resultobj
= t_output_helper(resultobj
,o
);
12604 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxDC
*arg1
= (wxDC
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= wxDC_GetClippingRect(arg1
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12624 wxRect
* resultptr
;
12625 resultptr
= new wxRect((wxRect
&) result
);
12626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12634 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxDC
*arg1
= (wxDC
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= SWIG_FromInt((int)result
);
12660 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxDC
*arg1
= (wxDC
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= SWIG_FromInt((int)result
);
12686 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxDC
*arg1
= (wxDC
*) 0 ;
12689 wxString
*arg2
= 0 ;
12690 int *arg3
= (int *) 0 ;
12691 int *arg4
= (int *) 0 ;
12692 bool temp2
= False
;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self",(char *) "string", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12707 arg2
= wxString_in_helper(obj1
);
12708 if (arg2
== NULL
) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 Py_INCREF(Py_None
); resultobj
= Py_None
;
12720 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12721 resultobj
= t_output_helper(resultobj
,o
);
12724 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12725 resultobj
= t_output_helper(resultobj
,o
);
12741 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxDC
*arg1
= (wxDC
*) 0 ;
12744 wxString
*arg2
= 0 ;
12745 int *arg3
= (int *) 0 ;
12746 int *arg4
= (int *) 0 ;
12747 int *arg5
= (int *) 0 ;
12748 int *arg6
= (int *) 0 ;
12749 wxFont
*arg7
= (wxFont
*) NULL
;
12750 bool temp2
= False
;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 PyObject
* obj2
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self",(char *) "string",(char *) "font", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12770 arg2
= wxString_in_helper(obj1
);
12771 if (arg2
== NULL
) SWIG_fail
;
12775 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12788 resultobj
= t_output_helper(resultobj
,o
);
12791 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12792 resultobj
= t_output_helper(resultobj
,o
);
12795 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12796 resultobj
= t_output_helper(resultobj
,o
);
12799 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12800 resultobj
= t_output_helper(resultobj
,o
);
12816 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxDC
*arg1
= (wxDC
*) 0 ;
12819 wxString
*arg2
= 0 ;
12820 int *arg3
= (int *) 0 ;
12821 int *arg4
= (int *) 0 ;
12822 int *arg5
= (int *) 0 ;
12823 wxFont
*arg6
= (wxFont
*) NULL
;
12824 bool temp2
= False
;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 PyObject
* obj2
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "text",(char *) "font", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12842 arg2
= wxString_in_helper(obj1
);
12843 if (arg2
== NULL
) SWIG_fail
;
12847 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
12848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 Py_INCREF(Py_None
); resultobj
= Py_None
;
12859 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12860 resultobj
= t_output_helper(resultobj
,o
);
12863 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12864 resultobj
= t_output_helper(resultobj
,o
);
12867 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12868 resultobj
= t_output_helper(resultobj
,o
);
12884 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxDC
*arg1
= (wxDC
*) 0 ;
12887 wxString
*arg2
= 0 ;
12889 bool temp2
= False
;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "text", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12900 arg2
= wxString_in_helper(obj1
);
12901 if (arg2
== NULL
) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= PyList_New(0);
12914 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12915 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12916 PyList_Append(resultobj
, val
);
12934 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxDC
*arg1
= (wxDC
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",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 result
= (arg1
)->GetSize();
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 wxSize
* resultptr
;
12955 resultptr
= new wxSize((wxSize
&) result
);
12956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12964 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxDC
*arg1
= (wxDC
*) 0 ;
12967 int *arg2
= (int *) 0 ;
12968 int *arg3
= (int *) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 (arg1
)->GetSize(arg2
,arg3
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 Py_INCREF(Py_None
); resultobj
= Py_None
;
12990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12991 resultobj
= t_output_helper(resultobj
,o
);
12994 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12995 resultobj
= t_output_helper(resultobj
,o
);
13003 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxDC
*arg1
= (wxDC
*) 0 ;
13007 PyObject
* obj0
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",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 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 wxSize
* resultptr
;
13024 resultptr
= new wxSize((wxSize
&) result
);
13025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13033 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxDC
*arg1
= (wxDC
*) 0 ;
13036 int *arg2
= (int *) 0 ;
13037 int *arg3
= (int *) 0 ;
13040 PyObject
* obj0
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "self", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 Py_INCREF(Py_None
); resultobj
= Py_None
;
13059 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13060 resultobj
= t_output_helper(resultobj
,o
);
13063 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13064 resultobj
= t_output_helper(resultobj
,o
);
13072 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxDC
*arg1
= (wxDC
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self",(char *) "x", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13086 arg2
= (int) SWIG_AsInt(obj1
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_FromInt((int)result
);
13102 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxDC
*arg1
= (wxDC
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "y", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13116 arg2
= (int) SWIG_AsInt(obj1
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= SWIG_FromInt((int)result
);
13132 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxDC
*arg1
= (wxDC
*) 0 ;
13137 PyObject
* obj0
= 0 ;
13138 PyObject
* obj1
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "self",(char *) "x", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13146 arg2
= (int) SWIG_AsInt(obj1
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_FromInt((int)result
);
13162 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
;
13164 wxDC
*arg1
= (wxDC
*) 0 ;
13167 PyObject
* obj0
= 0 ;
13168 PyObject
* obj1
= 0 ;
13169 char *kwnames
[] = {
13170 (char *) "self",(char *) "y", NULL
13173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13176 arg2
= (int) SWIG_AsInt(obj1
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_FromInt((int)result
);
13192 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxDC
*arg1
= (wxDC
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self",(char *) "x", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 arg2
= (int) SWIG_AsInt(obj1
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_FromInt((int)result
);
13222 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxDC
*arg1
= (wxDC
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self",(char *) "y", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13236 arg2
= (int) SWIG_AsInt(obj1
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= SWIG_FromInt((int)result
);
13252 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxDC
*arg1
= (wxDC
*) 0 ;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "x", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13266 arg2
= (int) SWIG_AsInt(obj1
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_FromInt((int)result
);
13282 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxDC
*arg1
= (wxDC
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "y", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 arg2
= (int) SWIG_AsInt(obj1
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_FromInt((int)result
);
13312 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxDC
*arg1
= (wxDC
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13338 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxDC
*arg1
= (wxDC
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13364 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxDC
*arg1
= (wxDC
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_FromInt((int)result
);
13390 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxDC
*arg1
= (wxDC
*) 0 ;
13394 PyObject
* obj0
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= ((wxDC
const *)arg1
)->GetPPI();
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13410 wxSize
* resultptr
;
13411 resultptr
= new wxSize((wxSize
&) result
);
13412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13420 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxDC
*arg1
= (wxDC
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (bool)((wxDC
const *)arg1
)->Ok();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13446 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxDC
*arg1
= (wxDC
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_FromInt((int)result
);
13472 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxDC
*arg1
= (wxDC
*) 0 ;
13476 PyObject
* obj0
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13488 result
= (wxBrush
*) &_result_ref
;
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
13501 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxDC
*arg1
= (wxDC
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13517 result
= (wxBrush
*) &_result_ref
;
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
13530 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxDC
*arg1
= (wxDC
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13546 result
= (wxFont
*) &_result_ref
;
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
13559 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxDC
*arg1
= (wxDC
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13575 result
= (wxPen
*) &_result_ref
;
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
13588 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxDC
*arg1
= (wxDC
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13604 result
= (wxColour
*) &_result_ref
;
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13617 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxDC
*arg1
= (wxDC
*) 0 ;
13621 PyObject
* obj0
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "self", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13633 result
= (wxColour
*) &_result_ref
;
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13646 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxDC
*arg1
= (wxDC
*) 0 ;
13649 wxColour
*arg2
= 0 ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self",(char *) "colour", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 Py_INCREF(Py_None
); resultobj
= Py_None
;
13678 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxDC
*arg1
= (wxDC
*) 0 ;
13681 wxColour
*arg2
= 0 ;
13683 PyObject
* obj0
= 0 ;
13684 PyObject
* obj1
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self",(char *) "colour", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 Py_INCREF(Py_None
); resultobj
= Py_None
;
13710 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxDC
*arg1
= (wxDC
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_FromInt((int)result
);
13736 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
;
13738 wxDC
*arg1
= (wxDC
*) 0 ;
13740 PyObject
* obj0
= 0 ;
13741 PyObject
* obj1
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self",(char *) "mode", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13749 arg2
= (int) SWIG_AsInt(obj1
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 (arg1
)->SetMapMode(arg2
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 Py_INCREF(Py_None
); resultobj
= Py_None
;
13765 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxDC
*arg1
= (wxDC
*) 0 ;
13768 double *arg2
= (double *) 0 ;
13769 double *arg3
= (double *) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 char *kwnames
[] = {
13774 (char *) "self", NULL
13779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 Py_INCREF(Py_None
); resultobj
= Py_None
;
13791 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13792 resultobj
= t_output_helper(resultobj
,o
);
13795 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13796 resultobj
= t_output_helper(resultobj
,o
);
13804 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxDC
*arg1
= (wxDC
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 char *kwnames
[] = {
13813 (char *) "self",(char *) "x",(char *) "y", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13819 arg2
= (double) SWIG_AsDouble(obj1
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13821 arg3
= (double) SWIG_AsDouble(obj2
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 (arg1
)->SetUserScale(arg2
,arg3
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 Py_INCREF(Py_None
); resultobj
= Py_None
;
13837 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
;
13839 wxDC
*arg1
= (wxDC
*) 0 ;
13840 double *arg2
= (double *) 0 ;
13841 double *arg3
= (double *) 0 ;
13844 PyObject
* obj0
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 (arg1
)->GetLogicalScale(arg2
,arg3
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 Py_INCREF(Py_None
); resultobj
= Py_None
;
13863 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13864 resultobj
= t_output_helper(resultobj
,o
);
13867 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13868 resultobj
= t_output_helper(resultobj
,o
);
13876 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxDC
*arg1
= (wxDC
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 PyObject
* obj2
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "x",(char *) "y", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 arg2
= (double) SWIG_AsDouble(obj1
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13893 arg3
= (double) SWIG_AsDouble(obj2
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->SetLogicalScale(arg2
,arg3
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 Py_INCREF(Py_None
); resultobj
= Py_None
;
13909 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxDC
*arg1
= (wxDC
*) 0 ;
13913 PyObject
* obj0
= 0 ;
13914 char *kwnames
[] = {
13915 (char *) "self", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",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 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13929 wxPoint
* resultptr
;
13930 resultptr
= new wxPoint((wxPoint
&) result
);
13931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
13939 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxDC
*arg1
= (wxDC
*) 0 ;
13942 int *arg2
= (int *) 0 ;
13943 int *arg3
= (int *) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
13954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 Py_INCREF(Py_None
); resultobj
= Py_None
;
13965 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13966 resultobj
= t_output_helper(resultobj
,o
);
13969 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13970 resultobj
= t_output_helper(resultobj
,o
);
13978 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxDC
*arg1
= (wxDC
*) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 PyObject
* obj2
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "self",(char *) "x",(char *) "y", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13993 arg2
= (int) SWIG_AsInt(obj1
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13995 arg3
= (int) SWIG_AsInt(obj2
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 Py_INCREF(Py_None
); resultobj
= Py_None
;
14011 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxDC
*arg1
= (wxDC
*) 0 ;
14015 PyObject
* obj0
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",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 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14031 wxPoint
* resultptr
;
14032 resultptr
= new wxPoint((wxPoint
&) result
);
14033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14041 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxDC
*arg1
= (wxDC
*) 0 ;
14044 int *arg2
= (int *) 0 ;
14045 int *arg3
= (int *) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14068 resultobj
= t_output_helper(resultobj
,o
);
14071 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14072 resultobj
= t_output_helper(resultobj
,o
);
14080 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxDC
*arg1
= (wxDC
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 PyObject
* obj1
= 0 ;
14087 PyObject
* obj2
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self",(char *) "x",(char *) "y", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 arg2
= (int) SWIG_AsInt(obj1
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14097 arg3
= (int) SWIG_AsInt(obj2
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 Py_INCREF(Py_None
); resultobj
= Py_None
;
14113 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
;
14115 wxDC
*arg1
= (wxDC
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 PyObject
* obj1
= 0 ;
14120 PyObject
* obj2
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14128 arg2
= (bool) SWIG_AsBool(obj1
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14130 arg3
= (bool) SWIG_AsBool(obj2
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 Py_INCREF(Py_None
); resultobj
= Py_None
;
14146 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxDC
*arg1
= (wxDC
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_FromInt((int)result
);
14172 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxDC
*arg1
= (wxDC
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj1
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "function", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 arg2
= (int) SWIG_AsInt(obj1
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 (arg1
)->SetLogicalFunction(arg2
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 Py_INCREF(Py_None
); resultobj
= Py_None
;
14201 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxDC
*arg1
= (wxDC
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 PyObject
* obj1
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self",(char *) "opt", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 arg2
= (bool) SWIG_AsBool(obj1
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 (arg1
)->SetOptimization(arg2
);
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 Py_INCREF(Py_None
); resultobj
= Py_None
;
14230 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxDC
*arg1
= (wxDC
*) 0 ;
14234 PyObject
* obj0
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= (bool)(arg1
)->GetOptimization();
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14256 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxDC
*arg1
= (wxDC
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 PyObject
* obj1
= 0 ;
14263 PyObject
* obj2
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self",(char *) "x",(char *) "y", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14271 arg2
= (int) SWIG_AsInt(obj1
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14273 arg3
= (int) SWIG_AsInt(obj2
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 Py_INCREF(Py_None
); resultobj
= Py_None
;
14289 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxDC
*arg1
= (wxDC
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 (arg1
)->ResetBoundingBox();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 Py_INCREF(Py_None
); resultobj
= Py_None
;
14314 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxDC
*arg1
= (wxDC
*) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= (int)((wxDC
const *)arg1
)->MinX();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_FromInt((int)result
);
14340 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxDC
*arg1
= (wxDC
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (int)((wxDC
const *)arg1
)->MaxX();
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= SWIG_FromInt((int)result
);
14366 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxDC
*arg1
= (wxDC
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (int)((wxDC
const *)arg1
)->MinY();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= SWIG_FromInt((int)result
);
14392 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxDC
*arg1
= (wxDC
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (int)((wxDC
const *)arg1
)->MaxY();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_FromInt((int)result
);
14418 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxDC
*arg1
= (wxDC
*) 0 ;
14421 int *arg2
= (int *) 0 ;
14422 int *arg3
= (int *) 0 ;
14423 int *arg4
= (int *) 0 ;
14424 int *arg5
= (int *) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 Py_INCREF(Py_None
); resultobj
= Py_None
;
14450 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14451 resultobj
= t_output_helper(resultobj
,o
);
14454 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14455 resultobj
= t_output_helper(resultobj
,o
);
14458 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14459 resultobj
= t_output_helper(resultobj
,o
);
14462 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14463 resultobj
= t_output_helper(resultobj
,o
);
14471 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, 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__DrawPointList",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__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= result
;
14506 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, 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__DrawLineList",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__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
;
14541 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, 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__DrawRectangleList",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__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= result
;
14576 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, 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__DrawEllipseList",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__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= result
;
14611 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, 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 ;
14618 PyObject
* obj0
= 0 ;
14619 PyObject
* obj1
= 0 ;
14620 PyObject
* obj2
= 0 ;
14621 PyObject
* obj3
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= result
;
14646 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxDC
*arg1
= (wxDC
*) 0 ;
14649 PyObject
*arg2
= (PyObject
*) 0 ;
14650 PyObject
*arg3
= (PyObject
*) 0 ;
14651 PyObject
*arg4
= (PyObject
*) 0 ;
14652 PyObject
*arg5
= (PyObject
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 PyObject
* obj2
= 0 ;
14657 PyObject
* obj3
= 0 ;
14658 PyObject
* obj4
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= result
;
14684 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14687 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14689 return Py_BuildValue((char *)"");
14691 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxMemoryDC
*result
;
14694 char *kwnames
[] = {
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (wxMemoryDC
*)new wxMemoryDC();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14713 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
;
14715 wxDC
*arg1
= (wxDC
*) 0 ;
14716 wxMemoryDC
*result
;
14717 PyObject
* obj0
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "oldDC", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14739 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14742 wxBitmap
*arg2
= 0 ;
14743 PyObject
* obj0
= 0 ;
14744 PyObject
* obj1
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self",(char *) "bitmap", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
14751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14755 if (arg2
== NULL
) {
14756 PyErr_SetString(PyExc_TypeError
,"null reference");
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 Py_INCREF(Py_None
); resultobj
= Py_None
;
14773 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14776 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14778 return Py_BuildValue((char *)"");
14780 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14781 PyObject
*resultobj
;
14782 wxDC
*arg1
= (wxDC
*) 0 ;
14783 wxBitmap
*arg2
= 0 ;
14784 wxBufferedDC
*result
;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14788 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14794 if (arg2
== NULL
) {
14795 PyErr_SetString(PyExc_TypeError
,"null reference");
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14812 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
14813 PyObject
*resultobj
;
14814 wxDC
*arg1
= (wxDC
*) 0 ;
14816 wxBufferedDC
*result
;
14818 PyObject
* obj0
= 0 ;
14819 PyObject
* obj1
= 0 ;
14821 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14842 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
14847 argc
= PyObject_Length(args
);
14848 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
14849 argv
[ii
] = PyTuple_GetItem(args
,ii
);
14855 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14865 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
14873 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
14881 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14890 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
14893 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
14898 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
14903 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
14904 PyObject
*resultobj
;
14905 wxDC
*arg1
= (wxDC
*) 0 ;
14907 wxBufferedDC
*result
;
14909 PyObject
* obj0
= 0 ;
14910 PyObject
* obj1
= 0 ;
14912 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14933 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 Py_INCREF(Py_None
); resultobj
= Py_None
;
14958 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
14985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14986 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
14988 return Py_BuildValue((char *)"");
14990 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxWindow
*arg1
= (wxWindow
*) 0 ;
14993 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
14994 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
14995 wxBufferedPaintDC
*result
;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "window",(char *) "buffer", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15009 if (arg2
== NULL
) {
15010 PyErr_SetString(PyExc_TypeError
,"null reference");
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15028 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15031 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15033 return Py_BuildValue((char *)"");
15035 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxScreenDC
*result
;
15038 char *kwnames
[] = {
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (wxScreenDC
*)new wxScreenDC();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15057 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15060 wxWindow
*arg2
= (wxWindow
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self",(char *) "window", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15087 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15090 wxRect
*arg2
= (wxRect
*) NULL
;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "self",(char *) "rect", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15119 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (bool)(arg1
)->EndDrawingOnTop();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15145 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15148 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15150 return Py_BuildValue((char *)"");
15152 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxWindow
*arg1
= (wxWindow
*) 0 ;
15155 wxClientDC
*result
;
15156 PyObject
* obj0
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "win", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (wxClientDC
*)new wxClientDC(arg1
);
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15178 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15181 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15183 return Py_BuildValue((char *)"");
15185 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxWindow
*arg1
= (wxWindow
*) 0 ;
15189 PyObject
* obj0
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "win", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15211 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15214 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15216 return Py_BuildValue((char *)"");
15218 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxWindow
*arg1
= (wxWindow
*) 0 ;
15221 wxWindowDC
*result
;
15222 PyObject
* obj0
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "win", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15244 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15247 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15249 return Py_BuildValue((char *)"");
15251 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15255 wxMirrorDC
*result
;
15256 PyObject
* obj0
= 0 ;
15257 PyObject
* obj1
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "dc",(char *) "mirror", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15266 if (arg1
== NULL
) {
15267 PyErr_SetString(PyExc_TypeError
,"null reference");
15270 arg2
= (bool) SWIG_AsBool(obj1
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15286 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15289 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15291 return Py_BuildValue((char *)"");
15293 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxPrintData
*arg1
= 0 ;
15296 wxPostScriptDC
*result
;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "printData", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15306 if (arg1
== NULL
) {
15307 PyErr_SetString(PyExc_TypeError
,"null reference");
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15324 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15327 wxPrintData
*result
;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15340 result
= (wxPrintData
*) &_result_ref
;
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15353 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15356 wxPrintData
*arg2
= 0 ;
15357 PyObject
* obj0
= 0 ;
15358 PyObject
* obj1
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self",(char *) "data", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15369 if (arg2
== NULL
) {
15370 PyErr_SetString(PyExc_TypeError
,"null reference");
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 Py_INCREF(Py_None
); resultobj
= Py_None
;
15387 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "ppi", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15396 arg1
= (int) SWIG_AsInt(obj0
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 wxPostScriptDC::SetResolution(arg1
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 Py_INCREF(Py_None
); resultobj
= Py_None
;
15412 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15415 char *kwnames
[] = {
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (int)wxPostScriptDC::GetResolution();
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= SWIG_FromInt((int)result
);
15434 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15437 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15439 return Py_BuildValue((char *)"");
15441 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15444 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15445 wxMetaFile
*result
;
15446 bool temp1
= False
;
15447 PyObject
* obj0
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "filename", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15455 arg1
= wxString_in_helper(obj0
);
15456 if (arg1
== NULL
) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15482 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15485 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15487 return Py_BuildValue((char *)"");
15489 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15492 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15493 int arg2
= (int) 0 ;
15494 int arg3
= (int) 0 ;
15495 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15496 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15497 wxMetaFileDC
*result
;
15498 bool temp1
= False
;
15499 bool temp4
= False
;
15500 PyObject
* obj0
= 0 ;
15501 PyObject
* obj1
= 0 ;
15502 PyObject
* obj2
= 0 ;
15503 PyObject
* obj3
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15511 arg1
= wxString_in_helper(obj0
);
15512 if (arg1
== NULL
) SWIG_fail
;
15517 arg2
= (int) SWIG_AsInt(obj1
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 arg3
= (int) SWIG_AsInt(obj2
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15526 arg4
= wxString_in_helper(obj3
);
15527 if (arg4
== NULL
) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15561 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15564 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15566 return Py_BuildValue((char *)"");
15568 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxPrintData
*arg1
= 0 ;
15571 wxPrinterDC
*result
;
15572 PyObject
* obj0
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "printData", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15581 if (arg1
== NULL
) {
15582 PyErr_SetString(PyExc_TypeError
,"null reference");
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15599 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15602 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15604 return Py_BuildValue((char *)"");
15606 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15610 int arg3
= (int) True
;
15611 int arg4
= (int) 1 ;
15612 wxImageList
*result
;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 PyObject
* obj2
= 0 ;
15616 PyObject
* obj3
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15622 arg1
= (int) SWIG_AsInt(obj0
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15624 arg2
= (int) SWIG_AsInt(obj1
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 arg3
= (int) SWIG_AsInt(obj2
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15631 arg4
= (int) SWIG_AsInt(obj3
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15642 resultobj
= wxPyMake_wxObject(result
);
15650 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxImageList
*arg1
= (wxImageList
*) 0 ;
15653 PyObject
* obj0
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxImageList
*arg1
= (wxImageList
*) 0 ;
15678 wxBitmap
*arg2
= 0 ;
15679 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15680 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 PyObject
* obj2
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15695 if (arg2
== NULL
) {
15696 PyErr_SetString(PyExc_TypeError
,"null reference");
15700 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15703 if (arg3
== NULL
) {
15704 PyErr_SetString(PyExc_TypeError
,"null reference");
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_FromInt((int)result
);
15722 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxImageList
*arg1
= (wxImageList
*) 0 ;
15725 wxBitmap
*arg2
= 0 ;
15726 wxColour
*arg3
= 0 ;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 PyObject
* obj2
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15742 if (arg2
== NULL
) {
15743 PyErr_SetString(PyExc_TypeError
,"null reference");
15748 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= SWIG_FromInt((int)result
);
15764 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxImageList
*arg1
= (wxImageList
*) 0 ;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self",(char *) "icon", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15781 if (arg2
== NULL
) {
15782 PyErr_SetString(PyExc_TypeError
,"null reference");
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_FromInt((int)result
);
15799 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxImageList
*arg1
= (wxImageList
*) 0 ;
15803 wxBitmap
*arg3
= 0 ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 PyObject
* obj2
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15815 arg2
= (int) SWIG_AsInt(obj1
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15817 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15820 if (arg3
== NULL
) {
15821 PyErr_SetString(PyExc_TypeError
,"null reference");
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15838 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxImageList
*arg1
= (wxImageList
*) 0 ;
15845 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15846 bool arg7
= (bool) (bool)False
;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15850 PyObject
* obj2
= 0 ;
15851 PyObject
* obj3
= 0 ;
15852 PyObject
* obj4
= 0 ;
15853 PyObject
* obj5
= 0 ;
15854 PyObject
* obj6
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15862 arg2
= (int) SWIG_AsInt(obj1
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15864 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15867 if (arg3
== NULL
) {
15868 PyErr_SetString(PyExc_TypeError
,"null reference");
15871 arg4
= (int) SWIG_AsInt(obj3
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15873 arg5
= (int) SWIG_AsInt(obj4
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 arg6
= (int) SWIG_AsInt(obj5
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15880 arg7
= (bool const) SWIG_AsBool(obj6
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15897 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxImageList
*arg1
= (wxImageList
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (int)(arg1
)->GetImageCount();
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= SWIG_FromInt((int)result
);
15923 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxImageList
*arg1
= (wxImageList
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 PyObject
* obj1
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "self",(char *) "index", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15937 arg2
= (int) SWIG_AsInt(obj1
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (bool)(arg1
)->Remove(arg2
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15953 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxImageList
*arg1
= (wxImageList
*) 0 ;
15957 PyObject
* obj0
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (bool)(arg1
)->RemoveAll();
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15979 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxImageList
*arg1
= (wxImageList
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "index", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 arg2
= (int) SWIG_AsInt(obj1
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 Py_INCREF(Py_None
); resultobj
= Py_None
;
16009 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16010 resultobj
= t_output_helper(resultobj
,o
);
16013 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16014 resultobj
= t_output_helper(resultobj
,o
);
16022 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16025 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16027 return Py_BuildValue((char *)"");
16029 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16030 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16035 static PyObject
*_wrap_NORMAL_FONT_get() {
16038 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16043 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16044 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16049 static PyObject
*_wrap_SMALL_FONT_get() {
16052 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16057 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16058 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16063 static PyObject
*_wrap_ITALIC_FONT_get() {
16066 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16071 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16072 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16077 static PyObject
*_wrap_SWISS_FONT_get() {
16080 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16085 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16086 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16091 static PyObject
*_wrap_RED_PEN_get() {
16094 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16099 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16100 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16105 static PyObject
*_wrap_CYAN_PEN_get() {
16108 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16113 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16114 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16119 static PyObject
*_wrap_GREEN_PEN_get() {
16122 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16127 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16128 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16133 static PyObject
*_wrap_BLACK_PEN_get() {
16136 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16141 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16142 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16147 static PyObject
*_wrap_WHITE_PEN_get() {
16150 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16155 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16156 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16161 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16164 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16169 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16170 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16175 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16178 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16183 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16184 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16189 static PyObject
*_wrap_GREY_PEN_get() {
16192 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16197 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16198 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16203 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16206 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16211 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16212 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16217 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16220 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16225 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16226 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16231 static PyObject
*_wrap_BLUE_BRUSH_get() {
16234 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16239 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16240 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16245 static PyObject
*_wrap_GREEN_BRUSH_get() {
16248 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16253 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16254 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16259 static PyObject
*_wrap_WHITE_BRUSH_get() {
16262 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16267 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16268 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16273 static PyObject
*_wrap_BLACK_BRUSH_get() {
16276 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16281 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16282 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16287 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16290 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16295 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16296 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16301 static PyObject
*_wrap_CYAN_BRUSH_get() {
16304 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16309 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16310 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16315 static PyObject
*_wrap_RED_BRUSH_get() {
16318 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16323 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16324 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16329 static PyObject
*_wrap_GREY_BRUSH_get() {
16332 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16337 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16338 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16343 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16346 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16351 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16352 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16357 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16360 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16365 static int _wrap_BLACK_set(PyObject
*_val
) {
16366 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16371 static PyObject
*_wrap_BLACK_get() {
16374 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16379 static int _wrap_WHITE_set(PyObject
*_val
) {
16380 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16385 static PyObject
*_wrap_WHITE_get() {
16388 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16393 static int _wrap_RED_set(PyObject
*_val
) {
16394 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16399 static PyObject
*_wrap_RED_get() {
16402 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16407 static int _wrap_BLUE_set(PyObject
*_val
) {
16408 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16413 static PyObject
*_wrap_BLUE_get() {
16416 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16421 static int _wrap_GREEN_set(PyObject
*_val
) {
16422 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16427 static PyObject
*_wrap_GREEN_get() {
16430 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16435 static int _wrap_CYAN_set(PyObject
*_val
) {
16436 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16441 static PyObject
*_wrap_CYAN_get() {
16444 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16449 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16450 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16455 static PyObject
*_wrap_LIGHT_GREY_get() {
16458 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16463 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16464 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16469 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16472 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16477 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16478 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16483 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16486 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16491 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16492 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16497 static PyObject
*_wrap_CROSS_CURSOR_get() {
16500 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16505 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16506 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16511 static PyObject
*_wrap_NullBitmap_get() {
16514 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16519 static int _wrap_NullIcon_set(PyObject
*_val
) {
16520 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16525 static PyObject
*_wrap_NullIcon_get() {
16528 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16533 static int _wrap_NullCursor_set(PyObject
*_val
) {
16534 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16539 static PyObject
*_wrap_NullCursor_get() {
16542 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16547 static int _wrap_NullPen_set(PyObject
*_val
) {
16548 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16553 static PyObject
*_wrap_NullPen_get() {
16556 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16561 static int _wrap_NullBrush_set(PyObject
*_val
) {
16562 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16567 static PyObject
*_wrap_NullBrush_get() {
16570 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16575 static int _wrap_NullPalette_set(PyObject
*_val
) {
16576 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16581 static PyObject
*_wrap_NullPalette_get() {
16584 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16589 static int _wrap_NullFont_set(PyObject
*_val
) {
16590 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16595 static PyObject
*_wrap_NullFont_get() {
16598 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16603 static int _wrap_NullColour_set(PyObject
*_val
) {
16604 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16609 static PyObject
*_wrap_NullColour_get() {
16612 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16617 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxPenList
*arg1
= (wxPenList
*) 0 ;
16620 wxPen
*arg2
= (wxPen
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "pen", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 (arg1
)->AddPen(arg2
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 Py_INCREF(Py_None
); resultobj
= Py_None
;
16646 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxPenList
*arg1
= (wxPenList
*) 0 ;
16649 wxColour
*arg2
= 0 ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 PyObject
* obj2
= 0 ;
16657 PyObject
* obj3
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16667 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16669 arg3
= (int) SWIG_AsInt(obj2
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16671 arg4
= (int) SWIG_AsInt(obj3
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
16687 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxPenList
*arg1
= (wxPenList
*) 0 ;
16690 wxPen
*arg2
= (wxPen
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self",(char *) "pen", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 (arg1
)->RemovePen(arg2
);
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 Py_INCREF(Py_None
); resultobj
= Py_None
;
16716 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxPenList
*arg1
= (wxPenList
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (int)(arg1
)->GetCount();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_FromInt((int)result
);
16742 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16745 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16747 return Py_BuildValue((char *)"");
16749 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16752 wxBrush
*arg2
= (wxBrush
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self",(char *) "brush", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
16763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 (arg1
)->AddBrush(arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16781 wxColour
*arg2
= 0 ;
16785 PyObject
* obj0
= 0 ;
16786 PyObject
* obj1
= 0 ;
16787 PyObject
* obj2
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self",(char *) "colour",(char *) "style", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16797 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16799 arg3
= (int) SWIG_AsInt(obj2
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
16815 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16818 wxBrush
*arg2
= (wxBrush
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self",(char *) "brush", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
16829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 (arg1
)->RemoveBrush(arg2
);
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 Py_INCREF(Py_None
); resultobj
= Py_None
;
16844 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (int)(arg1
)->GetCount();
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= SWIG_FromInt((int)result
);
16870 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
16872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16873 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16875 return Py_BuildValue((char *)"");
16877 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxColourDatabase
*result
;
16880 char *kwnames
[] = {
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (wxColourDatabase
*)new wxColourDatabase();
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
16899 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 Py_INCREF(Py_None
); resultobj
= Py_None
;
16924 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
;
16926 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16927 wxString
*arg2
= 0 ;
16929 bool temp2
= False
;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self",(char *) "name", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 arg2
= wxString_in_helper(obj1
);
16941 if (arg2
== NULL
) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16952 wxColour
* resultptr
;
16953 resultptr
= new wxColour((wxColour
&) result
);
16954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
16970 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16973 wxColour
*arg2
= 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self",(char *) "colour", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17009 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17012 wxString
*arg2
= 0 ;
17013 wxColour
*arg3
= 0 ;
17014 bool temp2
= False
;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 PyObject
* obj2
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self",(char *) "name",(char *) "colour", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 arg2
= wxString_in_helper(obj1
);
17028 if (arg2
== NULL
) SWIG_fail
;
17033 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 Py_INCREF(Py_None
); resultobj
= Py_None
;
17057 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17060 wxString
*arg2
= 0 ;
17064 bool temp2
= False
;
17065 PyObject
* obj0
= 0 ;
17066 PyObject
* obj1
= 0 ;
17067 PyObject
* obj2
= 0 ;
17068 PyObject
* obj3
= 0 ;
17069 PyObject
* obj4
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17078 arg2
= wxString_in_helper(obj1
);
17079 if (arg2
== NULL
) SWIG_fail
;
17082 arg3
= (int) SWIG_AsInt(obj2
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17084 arg4
= (int) SWIG_AsInt(obj3
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17086 arg5
= (int) SWIG_AsInt(obj4
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 Py_INCREF(Py_None
); resultobj
= Py_None
;
17110 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17113 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17115 return Py_BuildValue((char *)"");
17117 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxFontList
*arg1
= (wxFontList
*) 0 ;
17120 wxFont
*arg2
= (wxFont
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "font", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 (arg1
)->AddFont(arg2
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17139 Py_INCREF(Py_None
); resultobj
= Py_None
;
17146 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxFontList
*arg1
= (wxFontList
*) 0 ;
17153 bool arg6
= (bool) False
;
17154 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17156 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17158 bool temp7
= False
;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 PyObject
* obj2
= 0 ;
17162 PyObject
* obj3
= 0 ;
17163 PyObject
* obj4
= 0 ;
17164 PyObject
* obj5
= 0 ;
17165 PyObject
* obj6
= 0 ;
17166 PyObject
* obj7
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17174 arg2
= (int) SWIG_AsInt(obj1
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17176 arg3
= (int) SWIG_AsInt(obj2
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17178 arg4
= (int) SWIG_AsInt(obj3
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17180 arg5
= (int) SWIG_AsInt(obj4
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 arg6
= (bool) SWIG_AsBool(obj5
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17188 arg7
= wxString_in_helper(obj6
);
17189 if (arg7
== NULL
) SWIG_fail
;
17194 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17219 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxFontList
*arg1
= (wxFontList
*) 0 ;
17222 wxFont
*arg2
= (wxFont
*) 0 ;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "self",(char *) "font", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 (arg1
)->RemoveFont(arg2
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 Py_INCREF(Py_None
); resultobj
= Py_None
;
17248 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxFontList
*arg1
= (wxFontList
*) 0 ;
17252 PyObject
* obj0
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (int)(arg1
)->GetCount();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_FromInt((int)result
);
17274 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17277 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17279 return Py_BuildValue((char *)"");
17281 static int _wrap_TheFontList_set(PyObject
*_val
) {
17282 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17287 static PyObject
*_wrap_TheFontList_get() {
17290 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17295 static int _wrap_ThePenList_set(PyObject
*_val
) {
17296 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17301 static PyObject
*_wrap_ThePenList_get() {
17304 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17309 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17310 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17315 static PyObject
*_wrap_TheBrushList_get() {
17318 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17323 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17324 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17329 static PyObject
*_wrap_TheColourDatabase_get() {
17332 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17337 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17340 char *kwnames
[] = {
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (wxEffects
*)new wxEffects();
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17359 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxEffects
*arg1
= (wxEffects
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 wxColour
* resultptr
;
17380 resultptr
= new wxColour((wxColour
&) result
);
17381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17389 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxEffects
*arg1
= (wxEffects
*) 0 ;
17393 PyObject
* obj0
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17409 wxColour
* resultptr
;
17410 resultptr
= new wxColour((wxColour
&) result
);
17411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17419 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxEffects
*arg1
= (wxEffects
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 wxColour
* resultptr
;
17440 resultptr
= new wxColour((wxColour
&) result
);
17441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17449 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 wxEffects
*arg1
= (wxEffects
*) 0 ;
17453 PyObject
* obj0
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 wxColour
* resultptr
;
17470 resultptr
= new wxColour((wxColour
&) result
);
17471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17479 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxEffects
*arg1
= (wxEffects
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 wxColour
* resultptr
;
17500 resultptr
= new wxColour((wxColour
&) result
);
17501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17509 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxEffects
*arg1
= (wxEffects
*) 0 ;
17512 wxColour
*arg2
= 0 ;
17514 PyObject
* obj0
= 0 ;
17515 PyObject
* obj1
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self",(char *) "c", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17525 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 Py_INCREF(Py_None
); resultobj
= Py_None
;
17541 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxEffects
*arg1
= (wxEffects
*) 0 ;
17544 wxColour
*arg2
= 0 ;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self",(char *) "c", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 Py_INCREF(Py_None
); resultobj
= Py_None
;
17573 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxEffects
*arg1
= (wxEffects
*) 0 ;
17576 wxColour
*arg2
= 0 ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self",(char *) "c", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17589 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 Py_INCREF(Py_None
); resultobj
= Py_None
;
17605 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxEffects
*arg1
= (wxEffects
*) 0 ;
17608 wxColour
*arg2
= 0 ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self",(char *) "c", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 Py_INCREF(Py_None
); resultobj
= Py_None
;
17637 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxEffects
*arg1
= (wxEffects
*) 0 ;
17640 wxColour
*arg2
= 0 ;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self",(char *) "c", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17653 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 Py_INCREF(Py_None
); resultobj
= Py_None
;
17669 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxEffects
*arg1
= (wxEffects
*) 0 ;
17672 wxColour
*arg2
= 0 ;
17673 wxColour
*arg3
= 0 ;
17674 wxColour
*arg4
= 0 ;
17675 wxColour
*arg5
= 0 ;
17676 wxColour
*arg6
= 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 PyObject
* obj3
= 0 ;
17686 PyObject
* obj4
= 0 ;
17687 PyObject
* obj5
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17697 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17701 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17705 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17709 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17713 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 Py_INCREF(Py_None
); resultobj
= Py_None
;
17729 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxEffects
*arg1
= (wxEffects
*) 0 ;
17734 int arg4
= (int) 1 ;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 PyObject
* obj2
= 0 ;
17739 PyObject
* obj3
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17750 if (arg2
== NULL
) {
17751 PyErr_SetString(PyExc_TypeError
,"null reference");
17756 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17759 arg4
= (int) SWIG_AsInt(obj3
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 Py_INCREF(Py_None
); resultobj
= Py_None
;
17776 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxEffects
*arg1
= (wxEffects
*) 0 ;
17781 wxBitmap
*arg4
= 0 ;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 PyObject
* obj2
= 0 ;
17787 PyObject
* obj3
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17797 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17799 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17802 if (arg3
== NULL
) {
17803 PyErr_SetString(PyExc_TypeError
,"null reference");
17806 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17809 if (arg4
== NULL
) {
17810 PyErr_SetString(PyExc_TypeError
,"null reference");
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17827 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17830 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17832 return Py_BuildValue((char *)"");
17834 static PyMethodDef SwigMethods
[] = {
17835 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17836 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17837 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17838 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17839 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17840 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17841 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17842 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17843 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17844 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17845 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17846 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17847 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17848 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17849 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17850 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17851 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
17852 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17853 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17854 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17855 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17856 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17857 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17858 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17859 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17860 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17861 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17862 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17863 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17864 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17865 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17866 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17867 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17868 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17869 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17870 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17871 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17872 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17873 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17874 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17875 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17876 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17877 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17878 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17879 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17880 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17881 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
17882 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17883 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17884 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17885 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17886 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17887 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17888 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17889 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17890 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17891 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17892 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17893 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17894 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17895 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17896 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17897 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17898 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17899 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17900 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17901 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17902 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17903 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17904 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17905 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17906 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17907 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17908 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17909 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17910 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17911 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17912 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17913 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17914 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17915 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17916 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17917 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17918 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17919 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17920 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
17921 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
17922 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17923 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17924 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
17925 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
17926 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17927 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17928 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17929 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17930 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17931 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17932 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17933 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17934 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17935 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17936 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17937 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
17938 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17939 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17940 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17941 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17942 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17943 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17944 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17945 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
17946 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17947 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17948 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17949 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17950 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17951 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17952 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
17953 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
17954 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17955 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17956 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
17957 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17958 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17959 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
17960 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
17961 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17962 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
17963 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
17964 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17965 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
17966 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
17967 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
17968 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
17969 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
17970 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
17971 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
17972 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
17973 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
17974 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
17975 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
17976 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
17977 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
17978 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
17979 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
17980 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
17981 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
17982 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
17983 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
17984 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17985 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17986 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
17987 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17988 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17989 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
17990 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
17991 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
17992 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17993 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
17994 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17995 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
17996 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
17997 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
17998 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
17999 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18000 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18001 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18002 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18003 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18004 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18005 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18006 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18007 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18008 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18009 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18010 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18011 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18012 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18013 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18014 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18015 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18016 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18017 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18018 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18019 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18020 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18021 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18022 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18023 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18024 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18025 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18026 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18027 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18028 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18029 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18030 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18031 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18032 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18033 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18034 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18035 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18036 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18037 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18038 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18039 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18040 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18041 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18042 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18043 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18044 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18045 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18046 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18047 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18048 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18049 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18050 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18051 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18052 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18053 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18054 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18055 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18056 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18057 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18058 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18059 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18060 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18061 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18062 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18063 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18064 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18065 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18066 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18067 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18068 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18069 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18070 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18071 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18072 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18073 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18074 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18075 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18076 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18077 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18078 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18079 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18080 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18081 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18082 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18083 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18084 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18085 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18086 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18087 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18088 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18089 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18090 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18091 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18092 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18093 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18094 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18095 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18096 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18097 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18098 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18099 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18100 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18101 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18102 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18103 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18104 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18105 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18106 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18107 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18108 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18109 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18110 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18111 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18112 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18113 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18114 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18115 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18116 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18117 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18118 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18119 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18120 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18121 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18122 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18123 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18124 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18125 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18126 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18127 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18128 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18129 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18130 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18131 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18132 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18133 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18134 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18135 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18136 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18137 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18138 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18139 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18140 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18141 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18142 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18143 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18144 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18145 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18146 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18147 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18148 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18149 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18150 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18151 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18152 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18153 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18154 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18155 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18156 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18157 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18158 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18159 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18160 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18161 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18162 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18163 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18164 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18165 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18166 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18167 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18168 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18169 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18170 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18171 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18172 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18173 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18174 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18177 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18178 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18179 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18180 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18181 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18182 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18184 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18185 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18186 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18191 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18195 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18196 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18197 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18198 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18201 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18202 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18203 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18206 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18208 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18210 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18211 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18213 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18215 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18217 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18221 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18229 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18231 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18234 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18235 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18242 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18263 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18267 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18268 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18269 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18272 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18274 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18279 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18281 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18283 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18285 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18287 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18293 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18295 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18297 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18299 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18311 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18316 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18321 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18328 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18333 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18352 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18354 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18355 return (void *)((wxWindow
*) ((wxControl
*) x
));
18357 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18358 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18360 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18361 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18363 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18364 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18366 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18367 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18369 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18370 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18372 static void *_p_wxPenTo_p_wxObject(void *x
) {
18373 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18375 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18376 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18378 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18379 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18381 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18382 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18384 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18385 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18387 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18390 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18391 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18393 static void *_p_wxIconTo_p_wxObject(void *x
) {
18394 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18396 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18397 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18399 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18400 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18402 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18403 return (void *)((wxObject
*) ((wxSizer
*) x
));
18405 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18406 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18408 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18411 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18412 return (void *)((wxObject
*) ((wxPenList
*) x
));
18414 static void *_p_wxEventTo_p_wxObject(void *x
) {
18415 return (void *)((wxObject
*) ((wxEvent
*) x
));
18417 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18418 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18420 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18421 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18423 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18424 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18426 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18427 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18429 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18430 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18432 static void *_p_wxDCTo_p_wxObject(void *x
) {
18433 return (void *)((wxObject
*) ((wxDC
*) x
));
18435 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18436 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18438 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18439 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18441 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18442 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18444 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18445 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18447 static void *_p_wxControlTo_p_wxObject(void *x
) {
18448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18450 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18451 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18453 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18454 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18456 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18457 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18459 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18460 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18462 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18463 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18465 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18466 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18468 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18469 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18471 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18472 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18474 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18475 return (void *)((wxObject
*) ((wxEffects
*) x
));
18477 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18478 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18480 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18483 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18484 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18486 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18487 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18489 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18490 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18492 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18493 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18495 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18496 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18498 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18499 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18501 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18502 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18504 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18505 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18507 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18508 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18510 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18511 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18513 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18514 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18516 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18517 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18519 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18520 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18522 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18525 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18528 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18531 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18534 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18535 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18537 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18538 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18540 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18541 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18543 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18546 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18547 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18549 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18552 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18553 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18555 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18556 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18558 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18559 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18561 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18562 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18564 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18565 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18567 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18568 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18570 static void *_p_wxImageTo_p_wxObject(void *x
) {
18571 return (void *)((wxObject
*) ((wxImage
*) x
));
18573 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18574 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18576 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18577 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18579 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18580 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18582 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18583 return (void *)((wxObject
*) ((wxImageList
*) x
));
18585 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18586 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18588 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18589 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18591 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18592 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18594 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18597 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18598 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18600 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18601 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18603 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18604 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18606 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18607 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18609 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18612 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18613 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18615 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18616 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18618 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18619 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18621 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18622 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18624 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18625 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18627 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18628 return (void *)((wxObject
*) ((wxMask
*) x
));
18630 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18633 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18634 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18636 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18637 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18639 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18640 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18642 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18643 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18645 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18646 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18648 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18651 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18652 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18654 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18655 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18657 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18658 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18660 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18661 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18663 static void *_p_wxFontTo_p_wxObject(void *x
) {
18664 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18666 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18667 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18669 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18670 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18672 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18675 static void *_p_wxColourTo_p_wxObject(void *x
) {
18676 return (void *)((wxObject
*) ((wxColour
*) x
));
18678 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18679 return (void *)((wxObject
*) ((wxFontList
*) x
));
18681 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18684 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18685 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18687 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18688 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18690 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18691 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18693 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18694 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18696 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18697 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18699 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18700 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18702 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18703 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18705 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18706 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18708 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18709 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18711 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18712 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18714 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18715 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18717 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18718 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18720 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18721 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18723 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18724 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18726 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18727 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18729 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18730 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18732 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18733 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18735 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18736 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18738 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18739 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18741 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18742 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18744 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18745 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18747 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18748 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18750 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18751 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18753 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}};
18754 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}};
18755 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}};
18756 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}};
18757 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}};
18758 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}};
18759 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}};
18760 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}};
18761 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}};
18762 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}};
18763 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}};
18764 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}};
18765 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}};
18766 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}};
18767 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}};
18768 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}};
18769 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}};
18770 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}};
18771 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}};
18772 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}};
18773 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}};
18774 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}};
18775 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}};
18776 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}};
18777 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}};
18778 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}};
18779 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}};
18780 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}};
18781 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}};
18782 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}};
18783 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}};
18784 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}};
18785 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}};
18786 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}};
18787 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}};
18788 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}};
18789 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}};
18790 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}};
18791 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}};
18792 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}};
18793 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}};
18794 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}};
18795 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}};
18796 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}};
18797 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}};
18798 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}};
18799 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}};
18800 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}};
18801 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}};
18802 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}};
18803 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}};
18804 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}};
18805 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}};
18806 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}};
18807 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}};
18808 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}};
18810 static swig_type_info
*swig_types_initial
[] = {
18811 _swigt__p_wxPostScriptDC
,
18813 _swigt__p_wxColour
,
18815 _swigt__p_wxMirrorDC
,
18817 _swigt__p_wxPyFontEnumerator
,
18819 _swigt__p_wxIconLocation
,
18821 _swigt__p_wxMetaFileDC
,
18824 _swigt__p_wxWindow
,
18827 _swigt__p_wxMemoryDC
,
18828 _swigt__p_wxFontMapper
,
18829 _swigt__p_wxEffects
,
18830 _swigt__p_wxNativeEncodingInfo
,
18831 _swigt__p_wxPalette
,
18832 _swigt__p_wxBitmap
,
18833 _swigt__p_wxObject
,
18834 _swigt__p_wxRegionIterator
,
18836 _swigt__p_wxString
,
18837 _swigt__p_wxPrinterDC
,
18838 _swigt__p_wxIconBundle
,
18841 _swigt__p_wxScreenDC
,
18842 _swigt__p_wxCursor
,
18843 _swigt__p_wxClientDC
,
18844 _swigt__p_wxBufferedDC
,
18845 _swigt__p_wxImageList
,
18846 _swigt__p_unsigned_char
,
18847 _swigt__p_wxGDIObject
,
18849 _swigt__p_wxLocale
,
18850 _swigt__p_wxRegion
,
18851 _swigt__p_wxLanguageInfo
,
18852 _swigt__p_wxConfigBase
,
18853 _swigt__p_wxWindowDC
,
18854 _swigt__p_wxPrintData
,
18855 _swigt__p_wxBrushList
,
18856 _swigt__p_wxFontList
,
18858 _swigt__p_wxBufferedPaintDC
,
18859 _swigt__p_wxPaintDC
,
18860 _swigt__p_wxPenList
,
18863 _swigt__p_wxMetaFile
,
18864 _swigt__p_wxNativeFontInfo
,
18865 _swigt__p_wxEncodingConverter
,
18866 _swigt__p_wxColourDatabase
,
18871 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18873 static swig_const_info swig_const_table
[] = {
18883 SWIGEXPORT(void) SWIG_init(void) {
18884 static PyObject
*SWIG_globals
= 0;
18885 static int typeinit
= 0;
18888 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18889 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18890 d
= PyModule_GetDict(m
);
18893 for (i
= 0; swig_types_initial
[i
]; i
++) {
18894 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18898 SWIG_InstallConstants(d
,swig_const_table
);
18900 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
18901 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
18902 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
18903 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
18904 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18905 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
18906 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
18907 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
18908 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
18909 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
18910 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
18911 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18912 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
18913 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
18914 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
18915 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
18916 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
18917 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
18918 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
18919 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
18920 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
18921 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
18922 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
18923 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
18924 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
18925 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
18926 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
18927 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
18928 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
18929 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
18930 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
18931 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
18932 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
18933 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
18934 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
18935 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
18936 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
18937 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
18938 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
18939 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
18940 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
18941 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
18942 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
18943 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
18944 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
18945 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
18946 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
18947 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
18948 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
18949 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
18950 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
18951 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
18952 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
18953 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
18954 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
18955 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
18956 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
18957 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
18958 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
18959 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
18960 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
18961 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
18962 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
18963 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
18964 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
18965 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
18966 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
18967 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
18968 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
18969 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
18970 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
18971 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
18972 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
18973 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
18974 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
18975 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
18976 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
18977 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
18978 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
18979 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
18980 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
18981 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
18982 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
18983 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
18984 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
18985 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
18986 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
18987 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
18988 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
18989 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
18990 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
18991 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
18992 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
18993 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
18994 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
18995 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
18996 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
18997 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
18998 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
18999 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19000 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19001 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19002 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19003 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19004 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19005 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19006 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19007 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19008 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19009 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19010 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19011 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19012 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19013 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19014 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19015 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19016 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19017 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19018 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19019 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19020 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19021 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19022 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19023 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19024 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19025 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19027 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19029 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19030 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19031 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19032 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19033 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19034 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19035 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19036 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19037 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19038 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19039 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19040 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19041 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19042 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19043 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19044 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19045 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19046 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19047 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19048 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19049 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19050 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19051 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19052 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19053 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19054 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19055 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19056 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19057 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19058 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19059 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19060 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19061 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19062 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19063 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19064 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19065 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19066 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19067 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19068 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19069 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19070 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19071 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19072 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19073 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19074 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19075 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19076 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19077 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19078 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19079 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19080 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19081 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19082 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19083 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19084 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19085 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19086 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19087 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19088 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19089 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19090 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19091 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19092 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19093 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19094 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19095 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19096 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19097 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19098 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19099 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19100 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19101 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19102 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19103 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19104 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19105 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19106 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19107 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19108 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19109 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19110 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19111 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19112 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19113 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19114 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19115 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19116 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19117 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19118 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19119 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19120 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19121 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19122 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19123 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19124 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19125 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19126 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19127 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19128 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19129 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19130 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19131 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19132 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19133 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19134 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19135 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19136 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19137 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19138 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19139 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19140 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19141 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19142 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19143 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19144 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19145 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19146 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19147 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19148 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19149 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19150 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19151 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19152 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19153 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19154 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19155 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19156 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19157 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19158 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19159 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19160 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19161 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19162 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19163 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19164 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19165 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19166 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19167 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19168 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19169 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19170 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19171 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19172 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19173 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19174 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19175 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19176 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19177 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19178 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19179 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19180 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19181 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19182 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19183 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19184 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19185 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19186 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19187 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19188 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19189 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19190 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19191 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19192 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19193 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19194 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19195 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19196 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19197 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19198 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19199 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19200 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19201 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19202 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19203 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19204 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19205 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19206 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19207 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19208 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19209 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19210 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19211 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19212 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19213 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19214 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19215 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19216 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19217 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19218 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19219 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19220 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19221 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19222 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19223 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19224 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19225 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19226 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19227 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19228 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19229 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19230 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19231 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19232 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19233 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19234 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19235 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19236 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19237 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19238 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19239 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19240 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19241 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19242 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19243 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19244 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19245 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19246 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19247 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19248 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19249 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19250 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19251 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19252 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19253 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19254 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19255 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19256 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19257 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19258 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19259 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19260 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19261 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19262 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19263 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19264 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19265 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19266 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19267 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19268 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19269 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19270 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19271 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19272 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19273 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19274 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19275 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19276 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19277 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19278 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19279 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19280 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19281 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19282 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19283 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19284 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19285 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19286 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19287 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19288 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19289 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19290 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19291 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19292 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19293 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19294 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19295 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19296 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19297 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19298 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19299 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19300 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19301 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19302 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19303 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19304 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19305 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19306 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19307 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19308 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19309 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19310 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19311 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19312 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19313 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19314 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19315 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19316 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19317 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19318 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19319 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19320 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19321 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19322 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19323 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19324 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19325 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19326 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19327 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19328 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19330 // Work around a chicken/egg problem in drawlist.cpp
19331 wxPyDrawList_SetAPIPtr();