1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_int swig_types[50]
260 #define SWIGTYPE_p_wxMetaFile swig_types[51]
261 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
262 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
263 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
264 static swig_type_info
*swig_types
[56];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_gdi_
274 #define SWIG_name "_gdi_"
276 /* Auxiliar swig macros */
279 #define SWIGSTATICINLINE(a) static inline a
280 #define SWIGSTATIC(a) static a
281 #define swig_new_array(type, size) (new type[(size)])
282 #define swig_delete_array(cptr) delete[] cptr
283 #define swig_const_cast(type,a) const_cast<type>(a)
284 #define swig_static_cast(type,a) static_cast<type>(a)
285 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
287 #ifdef HAVE_NUMERIC_CAST
288 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
290 #define swig_numeric_cast(type,a) static_cast<type>(a)
295 #define SWIGSTATICINLINE(a) static a
296 #define SWIGSTATIC(a) static a
297 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
298 #define swig_delete_array(cptr) free((char*)cptr)
299 #define swig_const_cast(type,a) (type)(a)
300 #define swig_static_cast(type,a) (type)(a)
301 #define swig_reinterpret_cast(type,a) (type)(a)
302 #define swig_numeric_cast(type,a) (type)(a)
304 #endif /* __cplusplus */
307 #define SWIG_FromSignedChar PyInt_FromLong
308 #define SWIG_FromUnsignedChar PyInt_FromLong
309 #define SWIG_FromShort PyInt_FromLong
310 #define SWIG_FromUnsignedShort PyInt_FromLong
311 #define SWIG_FromInt PyInt_FromLong
312 #define SWIG_FromLong PyInt_FromLong
313 #define SWIG_FromFloat PyFloat_FromDouble
314 #define SWIG_FromDouble PyFloat_FromDouble
315 #define SWIG_FromFloat PyFloat_FromDouble
316 #define SWIG_FromDouble PyFloat_FromDouble
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
323 static const wxString
wxPyEmptyString(wxEmptyString
);
325 SWIGSTATICINLINE(bool)
326 SWIG_AsBool(PyObject
*obj
)
328 return PyObject_IsTrue(obj
) ? true : false;
332 SWIGSTATICINLINE(int)
333 SWIG_CheckBool(PyObject
* obj
)
336 if (PyErr_Occurred()) {
348 SWIGSTATICINLINE(unsigned long)
349 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
350 unsigned long max_value
)
352 if (!PyErr_Occurred()) {
353 if (value
> max_value
) {
355 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
356 value
, type
, max_value
);
357 PyErr_SetObject(PyExc_OverflowError
, err
);
365 SWIGSTATICINLINE(long)
366 SWIG_AsLong(PyObject
* obj
)
368 if (PyNumber_Check(obj
))
369 return PyInt_AsLong(obj
);
371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
372 obj
->ob_type
->tp_name
);
373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
380 SWIGSTATICINLINE(unsigned long)
381 SWIG_AsUnsignedLong(PyObject
* obj
)
383 if (PyLong_Check(obj
)) {
384 return PyLong_AsUnsignedLong(obj
);
386 long i
= SWIG_AsLong(obj
);
387 if ( !PyErr_Occurred() && (i
< 0)) {
388 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
395 SWIGSTATICINLINE(unsigned char)
396 SWIG_AsUnsignedChar(PyObject
*obj
)
398 return swig_numeric_cast(unsigned char,
399 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
400 "unsigned char", UCHAR_MAX
));
404 SWIGSTATICINLINE(int)
405 SWIG_CheckUnsignedChar(PyObject
* obj
)
407 SWIG_AsUnsignedChar(obj
);
408 if (PyErr_Occurred()) {
417 SWIGSTATICINLINE(int)
418 SWIG_CheckUnsignedLong(PyObject
* obj
)
420 SWIG_AsUnsignedLong(obj
);
421 if (PyErr_Occurred()) {
429 PyObject
*wxColour_Get(wxColour
*self
){
430 PyObject
* rv
= PyTuple_New(3);
436 green
= self
->Green();
439 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
440 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
441 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
444 unsigned long wxColour_GetRGB(wxColour
*self
){
445 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
448 SWIGSTATICINLINE(PyObject
* )
449 SWIG_FromUnsignedLong(unsigned long value
)
451 return (value
> LONG_MAX
) ?
452 PyLong_FromUnsignedLong(value
)
453 : PyInt_FromLong(swig_numeric_cast(long,value
));
457 SWIGSTATICINLINE(long)
458 SWIG_CheckLongInRange(long value
, const char* type
,
459 long min_value
, long max_value
)
461 if (!PyErr_Occurred()) {
462 if (value
< min_value
) {
464 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
465 value
, type
, min_value
);
467 PyErr_SetObject(PyExc_OverflowError
, err
);
469 } else if (value
> max_value
) {
471 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
472 value
, type
, max_value
);
473 PyErr_SetObject(PyExc_OverflowError
, err
);
481 #if INT_MAX != LONG_MAX
482 SWIGSTATICINLINE(int)
483 SWIG_AsInt(PyObject
*obj
)
485 return swig_numeric_cast(int,
486 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
487 "int", INT_MIN
, INT_MAX
));
490 #define SWIG_AsInt SWIG_AsLong
494 SWIGSTATICINLINE(int)
495 SWIG_CheckInt(PyObject
* obj
)
498 if (PyErr_Occurred()) {
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
533 PyObject
*wxPen_GetDashes(wxPen
*self
){
535 int count
= self
->GetDashes(&dashes
);
536 bool blocked
= wxPyBeginBlockThreads();
537 PyObject
* retval
= PyList_New(0);
538 for (int x
=0; x
<count
; x
++) {
539 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
540 PyList_Append(retval
, pyint
);
543 wxPyEndBlockThreads(blocked
);
546 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
547 bool blocked
= wxPyBeginBlockThreads();
548 int size
= PyList_Size(pyDashes
);
549 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
551 // black magic warning! The array of wxDashes needs to exist as
552 // long as the pen does because wxPen does not copy the array. So
553 // stick a copy in a Python string object and attach it to _self,
554 // and then call SetDashes with a pointer to that array. Then
555 // when the Python pen object is destroyed the array will be
557 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
558 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
560 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
562 Py_DECREF(strDashes
);
563 wxPyEndBlockThreads(blocked
);
565 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
566 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
568 SWIGSTATICINLINE(short)
569 SWIG_AsShort(PyObject
*obj
)
571 return swig_numeric_cast(short,
572 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
573 "short", SHRT_MIN
, SHRT_MAX
));
577 SWIGSTATICINLINE(int)
578 SWIG_CheckShort(PyObject
* obj
)
581 if (PyErr_Occurred()) {
590 #include <wx/image.h>
592 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
593 char** cArray
= NULL
;
596 if (!PyList_Check(listOfStrings
)) {
597 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
600 count
= PyList_Size(listOfStrings
);
601 cArray
= new char*[count
];
603 for(int x
=0; x
<count
; x
++) {
604 // TODO: Need some validation and error checking here
605 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
611 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
612 char** cArray
= NULL
;
615 cArray
= ConvertListOfStrings(listOfStrings
);
618 bmp
= new wxBitmap(cArray
);
622 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
625 PyString_AsStringAndSize(bits
, &buf
, &length
);
626 return new wxBitmap(buf
, width
, height
, depth
);
628 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
629 wxSize
size(self
->GetWidth(), self
->GetHeight());
632 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
633 wxMask
*mask
= new wxMask(*self
, colour
);
636 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
637 self
->SetWidth(size
.x
);
638 self
->SetHeight(size
.y
);
640 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
641 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
642 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
644 return new wxMask(bitmap
, *wxBLACK
);
646 return new wxMask(bitmap
, colour
);
649 #include <wx/iconbndl.h>
651 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
652 wxIcon
* icon
= new wxIcon();
653 icon
->CopyFromBitmap(bmp
);
656 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
657 char** cArray
= NULL
;
660 cArray
= ConvertListOfStrings(listOfStrings
);
663 icon
= new wxIcon(cArray
);
667 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
671 return new wxIconLocation(*filename
);
674 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
681 int wxIconLocation_GetIndex(wxIconLocation
*self
){
689 SWIGSTATICINLINE(int)
690 SWIG_CheckLong(PyObject
* obj
)
693 if (PyErr_Occurred()) {
701 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
703 wxCHECK_MSG(False
, NULL
,
704 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
706 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
711 void wxRegionIterator_Next(wxRegionIterator
*self
){
714 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
715 return self
->operator bool();
718 #include <wx/fontutil.h>
719 #include <wx/fontmap.h>
720 #include <wx/fontenum.h>
722 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
723 return self
->ToString();
726 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
727 static wxNativeEncodingInfo info
;
728 if ( wxGetNativeFontEncoding(encoding
, &info
) )
734 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
735 wxFontEncoding alt_enc
;
736 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
737 return PyInt_FromLong(alt_enc
);
743 wxFont
*new_wxFont(wxString
const &info
){
744 wxNativeFontInfo nfi
;
745 nfi
.FromString(info
);
746 return new wxFont(nfi
);
748 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
749 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
751 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
752 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
754 class wxPyFontEnumerator
: public wxFontEnumerator
{
756 wxPyFontEnumerator() {}
757 ~wxPyFontEnumerator() {}
759 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
760 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
765 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
766 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
769 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
770 wxArrayString
* arr
= self
->GetEncodings();
772 return wxArrayString2PyList_helper(*arr
);
774 return PyList_New(0);
776 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
777 wxArrayString
* arr
= self
->GetFacenames();
779 return wxArrayString2PyList_helper(*arr
);
781 return PyList_New(0);
785 wxLocale
*new_wxLocale(int language
,int flags
){
787 return new wxLocale();
789 return new wxLocale(language
, flags
);
792 #include "wx/wxPython/pydrawxxx.h"
794 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
796 self
->GetPixel(x
, y
, &col
);
799 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
801 self
->GetPixel(pt
, &col
);
805 SWIGSTATICINLINE(double)
806 SWIG_AsDouble(PyObject
*obj
)
808 if (PyNumber_Check(obj
))
809 return PyFloat_AsDouble(obj
);
811 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
812 obj
->ob_type
->tp_name
);
813 PyErr_SetObject(PyExc_TypeError
, errmsg
);
820 SWIGSTATICINLINE(int)
821 SWIG_CheckDouble(PyObject
* obj
)
824 if (PyErr_Occurred()) {
832 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
834 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
837 wxRect
wxDC_GetClippingRect(wxDC
*self
){
839 self
->GetClippingBox(rect
);
842 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
844 self
->GetPartialTextExtents(text
, widths
);
847 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
848 self
->SetLogicalOrigin(point
.x
, point
.y
);
850 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
851 self
->SetDeviceOrigin(point
.x
, point
.y
);
853 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
854 self
->CalcBoundingBox(point
.x
, point
.y
);
856 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
857 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
859 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
860 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
862 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
863 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
865 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
866 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
868 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
869 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
871 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
872 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
875 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
883 #include <wx/dcbuffer.h>
889 #include <wx/metafile.h>
893 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
894 self
->AddColour(name
, wxColour(red
, green
, blue
));
897 #include <wx/effects.h>
902 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
911 if (!wxPyCheckForApp()) SWIG_fail
;
912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
913 result
= (wxGDIObject
*)new wxGDIObject();
915 wxPyEndAllowThreads(__tstate
);
916 if (PyErr_Occurred()) SWIG_fail
;
918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
925 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
928 PyObject
* obj0
= 0 ;
930 (char *) "self", NULL
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) SWIG_fail
;
943 Py_INCREF(Py_None
); resultobj
= Py_None
;
950 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
954 PyObject
* obj0
= 0 ;
956 (char *) "self", NULL
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 result
= (bool)(arg1
)->GetVisible();
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) SWIG_fail
;
970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
978 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
982 PyObject
* obj0
= 0 ;
983 PyObject
* obj1
= 0 ;
985 (char *) "self",(char *) "visible", NULL
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
991 arg2
= (bool) SWIG_AsBool(obj1
);
992 if (PyErr_Occurred()) SWIG_fail
;
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 (arg1
)->SetVisible(arg2
);
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) SWIG_fail
;
1000 Py_INCREF(Py_None
); resultobj
= Py_None
;
1007 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
*resultobj
;
1009 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1011 PyObject
* obj0
= 0 ;
1013 (char *) "self", NULL
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1021 result
= (bool)(arg1
)->IsNull();
1023 wxPyEndAllowThreads(__tstate
);
1024 if (PyErr_Occurred()) SWIG_fail
;
1027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1035 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1038 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1040 return Py_BuildValue((char *)"");
1042 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
*resultobj
;
1044 byte arg1
= (byte
) 0 ;
1045 byte arg2
= (byte
) 0 ;
1046 byte arg3
= (byte
) 0 ;
1048 PyObject
* obj0
= 0 ;
1049 PyObject
* obj1
= 0 ;
1050 PyObject
* obj2
= 0 ;
1052 (char *) "red",(char *) "green",(char *) "blue", NULL
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1057 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1061 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1062 if (PyErr_Occurred()) SWIG_fail
;
1065 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1066 if (PyErr_Occurred()) SWIG_fail
;
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1070 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) SWIG_fail
;
1075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1082 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
*resultobj
;
1084 wxString
*arg1
= 0 ;
1086 bool temp1
= False
;
1087 PyObject
* obj0
= 0 ;
1089 (char *) "colorName", NULL
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1094 arg1
= wxString_in_helper(obj0
);
1095 if (arg1
== NULL
) SWIG_fail
;
1099 if (!wxPyCheckForApp()) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1121 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
*resultobj
;
1123 unsigned long arg1
;
1125 PyObject
* obj0
= 0 ;
1127 (char *) "colRGB", NULL
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1131 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1132 if (PyErr_Occurred()) SWIG_fail
;
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 result
= (wxColour
*)new wxColour(arg1
);
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) SWIG_fail
;
1140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1147 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
*resultobj
;
1149 wxColour
*arg1
= (wxColour
*) 0 ;
1150 PyObject
* obj0
= 0 ;
1152 (char *) "self", NULL
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1165 Py_INCREF(Py_None
); resultobj
= Py_None
;
1172 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxColour
*arg1
= (wxColour
*) 0 ;
1176 PyObject
* obj0
= 0 ;
1178 (char *) "self", NULL
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1186 result
= (byte
)(arg1
)->Red();
1188 wxPyEndAllowThreads(__tstate
);
1189 if (PyErr_Occurred()) SWIG_fail
;
1191 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1198 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
*resultobj
;
1200 wxColour
*arg1
= (wxColour
*) 0 ;
1202 PyObject
* obj0
= 0 ;
1204 (char *) "self", NULL
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 result
= (byte
)(arg1
)->Green();
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1217 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1224 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
*resultobj
;
1226 wxColour
*arg1
= (wxColour
*) 0 ;
1228 PyObject
* obj0
= 0 ;
1230 (char *) "self", NULL
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 result
= (byte
)(arg1
)->Blue();
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1243 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1250 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
*resultobj
;
1252 wxColour
*arg1
= (wxColour
*) 0 ;
1254 PyObject
* obj0
= 0 ;
1256 (char *) "self", NULL
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 result
= (bool)(arg1
)->Ok();
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) SWIG_fail
;
1270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1278 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxColour
*arg1
= (wxColour
*) 0 ;
1284 PyObject
* obj0
= 0 ;
1285 PyObject
* obj1
= 0 ;
1286 PyObject
* obj2
= 0 ;
1287 PyObject
* obj3
= 0 ;
1289 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1295 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1296 if (PyErr_Occurred()) SWIG_fail
;
1297 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1299 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 (arg1
)->Set(arg2
,arg3
,arg4
);
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 Py_INCREF(Py_None
); resultobj
= Py_None
;
1315 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
*resultobj
;
1317 wxColour
*arg1
= (wxColour
*) 0 ;
1318 unsigned long arg2
;
1319 PyObject
* obj0
= 0 ;
1320 PyObject
* obj1
= 0 ;
1322 (char *) "self",(char *) "colRGB", NULL
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1328 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1329 if (PyErr_Occurred()) SWIG_fail
;
1331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 wxPyEndAllowThreads(__tstate
);
1335 if (PyErr_Occurred()) SWIG_fail
;
1337 Py_INCREF(Py_None
); resultobj
= Py_None
;
1344 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
*resultobj
;
1346 wxColour
*arg1
= (wxColour
*) 0 ;
1347 wxString
*arg2
= 0 ;
1348 bool temp2
= False
;
1349 PyObject
* obj0
= 0 ;
1350 PyObject
* obj1
= 0 ;
1352 (char *) "self",(char *) "colourName", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1359 arg2
= wxString_in_helper(obj1
);
1360 if (arg2
== NULL
) SWIG_fail
;
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 (arg1
)->InitFromName((wxString
const &)*arg2
);
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1370 Py_INCREF(Py_None
); resultobj
= Py_None
;
1385 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
*resultobj
;
1387 wxColour
*arg1
= (wxColour
*) 0 ;
1389 PyObject
* obj0
= 0 ;
1391 (char *) "self", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) SWIG_fail
;
1404 resultobj
= SWIG_FromLong((long)result
);
1411 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
*resultobj
;
1413 wxColour
*arg1
= (wxColour
*) 0 ;
1414 wxColour
*arg2
= 0 ;
1417 PyObject
* obj0
= 0 ;
1418 PyObject
* obj1
= 0 ;
1420 (char *) "self",(char *) "colour", NULL
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1428 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1446 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1448 wxColour
*arg1
= (wxColour
*) 0 ;
1449 wxColour
*arg2
= 0 ;
1452 PyObject
* obj0
= 0 ;
1453 PyObject
* obj1
= 0 ;
1455 (char *) "self",(char *) "colour", NULL
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1463 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1481 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
*resultobj
;
1483 wxColour
*arg1
= (wxColour
*) 0 ;
1485 PyObject
* obj0
= 0 ;
1487 (char *) "self", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 result
= (PyObject
*)wxColour_Get(arg1
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1507 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
*resultobj
;
1509 wxColour
*arg1
= (wxColour
*) 0 ;
1510 unsigned long result
;
1511 PyObject
* obj0
= 0 ;
1513 (char *) "self", NULL
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 result
= (unsigned long)wxColour_GetRGB(arg1
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1526 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1533 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1536 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1538 return Py_BuildValue((char *)"");
1540 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
*resultobj
;
1543 unsigned char *arg2
= (unsigned char *) 0 ;
1544 unsigned char *arg3
= (unsigned char *) 0 ;
1545 unsigned char *arg4
= (unsigned char *) 0 ;
1547 PyObject
* obj0
= 0 ;
1548 PyObject
* obj1
= 0 ;
1549 PyObject
* obj2
= 0 ;
1550 PyObject
* obj3
= 0 ;
1552 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1556 arg1
= (int) SWIG_AsInt(obj0
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1560 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1562 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1565 if (!wxPyCheckForApp()) SWIG_fail
;
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1579 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
*resultobj
;
1581 wxPalette
*arg1
= (wxPalette
*) 0 ;
1582 PyObject
* obj0
= 0 ;
1584 (char *) "self", NULL
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 Py_INCREF(Py_None
); resultobj
= Py_None
;
1604 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
*resultobj
;
1606 wxPalette
*arg1
= (wxPalette
*) 0 ;
1611 PyObject
* obj0
= 0 ;
1612 PyObject
* obj1
= 0 ;
1613 PyObject
* obj2
= 0 ;
1614 PyObject
* obj3
= 0 ;
1616 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1622 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1624 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1626 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1635 resultobj
= SWIG_FromInt((int)result
);
1642 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
*resultobj
;
1644 wxPalette
*arg1
= (wxPalette
*) 0 ;
1646 byte
*arg3
= (byte
*) 0 ;
1647 byte
*arg4
= (byte
*) 0 ;
1648 byte
*arg5
= (byte
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1654 PyObject
* obj1
= 0 ;
1656 (char *) "self",(char *) "pixel", NULL
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1665 arg2
= (int) SWIG_AsInt(obj1
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1678 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1679 resultobj
= t_output_helper(resultobj
,o
);
1682 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1683 resultobj
= t_output_helper(resultobj
,o
);
1686 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1687 resultobj
= t_output_helper(resultobj
,o
);
1695 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxPalette
*arg1
= (wxPalette
*) 0 ;
1699 PyObject
* obj0
= 0 ;
1701 (char *) "self", NULL
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 result
= (bool)(arg1
)->Ok();
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1723 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1726 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1728 return Py_BuildValue((char *)"");
1730 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
*resultobj
;
1732 wxColour
*arg1
= 0 ;
1733 int arg2
= (int) 1 ;
1734 int arg3
= (int) wxSOLID
;
1737 PyObject
* obj0
= 0 ;
1738 PyObject
* obj1
= 0 ;
1739 PyObject
* obj2
= 0 ;
1741 (char *) "colour",(char *) "width",(char *) "style", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1747 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1750 arg2
= (int) SWIG_AsInt(obj1
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1754 arg3
= (int) SWIG_AsInt(obj2
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1758 if (!wxPyCheckForApp()) SWIG_fail
;
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1772 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1774 wxPen
*arg1
= (wxPen
*) 0 ;
1775 PyObject
* obj0
= 0 ;
1777 (char *) "self", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 Py_INCREF(Py_None
); resultobj
= Py_None
;
1797 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxPen
*arg1
= (wxPen
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1803 (char *) "self", NULL
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 result
= (int)(arg1
)->GetCap();
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 resultobj
= SWIG_FromInt((int)result
);
1823 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxPen
*arg1
= (wxPen
*) 0 ;
1827 PyObject
* obj0
= 0 ;
1829 (char *) "self", NULL
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 result
= (arg1
)->GetColour();
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1843 wxColour
* resultptr
;
1844 resultptr
= new wxColour((wxColour
&) result
);
1845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1853 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
*resultobj
;
1855 wxPen
*arg1
= (wxPen
*) 0 ;
1857 PyObject
* obj0
= 0 ;
1859 (char *) "self", NULL
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 result
= (int)(arg1
)->GetJoin();
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) SWIG_fail
;
1872 resultobj
= SWIG_FromInt((int)result
);
1879 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
*resultobj
;
1881 wxPen
*arg1
= (wxPen
*) 0 ;
1883 PyObject
* obj0
= 0 ;
1885 (char *) "self", NULL
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 result
= (int)(arg1
)->GetStyle();
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 resultobj
= SWIG_FromInt((int)result
);
1905 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1907 wxPen
*arg1
= (wxPen
*) 0 ;
1909 PyObject
* obj0
= 0 ;
1911 (char *) "self", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 result
= (int)(arg1
)->GetWidth();
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 resultobj
= SWIG_FromInt((int)result
);
1931 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxPen
*arg1
= (wxPen
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1937 (char *) "self", NULL
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 result
= (bool)(arg1
)->Ok();
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1959 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxPen
*arg1
= (wxPen
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1964 PyObject
* obj1
= 0 ;
1966 (char *) "self",(char *) "cap_style", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1972 arg2
= (int) SWIG_AsInt(obj1
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 (arg1
)->SetCap(arg2
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 Py_INCREF(Py_None
); resultobj
= Py_None
;
1988 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxPen
*arg1
= (wxPen
*) 0 ;
1991 wxColour
*arg2
= 0 ;
1993 PyObject
* obj0
= 0 ;
1994 PyObject
* obj1
= 0 ;
1996 (char *) "self",(char *) "colour", NULL
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 (arg1
)->SetColour(*arg2
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 Py_INCREF(Py_None
); resultobj
= Py_None
;
2020 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxPen
*arg1
= (wxPen
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2025 PyObject
* obj1
= 0 ;
2027 (char *) "self",(char *) "join_style", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 arg2
= (int) SWIG_AsInt(obj1
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 (arg1
)->SetJoin(arg2
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 Py_INCREF(Py_None
); resultobj
= Py_None
;
2049 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxPen
*arg1
= (wxPen
*) 0 ;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj1
= 0 ;
2056 (char *) "self",(char *) "style", NULL
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2062 arg2
= (int) SWIG_AsInt(obj1
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 (arg1
)->SetStyle(arg2
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 Py_INCREF(Py_None
); resultobj
= Py_None
;
2078 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
*resultobj
;
2080 wxPen
*arg1
= (wxPen
*) 0 ;
2082 PyObject
* obj0
= 0 ;
2083 PyObject
* obj1
= 0 ;
2085 (char *) "self",(char *) "width", NULL
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2091 arg2
= (int) SWIG_AsInt(obj1
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 (arg1
)->SetWidth(arg2
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2100 Py_INCREF(Py_None
); resultobj
= Py_None
;
2107 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2109 wxPen
*arg1
= (wxPen
*) 0 ;
2111 wxDash
*arg3
= (wxDash
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2115 (char *) "self",(char *) "dashes", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2122 arg2
= PyList_Size(obj1
);
2123 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2124 if (arg3
== NULL
) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 (arg1
)->SetDashes(arg2
,arg3
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 Py_INCREF(Py_None
); resultobj
= Py_None
;
2135 if (arg3
) delete [] arg3
;
2140 if (arg3
) delete [] arg3
;
2146 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2148 wxPen
*arg1
= (wxPen
*) 0 ;
2150 PyObject
* obj0
= 0 ;
2152 (char *) "self", NULL
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2172 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
*resultobj
;
2174 wxPen
*arg1
= (wxPen
*) 0 ;
2175 PyObject
*arg2
= (PyObject
*) 0 ;
2176 PyObject
*arg3
= (PyObject
*) 0 ;
2177 PyObject
* obj0
= 0 ;
2178 PyObject
* obj1
= 0 ;
2179 PyObject
* obj2
= 0 ;
2181 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxPen__SetDashes(arg1
,arg2
,arg3
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2196 Py_INCREF(Py_None
); resultobj
= Py_None
;
2203 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
*resultobj
;
2205 wxPen
*arg1
= (wxPen
*) 0 ;
2206 wxPen
*arg2
= (wxPen
*) 0 ;
2208 PyObject
* obj0
= 0 ;
2209 PyObject
* obj1
= 0 ;
2211 (char *) "self",(char *) "other", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2235 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxPen
*arg1
= (wxPen
*) 0 ;
2238 wxPen
*arg2
= (wxPen
*) 0 ;
2240 PyObject
* obj0
= 0 ;
2241 PyObject
* obj1
= 0 ;
2243 (char *) "self",(char *) "other", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2267 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2270 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2272 return Py_BuildValue((char *)"");
2274 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxColour
*arg1
= 0 ;
2277 int arg2
= (int) wxSOLID
;
2280 PyObject
* obj0
= 0 ;
2281 PyObject
* obj1
= 0 ;
2283 (char *) "colour",(char *) "style", NULL
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2289 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2292 arg2
= (int) SWIG_AsInt(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2296 if (!wxPyCheckForApp()) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2310 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxBrush
*arg1
= (wxBrush
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2315 (char *) "self", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 Py_INCREF(Py_None
); resultobj
= Py_None
;
2335 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
*resultobj
;
2337 wxBrush
*arg1
= (wxBrush
*) 0 ;
2338 wxColour
*arg2
= 0 ;
2340 PyObject
* obj0
= 0 ;
2341 PyObject
* obj1
= 0 ;
2343 (char *) "self",(char *) "col", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 (arg1
)->SetColour((wxColour
const &)*arg2
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 Py_INCREF(Py_None
); resultobj
= Py_None
;
2367 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxBrush
*arg1
= (wxBrush
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2372 PyObject
* obj1
= 0 ;
2374 (char *) "self",(char *) "style", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 arg2
= (int) SWIG_AsInt(obj1
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 (arg1
)->SetStyle(arg2
);
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 Py_INCREF(Py_None
); resultobj
= Py_None
;
2396 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxBrush
*arg1
= (wxBrush
*) 0 ;
2399 wxBitmap
*arg2
= 0 ;
2400 PyObject
* obj0
= 0 ;
2401 PyObject
* obj1
= 0 ;
2403 (char *) "self",(char *) "stipple", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2413 PyErr_SetString(PyExc_TypeError
,"null reference");
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2423 Py_INCREF(Py_None
); resultobj
= Py_None
;
2430 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 wxBrush
*arg1
= (wxBrush
*) 0 ;
2434 PyObject
* obj0
= 0 ;
2436 (char *) "self", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 result
= ((wxBrush
const *)arg1
)->GetColour();
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2450 wxColour
* resultptr
;
2451 resultptr
= new wxColour((wxColour
&) result
);
2452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2460 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
*resultobj
;
2462 wxBrush
*arg1
= (wxBrush
*) 0 ;
2464 PyObject
* obj0
= 0 ;
2466 (char *) "self", NULL
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 resultobj
= SWIG_FromInt((int)result
);
2486 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxBrush
*arg1
= (wxBrush
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2492 (char *) "self", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2512 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxBrush
*arg1
= (wxBrush
*) 0 ;
2516 PyObject
* obj0
= 0 ;
2518 (char *) "self", NULL
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 result
= (bool)(arg1
)->Ok();
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2540 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxBrush
*arg1
= (wxBrush
*) 0 ;
2544 PyObject
* obj0
= 0 ;
2546 (char *) "self", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 result
= (short)(arg1
)->MacGetTheme();
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 resultobj
= SWIG_FromShort((short)result
);
2566 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
*resultobj
;
2568 wxBrush
*arg1
= (wxBrush
*) 0 ;
2570 PyObject
* obj0
= 0 ;
2571 PyObject
* obj1
= 0 ;
2573 (char *) "self",(char *) "macThemeBrush", NULL
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2579 arg2
= (short) SWIG_AsShort(obj1
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 (arg1
)->MacSetTheme(arg2
);
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2588 Py_INCREF(Py_None
); resultobj
= Py_None
;
2595 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2598 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2600 return Py_BuildValue((char *)"");
2602 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxString
*arg1
= 0 ;
2605 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2607 bool temp1
= False
;
2608 PyObject
* obj0
= 0 ;
2609 PyObject
* obj1
= 0 ;
2611 (char *) "name",(char *) "type", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2616 arg1
= wxString_in_helper(obj0
);
2617 if (arg1
== NULL
) SWIG_fail
;
2621 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2625 if (!wxPyCheckForApp()) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2647 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2650 PyObject
* obj0
= 0 ;
2652 (char *) "self", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 Py_INCREF(Py_None
); resultobj
= Py_None
;
2672 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2676 int arg3
= (int) -1 ;
2678 PyObject
* obj0
= 0 ;
2679 PyObject
* obj1
= 0 ;
2680 PyObject
* obj2
= 0 ;
2682 (char *) "width",(char *) "height",(char *) "depth", NULL
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2686 arg1
= (int) SWIG_AsInt(obj0
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2688 arg2
= (int) SWIG_AsInt(obj1
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 arg3
= (int) SWIG_AsInt(obj2
);
2692 if (PyErr_Occurred()) SWIG_fail
;
2695 if (!wxPyCheckForApp()) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2709 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2713 PyObject
* obj0
= 0 ;
2715 (char *) "icon", NULL
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2723 PyErr_SetString(PyExc_TypeError
,"null reference");
2727 if (!wxPyCheckForApp()) SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2741 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2744 int arg2
= (int) -1 ;
2746 PyObject
* obj0
= 0 ;
2747 PyObject
* obj1
= 0 ;
2749 (char *) "image",(char *) "depth", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2757 PyErr_SetString(PyExc_TypeError
,"null reference");
2761 arg2
= (int) SWIG_AsInt(obj1
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2765 if (!wxPyCheckForApp()) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2779 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 PyObject
*arg1
= (PyObject
*) 0 ;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "listOfStrings", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2791 if (!wxPyCheckForApp()) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2805 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 PyObject
*arg1
= (PyObject
*) 0 ;
2810 int arg4
= (int) 1 ;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj1
= 0 ;
2814 PyObject
* obj2
= 0 ;
2815 PyObject
* obj3
= 0 ;
2817 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2822 arg2
= (int) SWIG_AsInt(obj1
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2824 arg3
= (int) SWIG_AsInt(obj2
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 arg4
= (int) SWIG_AsInt(obj3
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2831 if (!wxPyCheckForApp()) SWIG_fail
;
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2845 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
;
2847 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2849 PyObject
* obj0
= 0 ;
2851 (char *) "self", NULL
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 result
= (bool)(arg1
)->Ok();
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2873 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2877 PyObject
* obj0
= 0 ;
2879 (char *) "self", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2887 result
= (int)(arg1
)->GetWidth();
2889 wxPyEndAllowThreads(__tstate
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2892 resultobj
= SWIG_FromInt((int)result
);
2899 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2903 PyObject
* obj0
= 0 ;
2905 (char *) "self", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 result
= (int)(arg1
)->GetHeight();
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 resultobj
= SWIG_FromInt((int)result
);
2925 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2929 PyObject
* obj0
= 0 ;
2931 (char *) "self", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (int)(arg1
)->GetDepth();
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= SWIG_FromInt((int)result
);
2951 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2955 PyObject
* obj0
= 0 ;
2957 (char *) "self", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 result
= wxBitmap_GetSize(arg1
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2972 resultptr
= new wxSize((wxSize
&) result
);
2973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2981 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
*resultobj
;
2983 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2984 SwigValueWrapper
< wxImage
> result
;
2985 PyObject
* obj0
= 0 ;
2987 (char *) "self", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3001 wxImage
* resultptr
;
3002 resultptr
= new wxImage((wxImage
&) result
);
3003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3011 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
*resultobj
;
3013 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3015 PyObject
* obj0
= 0 ;
3017 (char *) "self", NULL
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3037 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
;
3039 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3040 wxMask
*arg2
= (wxMask
*) 0 ;
3041 PyObject
* obj0
= 0 ;
3042 PyObject
* obj1
= 0 ;
3044 (char *) "self",(char *) "mask", NULL
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 (arg1
)->SetMask(arg2
);
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) SWIG_fail
;
3059 Py_INCREF(Py_None
); resultobj
= Py_None
;
3066 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3069 wxColour
*arg2
= 0 ;
3071 PyObject
* obj0
= 0 ;
3072 PyObject
* obj1
= 0 ;
3074 (char *) "self",(char *) "colour", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3091 Py_INCREF(Py_None
); resultobj
= Py_None
;
3098 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3102 SwigValueWrapper
< wxBitmap
> result
;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3107 (char *) "self",(char *) "rect", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3125 wxBitmap
* resultptr
;
3126 resultptr
= new wxBitmap((wxBitmap
&) result
);
3127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3135 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3138 wxString
*arg2
= 0 ;
3140 wxPalette
*arg4
= (wxPalette
*) NULL
;
3142 bool temp2
= False
;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3145 PyObject
* obj2
= 0 ;
3146 PyObject
* obj3
= 0 ;
3148 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3155 arg2
= wxString_in_helper(obj1
);
3156 if (arg2
== NULL
) SWIG_fail
;
3159 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3189 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3192 wxString
*arg2
= 0 ;
3195 bool temp2
= False
;
3196 PyObject
* obj0
= 0 ;
3197 PyObject
* obj1
= 0 ;
3198 PyObject
* obj2
= 0 ;
3200 (char *) "self",(char *) "name",(char *) "type", NULL
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3207 arg2
= wxString_in_helper(obj1
);
3208 if (arg2
== NULL
) SWIG_fail
;
3211 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3237 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3245 (char *) "self",(char *) "icon", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3255 PyErr_SetString(PyExc_TypeError
,"null reference");
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3274 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3281 (char *) "self",(char *) "height", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3287 arg2
= (int) SWIG_AsInt(obj1
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 (arg1
)->SetHeight(arg2
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3296 Py_INCREF(Py_None
); resultobj
= Py_None
;
3303 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3310 (char *) "self",(char *) "width", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3316 arg2
= (int) SWIG_AsInt(obj1
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 (arg1
)->SetWidth(arg2
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 Py_INCREF(Py_None
); resultobj
= Py_None
;
3332 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
;
3334 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3339 (char *) "self",(char *) "depth", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3345 arg2
= (int) SWIG_AsInt(obj1
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 (arg1
)->SetDepth(arg2
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 (char *) "self",(char *) "size", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3377 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3393 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3396 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3401 (char *) "self",(char *) "other", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3425 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3428 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3431 PyObject
* obj1
= 0 ;
3433 (char *) "self",(char *) "other", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3457 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3460 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3462 return Py_BuildValue((char *)"");
3464 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxBitmap
*arg1
= 0 ;
3467 wxColour
const &arg2_defvalue
= wxNullColour
;
3468 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3474 (char *) "bitmap",(char *) "colour", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3482 PyErr_SetString(PyExc_TypeError
,"null reference");
3488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3492 if (!wxPyCheckForApp()) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3506 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3509 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3511 return Py_BuildValue((char *)"");
3513 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxString
*arg1
= 0 ;
3517 int arg3
= (int) -1 ;
3518 int arg4
= (int) -1 ;
3520 bool temp1
= False
;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3523 PyObject
* obj2
= 0 ;
3524 PyObject
* obj3
= 0 ;
3526 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3531 arg1
= wxString_in_helper(obj0
);
3532 if (arg1
== NULL
) SWIG_fail
;
3535 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 arg3
= (int) SWIG_AsInt(obj2
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 arg4
= (int) SWIG_AsInt(obj3
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 if (!wxPyCheckForApp()) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3568 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxIcon
*arg1
= (wxIcon
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3573 (char *) "self", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 Py_INCREF(Py_None
); resultobj
= Py_None
;
3593 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3602 if (!wxPyCheckForApp()) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (wxIcon
*)new wxIcon();
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3616 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxIconLocation
*arg1
= 0 ;
3620 PyObject
* obj0
= 0 ;
3622 (char *) "loc", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3630 PyErr_SetString(PyExc_TypeError
,"null reference");
3634 if (!wxPyCheckForApp()) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3648 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxBitmap
*arg1
= 0 ;
3652 PyObject
* obj0
= 0 ;
3654 (char *) "bmp", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3662 PyErr_SetString(PyExc_TypeError
,"null reference");
3666 if (!wxPyCheckForApp()) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3680 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 PyObject
*arg1
= (PyObject
*) 0 ;
3684 PyObject
* obj0
= 0 ;
3686 (char *) "listOfStrings", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3692 if (!wxPyCheckForApp()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 result
= (wxIcon
*)new_wxIcon(arg1
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3706 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxIcon
*arg1
= (wxIcon
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= (bool)(arg1
)->Ok();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3734 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxIcon
*arg1
= (wxIcon
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3740 (char *) "self", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 result
= (int)(arg1
)->GetWidth();
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_FromInt((int)result
);
3760 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3762 wxIcon
*arg1
= (wxIcon
*) 0 ;
3764 PyObject
* obj0
= 0 ;
3766 (char *) "self", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (int)(arg1
)->GetHeight();
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= SWIG_FromInt((int)result
);
3786 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxIcon
*arg1
= (wxIcon
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3792 (char *) "self", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (int)(arg1
)->GetDepth();
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_FromInt((int)result
);
3812 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxIcon
*arg1
= (wxIcon
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3819 (char *) "self",(char *) "w", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3825 arg2
= (int) SWIG_AsInt(obj1
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 (arg1
)->SetWidth(arg2
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 Py_INCREF(Py_None
); resultobj
= Py_None
;
3841 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxIcon
*arg1
= (wxIcon
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3846 PyObject
* obj1
= 0 ;
3848 (char *) "self",(char *) "h", NULL
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3854 arg2
= (int) SWIG_AsInt(obj1
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 (arg1
)->SetHeight(arg2
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 Py_INCREF(Py_None
); resultobj
= Py_None
;
3870 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxIcon
*arg1
= (wxIcon
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3877 (char *) "self",(char *) "d", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3883 arg2
= (int) SWIG_AsInt(obj1
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 (arg1
)->SetDepth(arg2
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 Py_INCREF(Py_None
); resultobj
= Py_None
;
3899 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxIcon
*arg1
= (wxIcon
*) 0 ;
3902 wxBitmap
*arg2
= 0 ;
3903 PyObject
* obj0
= 0 ;
3904 PyObject
* obj1
= 0 ;
3906 (char *) "self",(char *) "bmp", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3916 PyErr_SetString(PyExc_TypeError
,"null reference");
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3926 Py_INCREF(Py_None
); resultobj
= Py_None
;
3933 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3936 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3938 return Py_BuildValue((char *)"");
3940 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3943 int arg2
= (int) 0 ;
3944 wxIconLocation
*result
;
3945 bool temp1
= False
;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3949 (char *) "filename",(char *) "num", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3955 arg1
= wxString_in_helper(obj0
);
3956 if (arg1
== NULL
) SWIG_fail
;
3961 arg2
= (int) SWIG_AsInt(obj1
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3986 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3991 (char *) "self", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4017 (char *) "self", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4039 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4042 wxString
*arg2
= 0 ;
4043 bool temp2
= False
;
4044 PyObject
* obj0
= 0 ;
4045 PyObject
* obj1
= 0 ;
4047 (char *) "self",(char *) "filename", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4054 arg2
= wxString_in_helper(obj1
);
4055 if (arg2
== NULL
) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 (arg1
)->SetFileName((wxString
const &)*arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4096 result
= (wxString
*) &_result_ref
;
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4106 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4115 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4122 (char *) "self",(char *) "num", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4128 arg2
= (int) SWIG_AsInt(obj1
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 wxIconLocation_SetIndex(arg1
,arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4144 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4146 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4148 PyObject
* obj0
= 0 ;
4150 (char *) "self", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (int)wxIconLocation_GetIndex(arg1
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_FromInt((int)result
);
4170 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4173 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4175 return Py_BuildValue((char *)"");
4177 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxIconBundle
*result
;
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (wxIconBundle
*)new wxIconBundle();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4199 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxString
*arg1
= 0 ;
4203 wxIconBundle
*result
;
4204 bool temp1
= False
;
4205 PyObject
* obj0
= 0 ;
4206 PyObject
* obj1
= 0 ;
4208 (char *) "file",(char *) "type", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4213 arg1
= wxString_in_helper(obj0
);
4214 if (arg1
== NULL
) SWIG_fail
;
4217 arg2
= (long) SWIG_AsLong(obj1
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4241 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4244 wxIconBundle
*result
;
4245 PyObject
* obj0
= 0 ;
4247 (char *) "icon", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4255 PyErr_SetString(PyExc_TypeError
,"null reference");
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4272 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4277 (char *) "self", NULL
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 Py_INCREF(Py_None
); resultobj
= Py_None
;
4297 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4301 PyObject
* obj0
= 0 ;
4302 PyObject
* obj1
= 0 ;
4304 (char *) "self",(char *) "icon", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4314 PyErr_SetString(PyExc_TypeError
,"null reference");
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 Py_INCREF(Py_None
); resultobj
= Py_None
;
4331 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4334 wxString
*arg2
= 0 ;
4336 bool temp2
= False
;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4339 PyObject
* obj2
= 0 ;
4341 (char *) "self",(char *) "file",(char *) "type", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4348 arg2
= wxString_in_helper(obj1
);
4349 if (arg2
== NULL
) SWIG_fail
;
4352 arg3
= (long) SWIG_AsLong(obj2
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4376 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4385 (char *) "self",(char *) "size", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4399 result
= (wxIcon
*) &_result_ref
;
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4406 wxIcon
* resultptr
= new wxIcon(*result
);
4407 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4415 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4418 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4420 return Py_BuildValue((char *)"");
4422 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxString
*arg1
= (wxString
*) 0 ;
4426 int arg3
= (int) 0 ;
4427 int arg4
= (int) 0 ;
4429 bool temp1
= False
;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4432 PyObject
* obj2
= 0 ;
4433 PyObject
* obj3
= 0 ;
4435 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4440 arg1
= wxString_in_helper(obj0
);
4441 if (arg1
== NULL
) SWIG_fail
;
4444 arg2
= (long) SWIG_AsLong(obj1
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 arg3
= (int) SWIG_AsInt(obj2
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4451 arg4
= (int) SWIG_AsInt(obj3
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 if (!wxPyCheckForApp()) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4477 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxCursor
*arg1
= (wxCursor
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "self", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 Py_INCREF(Py_None
); resultobj
= Py_None
;
4502 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4506 PyObject
* obj0
= 0 ;
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4512 arg1
= (int) SWIG_AsInt(obj0
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 if (!wxPyCheckForApp()) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 result
= (wxCursor
*)new wxCursor(arg1
);
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4529 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4533 PyObject
* obj0
= 0 ;
4535 (char *) "image", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4543 PyErr_SetString(PyExc_TypeError
,"null reference");
4547 if (!wxPyCheckForApp()) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4561 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxCursor
*arg1
= (wxCursor
*) 0 ;
4565 PyObject
* obj0
= 0 ;
4567 (char *) "self", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 result
= (bool)(arg1
)->Ok();
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4589 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4592 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4594 return Py_BuildValue((char *)"");
4596 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 int arg1
= (int) 0 ;
4599 int arg2
= (int) 0 ;
4600 int arg3
= (int) 0 ;
4601 int arg4
= (int) 0 ;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4605 PyObject
* obj2
= 0 ;
4606 PyObject
* obj3
= 0 ;
4608 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4613 arg1
= (int) SWIG_AsInt(obj0
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 arg2
= (int) SWIG_AsInt(obj1
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4621 arg3
= (int) SWIG_AsInt(obj2
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4625 arg4
= (int) SWIG_AsInt(obj3
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 if (!wxPyCheckForApp()) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4643 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxBitmap
*arg1
= 0 ;
4647 PyObject
* obj0
= 0 ;
4649 (char *) "bmp", NULL
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4657 PyErr_SetString(PyExc_TypeError
,"null reference");
4661 if (!wxPyCheckForApp()) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4675 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxBitmap
*arg1
= 0 ;
4678 wxColour
*arg2
= 0 ;
4679 int arg3
= (int) 0 ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4684 PyObject
* obj2
= 0 ;
4686 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4694 PyErr_SetString(PyExc_TypeError
,"null reference");
4699 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4702 arg3
= (int) SWIG_AsInt(obj2
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 if (!wxPyCheckForApp()) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4720 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4723 wxPoint
*arg2
= (wxPoint
*) 0 ;
4724 int arg3
= (int) wxWINDING_RULE
;
4726 PyObject
* obj0
= 0 ;
4727 PyObject
* obj1
= 0 ;
4729 (char *) "points",(char *) "fillStyle", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4734 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4735 if (arg2
== NULL
) SWIG_fail
;
4738 arg3
= (int) SWIG_AsInt(obj1
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4742 if (!wxPyCheckForApp()) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4751 if (arg2
) delete [] arg2
;
4756 if (arg2
) delete [] arg2
;
4762 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxRegion
*arg1
= (wxRegion
*) 0 ;
4765 PyObject
* obj0
= 0 ;
4767 (char *) "self", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4787 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxRegion
*arg1
= (wxRegion
*) 0 ;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "self", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 Py_INCREF(Py_None
); resultobj
= Py_None
;
4812 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxRegion
*arg1
= (wxRegion
*) 0 ;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4820 PyObject
* obj2
= 0 ;
4822 (char *) "self",(char *) "x",(char *) "y", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4828 arg2
= (int) SWIG_AsInt(obj1
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4830 arg3
= (int) SWIG_AsInt(obj2
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_FromInt((int)result
);
4846 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxRegion
*arg1
= (wxRegion
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4855 (char *) "self",(char *) "pt", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= SWIG_FromInt((int)result
);
4879 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxRegion
*arg1
= (wxRegion
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4886 PyObject
* obj1
= 0 ;
4888 (char *) "self",(char *) "rect", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4896 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_FromInt((int)result
);
4912 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxRegion
*arg1
= (wxRegion
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj1
= 0 ;
4922 PyObject
* obj2
= 0 ;
4923 PyObject
* obj3
= 0 ;
4924 PyObject
* obj4
= 0 ;
4926 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4932 arg2
= (int) SWIG_AsInt(obj1
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4934 arg3
= (int) SWIG_AsInt(obj2
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4936 arg4
= (int) SWIG_AsInt(obj3
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4938 arg5
= (int) SWIG_AsInt(obj4
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= SWIG_FromInt((int)result
);
4954 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxRegion
*arg1
= (wxRegion
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (arg1
)->GetBox();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4975 resultptr
= new wxRect((wxRect
&) result
);
4976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4984 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxRegion
*arg1
= (wxRegion
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4994 PyObject
* obj2
= 0 ;
4995 PyObject
* obj3
= 0 ;
4996 PyObject
* obj4
= 0 ;
4998 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5004 arg2
= (int) SWIG_AsInt(obj1
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5006 arg3
= (int) SWIG_AsInt(obj2
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5008 arg4
= (int) SWIG_AsInt(obj3
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5010 arg5
= (int) SWIG_AsInt(obj4
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5028 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxRegion
*arg1
= (wxRegion
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5037 (char *) "self",(char *) "rect", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5063 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxRegion
*arg1
= (wxRegion
*) 0 ;
5066 wxRegion
*arg2
= 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5071 (char *) "self",(char *) "region", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5081 PyErr_SetString(PyExc_TypeError
,"null reference");
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5100 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxRegion
*arg1
= (wxRegion
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5106 (char *) "self", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (bool)(arg1
)->IsEmpty();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5128 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxRegion
*arg1
= (wxRegion
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 PyObject
* obj2
= 0 ;
5139 PyObject
* obj3
= 0 ;
5140 PyObject
* obj4
= 0 ;
5142 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 arg2
= (int) SWIG_AsInt(obj1
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5150 arg3
= (int) SWIG_AsInt(obj2
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5152 arg4
= (int) SWIG_AsInt(obj3
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5154 arg5
= (int) SWIG_AsInt(obj4
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5172 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxRegion
*arg1
= (wxRegion
*) 0 ;
5178 PyObject
* obj0
= 0 ;
5179 PyObject
* obj1
= 0 ;
5181 (char *) "self",(char *) "rect", NULL
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5207 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxRegion
*arg1
= (wxRegion
*) 0 ;
5210 wxRegion
*arg2
= 0 ;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj1
= 0 ;
5215 (char *) "self",(char *) "region", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5225 PyErr_SetString(PyExc_TypeError
,"null reference");
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5244 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
;
5246 wxRegion
*arg1
= (wxRegion
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5254 PyObject
* obj2
= 0 ;
5255 PyObject
* obj3
= 0 ;
5256 PyObject
* obj4
= 0 ;
5258 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5264 arg2
= (int) SWIG_AsInt(obj1
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5266 arg3
= (int) SWIG_AsInt(obj2
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5268 arg4
= (int) SWIG_AsInt(obj3
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5270 arg5
= (int) SWIG_AsInt(obj4
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5288 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxRegion
*arg1
= (wxRegion
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5297 (char *) "self",(char *) "rect", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5305 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5323 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxRegion
*arg1
= (wxRegion
*) 0 ;
5326 wxRegion
*arg2
= 0 ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5331 (char *) "self",(char *) "region", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5341 PyErr_SetString(PyExc_TypeError
,"null reference");
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5360 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxRegion
*arg1
= (wxRegion
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 PyObject
* obj2
= 0 ;
5371 PyObject
* obj3
= 0 ;
5372 PyObject
* obj4
= 0 ;
5374 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5380 arg2
= (int) SWIG_AsInt(obj1
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5382 arg3
= (int) SWIG_AsInt(obj2
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5384 arg4
= (int) SWIG_AsInt(obj3
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5386 arg5
= (int) SWIG_AsInt(obj4
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5404 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxRegion
*arg1
= (wxRegion
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "rect", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5439 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxRegion
*arg1
= (wxRegion
*) 0 ;
5442 wxRegion
*arg2
= 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5447 (char *) "self",(char *) "region", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5457 PyErr_SetString(PyExc_TypeError
,"null reference");
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5476 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxRegion
*arg1
= (wxRegion
*) 0 ;
5479 SwigValueWrapper
< wxBitmap
> result
;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "self", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (arg1
)->ConvertToBitmap();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 wxBitmap
* resultptr
;
5497 resultptr
= new wxBitmap((wxBitmap
&) result
);
5498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5506 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxRegion
*arg1
= (wxRegion
*) 0 ;
5509 wxBitmap
*arg2
= 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "bmp", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5524 PyErr_SetString(PyExc_TypeError
,"null reference");
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5543 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxRegion
*arg1
= (wxRegion
*) 0 ;
5546 wxBitmap
*arg2
= 0 ;
5547 wxColour
*arg3
= 0 ;
5548 int arg4
= (int) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 PyObject
* obj2
= 0 ;
5554 PyObject
* obj3
= 0 ;
5556 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5566 PyErr_SetString(PyExc_TypeError
,"null reference");
5571 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5574 arg4
= (int) SWIG_AsInt(obj3
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5593 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5596 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5598 return Py_BuildValue((char *)"");
5600 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
;
5602 wxRegion
*arg1
= 0 ;
5603 wxRegionIterator
*result
;
5604 PyObject
* obj0
= 0 ;
5606 (char *) "region", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5614 PyErr_SetString(PyExc_TypeError
,"null reference");
5618 if (!wxPyCheckForApp()) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5632 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5635 PyObject
* obj0
= 0 ;
5637 (char *) "self", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5663 (char *) "self", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (int)(arg1
)->GetX();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_FromInt((int)result
);
5683 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5689 (char *) "self", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (int)(arg1
)->GetY();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= SWIG_FromInt((int)result
);
5709 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5715 (char *) "self", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (int)(arg1
)->GetW();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_FromInt((int)result
);
5735 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5741 (char *) "self", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (int)(arg1
)->GetWidth();
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= SWIG_FromInt((int)result
);
5761 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5767 (char *) "self", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (int)(arg1
)->GetH();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_FromInt((int)result
);
5787 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5793 (char *) "self", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (int)(arg1
)->GetHeight();
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_FromInt((int)result
);
5813 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "self", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (arg1
)->GetRect();
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5834 resultptr
= new wxRect((wxRect
&) result
);
5835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5843 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5847 PyObject
* obj0
= 0 ;
5849 (char *) "self", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (bool)(arg1
)->HaveRects();
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5871 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
;
5873 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5874 PyObject
* obj0
= 0 ;
5876 (char *) "self", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
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_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5901 (char *) "self", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 wxRegionIterator_Next(arg1
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 Py_INCREF(Py_None
); resultobj
= Py_None
;
5921 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
;
5923 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5927 (char *) "self", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5949 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5952 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5954 return Py_BuildValue((char *)"");
5956 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxNativeFontInfo
*result
;
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5978 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 Py_INCREF(Py_None
); resultobj
= Py_None
;
6003 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6008 (char *) "self", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 Py_INCREF(Py_None
); resultobj
= Py_None
;
6028 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6035 (char *) "self",(char *) "font", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6045 PyErr_SetString(PyExc_TypeError
,"null reference");
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 Py_INCREF(Py_None
); resultobj
= Py_None
;
6062 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= SWIG_FromInt((int)result
);
6088 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6094 (char *) "self", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= SWIG_FromInt((int)result
);
6114 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "self", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= SWIG_FromInt((int)result
);
6140 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6146 (char *) "self", NULL
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6168 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "self", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6200 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "self", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= SWIG_FromInt((int)result
);
6226 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6232 (char *) "self", NULL
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_FromInt((int)result
);
6252 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6259 (char *) "self",(char *) "pointsize", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 arg2
= (int) SWIG_AsInt(obj1
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 (arg1
)->SetPointSize(arg2
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6286 PyObject
* obj1
= 0 ;
6288 (char *) "self",(char *) "style", NULL
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 Py_INCREF(Py_None
); resultobj
= Py_None
;
6310 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6317 (char *) "self",(char *) "weight", NULL
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6323 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 Py_INCREF(Py_None
); resultobj
= Py_None
;
6339 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6346 (char *) "self",(char *) "underlined", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 arg2
= (bool) SWIG_AsBool(obj1
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 (arg1
)->SetUnderlined(arg2
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 Py_INCREF(Py_None
); resultobj
= Py_None
;
6368 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6370 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6372 PyObject
* obj0
= 0 ;
6373 PyObject
* obj1
= 0 ;
6375 (char *) "self",(char *) "facename", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 wxString
* sptr
= wxString_in_helper(obj1
);
6383 if (sptr
== NULL
) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetFaceName(arg2
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 Py_INCREF(Py_None
); resultobj
= Py_None
;
6401 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6408 (char *) "self",(char *) "family", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6414 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 Py_INCREF(Py_None
); resultobj
= Py_None
;
6430 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6437 (char *) "self",(char *) "encoding", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6443 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 Py_INCREF(Py_None
); resultobj
= Py_None
;
6459 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6462 wxString
*arg2
= 0 ;
6464 bool temp2
= False
;
6465 PyObject
* obj0
= 0 ;
6466 PyObject
* obj1
= 0 ;
6468 (char *) "self",(char *) "s", NULL
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6475 arg2
= wxString_in_helper(obj1
);
6476 if (arg2
== NULL
) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6503 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6509 (char *) "self", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6535 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
*resultobj
;
6537 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6539 PyObject
* obj0
= 0 ;
6541 (char *) "self", NULL
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= wxNativeFontInfo___str__(arg1
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6567 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6570 wxString
*arg2
= 0 ;
6572 bool temp2
= False
;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6576 (char *) "self",(char *) "s", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6583 arg2
= wxString_in_helper(obj1
);
6584 if (arg2
== NULL
) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6611 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6643 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6646 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6648 return Py_BuildValue((char *)"");
6650 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6653 wxString
*arg2
= (wxString
*) 0 ;
6654 bool temp2
= False
;
6655 PyObject
* obj0
= 0 ;
6656 PyObject
* obj1
= 0 ;
6658 (char *) "self",(char *) "facename", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6665 arg2
= wxString_in_helper(obj1
);
6666 if (arg2
== NULL
) SWIG_fail
;
6669 if (arg1
) (arg1
)->facename
= *arg2
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6686 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6690 PyObject
* obj0
= 0 ;
6692 (char *) "self", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6698 result
= (wxString
*)& ((arg1
)->facename
);
6702 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6704 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6713 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "encoding", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6728 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6730 Py_INCREF(Py_None
); resultobj
= Py_None
;
6737 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
;
6739 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6743 (char *) "self", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6749 result
= (int) ((arg1
)->encoding
);
6751 resultobj
= SWIG_FromInt((int)result
);
6758 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxNativeEncodingInfo
*result
;
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6780 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6808 wxString
*arg2
= 0 ;
6810 bool temp2
= False
;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6814 (char *) "self",(char *) "s", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 arg2
= wxString_in_helper(obj1
);
6822 if (arg2
== NULL
) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6849 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "self", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6881 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6884 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6886 return Py_BuildValue((char *)"");
6888 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6891 wxNativeEncodingInfo
*result
;
6892 PyObject
* obj0
= 0 ;
6894 (char *) "encoding", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6898 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6914 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxNativeEncodingInfo
*arg1
= 0 ;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "info", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6928 PyErr_SetString(PyExc_TypeError
,"null reference");
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6947 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxFontMapper
*result
;
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (wxFontMapper
*)new wxFontMapper();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6969 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 Py_INCREF(Py_None
); resultobj
= Py_None
;
6994 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxFontMapper
*result
;
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (wxFontMapper
*)wxFontMapper::Get();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7016 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7019 wxFontMapper
*result
;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "mapper", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7042 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7045 wxString
*arg2
= 0 ;
7046 bool arg3
= (bool) True
;
7048 bool temp2
= False
;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 PyObject
* obj2
= 0 ;
7053 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 arg2
= wxString_in_helper(obj1
);
7061 if (arg2
== NULL
) SWIG_fail
;
7065 arg3
= (bool) SWIG_AsBool(obj2
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_FromInt((int)result
);
7090 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7112 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7116 PyObject
* obj0
= 0 ;
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7122 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (int)wxFontMapper::GetEncoding(arg1
);
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= SWIG_FromInt((int)result
);
7138 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7142 PyObject
* obj0
= 0 ;
7144 (char *) "encoding", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7148 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7170 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "encoding", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7180 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7202 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxString
*arg1
= 0 ;
7206 bool temp1
= False
;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "name", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7214 arg1
= wxString_in_helper(obj0
);
7215 if (arg1
== NULL
) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_FromInt((int)result
);
7240 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7242 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7243 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7247 (char *) "self",(char *) "config", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 (arg1
)->SetConfig(arg2
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7272 wxString
*arg2
= 0 ;
7273 bool temp2
= False
;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7277 (char *) "self",(char *) "prefix", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7284 arg2
= wxString_in_helper(obj1
);
7285 if (arg2
== NULL
) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= wxFontMapper::GetDefaultConfigPath();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7338 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7342 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7343 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7344 bool arg4
= (bool) True
;
7346 bool temp3
= False
;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7349 PyObject
* obj2
= 0 ;
7350 PyObject
* obj3
= 0 ;
7352 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 arg3
= wxString_in_helper(obj2
);
7363 if (arg3
== NULL
) SWIG_fail
;
7368 arg4
= (bool) SWIG_AsBool(obj3
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7393 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7397 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7398 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7400 bool temp3
= False
;
7401 PyObject
* obj0
= 0 ;
7402 PyObject
* obj1
= 0 ;
7403 PyObject
* obj2
= 0 ;
7405 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7411 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 arg3
= wxString_in_helper(obj2
);
7416 if (arg3
== NULL
) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7444 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7447 wxWindow
*arg2
= (wxWindow
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7451 (char *) "self",(char *) "parent", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 (arg1
)->SetDialogParent(arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 Py_INCREF(Py_None
); resultobj
= Py_None
;
7473 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7476 wxString
*arg2
= 0 ;
7477 bool temp2
= False
;
7478 PyObject
* obj0
= 0 ;
7479 PyObject
* obj1
= 0 ;
7481 (char *) "self",(char *) "title", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7488 arg2
= wxString_in_helper(obj1
);
7489 if (arg2
== NULL
) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 Py_INCREF(Py_None
); resultobj
= Py_None
;
7514 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7517 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7519 return Py_BuildValue((char *)"");
7521 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7527 bool arg5
= (bool) False
;
7528 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7529 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7530 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7532 bool temp6
= False
;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7535 PyObject
* obj2
= 0 ;
7536 PyObject
* obj3
= 0 ;
7537 PyObject
* obj4
= 0 ;
7538 PyObject
* obj5
= 0 ;
7539 PyObject
* obj6
= 0 ;
7541 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7545 arg1
= (int) SWIG_AsInt(obj0
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7547 arg2
= (int) SWIG_AsInt(obj1
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7549 arg3
= (int) SWIG_AsInt(obj2
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7551 arg4
= (int) SWIG_AsInt(obj3
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 arg5
= (bool) SWIG_AsBool(obj4
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7559 arg6
= wxString_in_helper(obj5
);
7560 if (arg6
== NULL
) SWIG_fail
;
7565 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 if (!wxPyCheckForApp()) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7591 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxFont
*arg1
= (wxFont
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7596 (char *) "self", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 Py_INCREF(Py_None
); resultobj
= Py_None
;
7616 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxNativeFontInfo
*arg1
= 0 ;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "info", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7630 PyErr_SetString(PyExc_TypeError
,"null reference");
7634 if (!wxPyCheckForApp()) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7648 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxString
*arg1
= 0 ;
7652 bool temp1
= False
;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "info", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7660 arg1
= wxString_in_helper(obj0
);
7661 if (arg1
== NULL
) SWIG_fail
;
7665 if (!wxPyCheckForApp()) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7687 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7691 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7692 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7693 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7694 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7696 bool temp4
= False
;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7699 PyObject
* obj2
= 0 ;
7700 PyObject
* obj3
= 0 ;
7701 PyObject
* obj4
= 0 ;
7703 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7707 arg1
= (int) SWIG_AsInt(obj0
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7709 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 arg3
= (int) SWIG_AsInt(obj2
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7717 arg4
= wxString_in_helper(obj3
);
7718 if (arg4
== NULL
) SWIG_fail
;
7723 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 if (!wxPyCheckForApp()) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7749 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxFont
*arg1
= (wxFont
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (bool)((wxFont
const *)arg1
)->Ok();
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7777 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxFont
*arg1
= (wxFont
*) 0 ;
7780 wxFont
*arg2
= (wxFont
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7785 (char *) "self",(char *) "other", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7809 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxFont
*arg1
= (wxFont
*) 0 ;
7812 wxFont
*arg2
= (wxFont
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7817 (char *) "self",(char *) "other", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7841 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxFont
*arg1
= (wxFont
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "self", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_FromInt((int)result
);
7867 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxFont
*arg1
= (wxFont
*) 0 ;
7871 PyObject
* obj0
= 0 ;
7873 (char *) "self", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_FromInt((int)result
);
7893 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxFont
*arg1
= (wxFont
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_FromInt((int)result
);
7919 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxFont
*arg1
= (wxFont
*) 0 ;
7923 PyObject
* obj0
= 0 ;
7925 (char *) "self", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= SWIG_FromInt((int)result
);
7945 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxFont
*arg1
= (wxFont
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "self", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxFont
*arg1
= (wxFont
*) 0 ;
7977 PyObject
* obj0
= 0 ;
7979 (char *) "self", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= ((wxFont
const *)arg1
)->GetFaceName();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8005 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxFont
*arg1
= (wxFont
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_FromInt((int)result
);
8031 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxFont
*arg1
= (wxFont
*) 0 ;
8034 wxNativeFontInfo
*result
;
8035 PyObject
* obj0
= 0 ;
8037 (char *) "self", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8057 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxFont
*arg1
= (wxFont
*) 0 ;
8061 PyObject
* obj0
= 0 ;
8063 (char *) "self", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8085 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxFont
*arg1
= (wxFont
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8091 (char *) "self", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8117 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxFont
*arg1
= (wxFont
*) 0 ;
8121 PyObject
* obj0
= 0 ;
8123 (char *) "self", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8149 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxFont
*arg1
= (wxFont
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8156 (char *) "self",(char *) "pointSize", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8162 arg2
= (int) SWIG_AsInt(obj1
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 (arg1
)->SetPointSize(arg2
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxFont
*arg1
= (wxFont
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8183 PyObject
* obj1
= 0 ;
8185 (char *) "self",(char *) "family", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8191 arg2
= (int) SWIG_AsInt(obj1
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 (arg1
)->SetFamily(arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 Py_INCREF(Py_None
); resultobj
= Py_None
;
8207 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxFont
*arg1
= (wxFont
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8214 (char *) "self",(char *) "style", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8220 arg2
= (int) SWIG_AsInt(obj1
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 (arg1
)->SetStyle(arg2
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 Py_INCREF(Py_None
); resultobj
= Py_None
;
8236 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxFont
*arg1
= (wxFont
*) 0 ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8243 (char *) "self",(char *) "weight", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8249 arg2
= (int) SWIG_AsInt(obj1
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 (arg1
)->SetWeight(arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8265 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxFont
*arg1
= (wxFont
*) 0 ;
8268 wxString
*arg2
= 0 ;
8269 bool temp2
= False
;
8270 PyObject
* obj0
= 0 ;
8271 PyObject
* obj1
= 0 ;
8273 (char *) "self",(char *) "faceName", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8280 arg2
= wxString_in_helper(obj1
);
8281 if (arg2
== NULL
) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 Py_INCREF(Py_None
); resultobj
= Py_None
;
8306 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxFont
*arg1
= (wxFont
*) 0 ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8313 (char *) "self",(char *) "underlined", NULL
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8319 arg2
= (bool) SWIG_AsBool(obj1
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 (arg1
)->SetUnderlined(arg2
);
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 Py_INCREF(Py_None
); resultobj
= Py_None
;
8335 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxFont
*arg1
= (wxFont
*) 0 ;
8339 PyObject
* obj0
= 0 ;
8340 PyObject
* obj1
= 0 ;
8342 (char *) "self",(char *) "encoding", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 Py_INCREF(Py_None
); resultobj
= Py_None
;
8364 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxFont
*arg1
= (wxFont
*) 0 ;
8367 wxNativeFontInfo
*arg2
= 0 ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8371 (char *) "self",(char *) "info", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8381 PyErr_SetString(PyExc_TypeError
,"null reference");
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 Py_INCREF(Py_None
); resultobj
= Py_None
;
8398 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxFont
*arg1
= (wxFont
*) 0 ;
8401 wxString
*arg2
= 0 ;
8402 bool temp2
= False
;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8406 (char *) "self",(char *) "info", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 arg2
= wxString_in_helper(obj1
);
8414 if (arg2
== NULL
) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 Py_INCREF(Py_None
); resultobj
= Py_None
;
8439 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxFont
*arg1
= (wxFont
*) 0 ;
8442 wxString
*arg2
= 0 ;
8443 bool temp2
= False
;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8447 (char *) "self",(char *) "info", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8454 arg2
= wxString_in_helper(obj1
);
8455 if (arg2
== NULL
) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 Py_INCREF(Py_None
); resultobj
= Py_None
;
8480 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxFont
*arg1
= (wxFont
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8486 (char *) "self", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8512 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxFont
*arg1
= (wxFont
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8518 (char *) "self", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= ((wxFont
const *)arg1
)->GetStyleString();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8544 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxFont
*arg1
= (wxFont
*) 0 ;
8548 PyObject
* obj0
= 0 ;
8550 (char *) "self", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= ((wxFont
const *)arg1
)->GetWeightString();
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8576 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxFont
*arg1
= (wxFont
*) 0 ;
8579 bool arg2
= (bool) True
;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8583 (char *) "self",(char *) "no", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8590 arg2
= (bool) SWIG_AsBool(obj1
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 (arg1
)->SetNoAntiAliasing(arg2
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxFont
*arg1
= (wxFont
*) 0 ;
8611 PyObject
* obj0
= 0 ;
8613 (char *) "self", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8635 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8644 if (!wxPyCheckForApp()) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (int)wxFont::GetDefaultEncoding();
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= SWIG_FromInt((int)result
);
8658 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
;
8661 PyObject
* obj0
= 0 ;
8663 (char *) "encoding", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8667 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 if (!wxPyCheckForApp()) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 Py_INCREF(Py_None
); resultobj
= Py_None
;
8684 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8687 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8689 return Py_BuildValue((char *)"");
8691 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
;
8693 wxPyFontEnumerator
*result
;
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8700 if (!wxPyCheckForApp()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8714 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8717 PyObject
* obj0
= 0 ;
8719 (char *) "self", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 Py_INCREF(Py_None
); resultobj
= Py_None
;
8739 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8742 PyObject
*arg2
= (PyObject
*) 0 ;
8743 PyObject
*arg3
= (PyObject
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 PyObject
* obj3
= 0 ;
8750 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 arg4
= (bool) SWIG_AsBool(obj3
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8774 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8777 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8778 bool arg3
= (bool) False
;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8784 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8791 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 arg3
= (bool) SWIG_AsBool(obj2
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8814 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8817 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8818 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8820 bool temp2
= False
;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8824 (char *) "self",(char *) "facename", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8832 arg2
= wxString_in_helper(obj1
);
8833 if (arg2
== NULL
) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8861 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8867 (char *) "self", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8887 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8893 (char *) "self", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8913 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8916 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8918 return Py_BuildValue((char *)"");
8920 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8927 (char *) "self",(char *) "Language", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8933 arg2
= (int) SWIG_AsInt(obj1
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8935 if (arg1
) (arg1
)->Language
= arg2
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8956 result
= (int) ((arg1
)->Language
);
8958 resultobj
= SWIG_FromInt((int)result
);
8965 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8968 wxString
*arg2
= (wxString
*) 0 ;
8969 bool temp2
= False
;
8970 PyObject
* obj0
= 0 ;
8971 PyObject
* obj1
= 0 ;
8973 (char *) "self",(char *) "CanonicalName", NULL
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8980 arg2
= wxString_in_helper(obj1
);
8981 if (arg2
== NULL
) SWIG_fail
;
8984 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8986 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9007 (char *) "self", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9017 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9019 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9028 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9031 wxString
*arg2
= (wxString
*) 0 ;
9032 bool temp2
= False
;
9033 PyObject
* obj0
= 0 ;
9034 PyObject
* obj1
= 0 ;
9036 (char *) "self",(char *) "Description", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9043 arg2
= wxString_in_helper(obj1
);
9044 if (arg2
== NULL
) SWIG_fail
;
9047 if (arg1
) (arg1
)->Description
= *arg2
;
9049 Py_INCREF(Py_None
); resultobj
= Py_None
;
9064 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9070 (char *) "self", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9076 result
= (wxString
*)& ((arg1
)->Description
);
9080 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9082 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9091 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9094 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9096 return Py_BuildValue((char *)"");
9098 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 int arg1
= (int) -1 ;
9101 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9103 PyObject
* obj0
= 0 ;
9104 PyObject
* obj1
= 0 ;
9106 (char *) "language",(char *) "flags", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9111 arg1
= (int) SWIG_AsInt(obj0
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9115 arg2
= (int) SWIG_AsInt(obj1
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9132 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxLocale
*arg1
= (wxLocale
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9137 (char *) "self", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxLocale
*arg1
= (wxLocale
*) 0 ;
9160 wxString
*arg2
= 0 ;
9161 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9162 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9163 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9164 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9165 bool arg5
= (bool) True
;
9166 bool arg6
= (bool) False
;
9168 bool temp2
= False
;
9169 bool temp3
= False
;
9170 bool temp4
= False
;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 PyObject
* obj2
= 0 ;
9174 PyObject
* obj3
= 0 ;
9175 PyObject
* obj4
= 0 ;
9176 PyObject
* obj5
= 0 ;
9178 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9185 arg2
= wxString_in_helper(obj1
);
9186 if (arg2
== NULL
) SWIG_fail
;
9191 arg3
= wxString_in_helper(obj2
);
9192 if (arg3
== NULL
) SWIG_fail
;
9198 arg4
= wxString_in_helper(obj3
);
9199 if (arg4
== NULL
) SWIG_fail
;
9204 arg5
= (bool) SWIG_AsBool(obj4
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9208 arg6
= (bool) SWIG_AsBool(obj5
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9251 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxLocale
*arg1
= (wxLocale
*) 0 ;
9254 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9255 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9259 PyObject
* obj2
= 0 ;
9261 (char *) "self",(char *) "language",(char *) "flags", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 arg2
= (int) SWIG_AsInt(obj1
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9272 arg3
= (int) SWIG_AsInt(obj2
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9291 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (int)wxLocale::GetSystemLanguage();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_FromInt((int)result
);
9313 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (int)wxLocale::GetSystemEncoding();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_FromInt((int)result
);
9335 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= wxLocale::GetSystemEncodingName();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9363 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxLocale
*arg1
= (wxLocale
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "self", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9391 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxLocale
*arg1
= (wxLocale
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9397 (char *) "self", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= ((wxLocale
const *)arg1
)->GetLocale();
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9423 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
;
9425 wxLocale
*arg1
= (wxLocale
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9429 (char *) "self", NULL
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_FromInt((int)result
);
9449 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxLocale
*arg1
= (wxLocale
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9455 (char *) "self", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= ((wxLocale
const *)arg1
)->GetSysName();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9481 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxLocale
*arg1
= (wxLocale
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9513 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxString
*arg1
= 0 ;
9516 bool temp1
= False
;
9517 PyObject
* obj0
= 0 ;
9519 (char *) "prefix", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9524 arg1
= wxString_in_helper(obj0
);
9525 if (arg1
== NULL
) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 Py_INCREF(Py_None
); resultobj
= Py_None
;
9550 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxLocale
*arg1
= (wxLocale
*) 0 ;
9553 wxString
*arg2
= 0 ;
9555 bool temp2
= False
;
9556 PyObject
* obj0
= 0 ;
9557 PyObject
* obj1
= 0 ;
9559 (char *) "self",(char *) "szDomain", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9566 arg2
= wxString_in_helper(obj1
);
9567 if (arg2
== NULL
) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxLocale
*arg1
= (wxLocale
*) 0 ;
9597 wxString
*arg2
= 0 ;
9599 bool temp2
= False
;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "self",(char *) "szDomain", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= wxString_in_helper(obj1
);
9611 if (arg2
== NULL
) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9638 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9641 wxLanguageInfo
*result
;
9642 PyObject
* obj0
= 0 ;
9644 (char *) "lang", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9648 arg1
= (int) SWIG_AsInt(obj0
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9664 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9668 PyObject
* obj0
= 0 ;
9670 (char *) "lang", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9674 arg1
= (int) SWIG_AsInt(obj0
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 result
= wxLocale::GetLanguageName(arg1
);
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9696 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxString
*arg1
= 0 ;
9699 wxLanguageInfo
*result
;
9700 bool temp1
= False
;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "locale", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9708 arg1
= wxString_in_helper(obj0
);
9709 if (arg1
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9734 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxLanguageInfo
*arg1
= 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "info", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9747 PyErr_SetString(PyExc_TypeError
,"null reference");
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 Py_INCREF(Py_None
); resultobj
= Py_None
;
9764 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
;
9766 wxLocale
*arg1
= (wxLocale
*) 0 ;
9767 wxString
*arg2
= 0 ;
9768 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9769 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9771 bool temp2
= False
;
9772 bool temp3
= False
;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9775 PyObject
* obj2
= 0 ;
9777 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 arg2
= wxString_in_helper(obj1
);
9785 if (arg2
== NULL
) SWIG_fail
;
9790 arg3
= wxString_in_helper(obj2
);
9791 if (arg3
== NULL
) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9831 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxLocale
*arg1
= (wxLocale
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9837 (char *) "self", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9847 result
= (wxString
*) &_result_ref
;
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9857 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9866 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9869 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9871 return Py_BuildValue((char *)"");
9873 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (wxLocale
*)wxGetLocale();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9895 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9896 PyObject
*resultobj
;
9897 wxString
*arg1
= 0 ;
9899 bool temp1
= False
;
9900 PyObject
* obj0
= 0 ;
9902 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9904 arg1
= wxString_in_helper(obj0
);
9905 if (arg1
== NULL
) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= wxGetTranslation((wxString
const &)*arg1
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9936 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9937 PyObject
*resultobj
;
9938 wxString
*arg1
= 0 ;
9939 wxString
*arg2
= 0 ;
9942 bool temp1
= False
;
9943 bool temp2
= False
;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 PyObject
* obj2
= 0 ;
9948 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9950 arg1
= wxString_in_helper(obj0
);
9951 if (arg1
== NULL
) SWIG_fail
;
9955 arg2
= wxString_in_helper(obj1
);
9956 if (arg2
== NULL
) SWIG_fail
;
9959 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9997 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10002 argc
= PyObject_Length(args
);
10003 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10004 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10009 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10012 return _wrap_GetTranslation__SWIG_0(self
,args
);
10018 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10022 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10025 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10027 return _wrap_GetTranslation__SWIG_1(self
,args
);
10033 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10038 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxEncodingConverter
*result
;
10041 char *kwnames
[] = {
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10060 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10063 PyObject
* obj0
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 Py_INCREF(Py_None
); resultobj
= Py_None
;
10085 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10090 int arg4
= (int) wxCONVERT_STRICT
;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 PyObject
* obj2
= 0 ;
10095 PyObject
* obj3
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10105 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 arg4
= (int) SWIG_AsInt(obj3
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10127 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10130 wxString
*arg2
= 0 ;
10132 bool temp2
= False
;
10133 PyObject
* obj0
= 0 ;
10134 PyObject
* obj1
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self",(char *) "input", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10143 arg2
= wxString_in_helper(obj1
);
10144 if (arg2
== NULL
) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10175 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10178 int arg2
= (int) wxPLATFORM_CURRENT
;
10179 wxFontEncodingArray result
;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "enc",(char *) "platform", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10187 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 arg2
= (int) SWIG_AsInt(obj1
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= PyList_New(0);
10202 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10203 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10204 PyList_Append(resultobj
, number
);
10214 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10217 wxFontEncodingArray result
;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "enc", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10224 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= PyList_New(0);
10235 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10236 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10237 PyList_Append(resultobj
, number
);
10247 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10252 PyObject
* obj0
= 0 ;
10253 PyObject
* obj1
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "encIn",(char *) "encOut", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10259 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10261 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10279 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10282 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10284 return Py_BuildValue((char *)"");
10286 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxDC
*arg1
= (wxDC
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10311 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxDC
*arg1
= (wxDC
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 (arg1
)->BeginDrawing();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 Py_INCREF(Py_None
); resultobj
= Py_None
;
10336 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxDC
*arg1
= (wxDC
*) 0 ;
10339 PyObject
* obj0
= 0 ;
10340 char *kwnames
[] = {
10341 (char *) "self", NULL
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 (arg1
)->EndDrawing();
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 Py_INCREF(Py_None
); resultobj
= Py_None
;
10361 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
;
10363 wxDC
*arg1
= (wxDC
*) 0 ;
10366 wxColour
*arg4
= 0 ;
10367 int arg5
= (int) wxFLOOD_SURFACE
;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 PyObject
* obj2
= 0 ;
10373 PyObject
* obj3
= 0 ;
10374 PyObject
* obj4
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10382 arg2
= (int) SWIG_AsInt(obj1
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10384 arg3
= (int) SWIG_AsInt(obj2
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10391 arg5
= (int) SWIG_AsInt(obj4
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10410 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxDC
*arg1
= (wxDC
*) 0 ;
10413 wxPoint
*arg2
= 0 ;
10414 wxColour
*arg3
= 0 ;
10415 int arg4
= (int) wxFLOOD_SURFACE
;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 PyObject
* obj2
= 0 ;
10422 PyObject
* obj3
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10436 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10439 arg4
= (int) SWIG_AsInt(obj3
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10458 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxDC
*arg1
= (wxDC
*) 0 ;
10464 PyObject
* obj0
= 0 ;
10465 PyObject
* obj1
= 0 ;
10466 PyObject
* obj2
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self",(char *) "x",(char *) "y", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10474 arg2
= (int) SWIG_AsInt(obj1
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10476 arg3
= (int) SWIG_AsInt(obj2
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10486 wxColour
* resultptr
;
10487 resultptr
= new wxColour((wxColour
&) result
);
10488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10496 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
*resultobj
;
10498 wxDC
*arg1
= (wxDC
*) 0 ;
10499 wxPoint
*arg2
= 0 ;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self",(char *) "pt", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 wxColour
* resultptr
;
10524 resultptr
= new wxColour((wxColour
&) result
);
10525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10533 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxDC
*arg1
= (wxDC
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 PyObject
* obj2
= 0 ;
10543 PyObject
* obj3
= 0 ;
10544 PyObject
* obj4
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 arg2
= (int) SWIG_AsInt(obj1
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10554 arg3
= (int) SWIG_AsInt(obj2
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10556 arg4
= (int) SWIG_AsInt(obj3
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10558 arg5
= (int) SWIG_AsInt(obj4
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 Py_INCREF(Py_None
); resultobj
= Py_None
;
10574 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxDC
*arg1
= (wxDC
*) 0 ;
10577 wxPoint
*arg2
= 0 ;
10578 wxPoint
*arg3
= 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 PyObject
* obj2
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10597 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 Py_INCREF(Py_None
); resultobj
= Py_None
;
10613 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxDC
*arg1
= (wxDC
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 PyObject
* obj2
= 0 ;
10621 char *kwnames
[] = {
10622 (char *) "self",(char *) "x",(char *) "y", NULL
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 arg2
= (int) SWIG_AsInt(obj1
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10630 arg3
= (int) SWIG_AsInt(obj2
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 (arg1
)->CrossHair(arg2
,arg3
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 Py_INCREF(Py_None
); resultobj
= Py_None
;
10646 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxDC
*arg1
= (wxDC
*) 0 ;
10649 wxPoint
*arg2
= 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self",(char *) "pt", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxDC
*arg1
= (wxDC
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 PyObject
* obj2
= 0 ;
10690 PyObject
* obj3
= 0 ;
10691 PyObject
* obj4
= 0 ;
10692 PyObject
* obj5
= 0 ;
10693 PyObject
* obj6
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10701 arg2
= (int) SWIG_AsInt(obj1
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10703 arg3
= (int) SWIG_AsInt(obj2
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10705 arg4
= (int) SWIG_AsInt(obj3
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10707 arg5
= (int) SWIG_AsInt(obj4
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10709 arg6
= (int) SWIG_AsInt(obj5
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10711 arg7
= (int) SWIG_AsInt(obj6
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxDC
*arg1
= (wxDC
*) 0 ;
10730 wxPoint
*arg2
= 0 ;
10731 wxPoint
*arg3
= 0 ;
10732 wxPoint
*arg4
= 0 ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 PyObject
* obj2
= 0 ;
10739 PyObject
* obj3
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10757 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 Py_INCREF(Py_None
); resultobj
= Py_None
;
10773 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxDC
*arg1
= (wxDC
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 PyObject
* obj3
= 0 ;
10784 PyObject
* obj4
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10792 arg2
= (int) SWIG_AsInt(obj1
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10794 arg3
= (int) SWIG_AsInt(obj2
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10796 arg4
= (int) SWIG_AsInt(obj3
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10798 arg5
= (int) SWIG_AsInt(obj4
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 Py_INCREF(Py_None
); resultobj
= Py_None
;
10814 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxDC
*arg1
= (wxDC
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "rect", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 Py_INCREF(Py_None
); resultobj
= Py_None
;
10846 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxDC
*arg1
= (wxDC
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 PyObject
* obj2
= 0 ;
10858 PyObject
* obj3
= 0 ;
10859 PyObject
* obj4
= 0 ;
10860 PyObject
* obj5
= 0 ;
10861 PyObject
* obj6
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 arg2
= (int) SWIG_AsInt(obj1
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10871 arg3
= (int) SWIG_AsInt(obj2
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10873 arg4
= (int) SWIG_AsInt(obj3
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10875 arg5
= (int) SWIG_AsInt(obj4
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10877 arg6
= (double) SWIG_AsDouble(obj5
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10879 arg7
= (double) SWIG_AsDouble(obj6
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxDC
*arg1
= (wxDC
*) 0 ;
10898 wxPoint
*arg2
= 0 ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 PyObject
* obj2
= 0 ;
10907 PyObject
* obj3
= 0 ;
10908 PyObject
* obj4
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10922 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10924 arg4
= (double) SWIG_AsDouble(obj3
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10926 arg5
= (double) SWIG_AsDouble(obj4
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 Py_INCREF(Py_None
); resultobj
= Py_None
;
10942 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxDC
*arg1
= (wxDC
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 PyObject
* obj2
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "x",(char *) "y", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10957 arg2
= (int) SWIG_AsInt(obj1
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10959 arg3
= (int) SWIG_AsInt(obj2
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->DrawPoint(arg2
,arg3
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxDC
*arg1
= (wxDC
*) 0 ;
10978 wxPoint
*arg2
= 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self",(char *) "pt", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 Py_INCREF(Py_None
); resultobj
= Py_None
;
11007 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxDC
*arg1
= (wxDC
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 PyObject
* obj2
= 0 ;
11017 PyObject
* obj3
= 0 ;
11018 PyObject
* obj4
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 arg2
= (int) SWIG_AsInt(obj1
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11028 arg3
= (int) SWIG_AsInt(obj2
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11030 arg4
= (int) SWIG_AsInt(obj3
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11032 arg5
= (int) SWIG_AsInt(obj4
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 Py_INCREF(Py_None
); resultobj
= Py_None
;
11048 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxDC
*arg1
= (wxDC
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "rect", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 Py_INCREF(Py_None
); resultobj
= Py_None
;
11080 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxDC
*arg1
= (wxDC
*) 0 ;
11083 wxPoint
*arg2
= 0 ;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 PyObject
* obj2
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self",(char *) "pt",(char *) "sz", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11103 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxDC
*arg1
= (wxDC
*) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11130 PyObject
* obj3
= 0 ;
11131 PyObject
* obj4
= 0 ;
11132 PyObject
* obj5
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11140 arg2
= (int) SWIG_AsInt(obj1
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11142 arg3
= (int) SWIG_AsInt(obj2
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11144 arg4
= (int) SWIG_AsInt(obj3
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11146 arg5
= (int) SWIG_AsInt(obj4
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11148 arg6
= (double) SWIG_AsDouble(obj5
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 Py_INCREF(Py_None
); resultobj
= Py_None
;
11164 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxDC
*arg1
= (wxDC
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 PyObject
* obj2
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self",(char *) "r",(char *) "radius", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11182 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11184 arg3
= (double) SWIG_AsDouble(obj2
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 Py_INCREF(Py_None
); resultobj
= Py_None
;
11200 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxDC
*arg1
= (wxDC
*) 0 ;
11203 wxPoint
*arg2
= 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 PyObject
* obj2
= 0 ;
11211 PyObject
* obj3
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11225 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11227 arg4
= (double) SWIG_AsDouble(obj3
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 Py_INCREF(Py_None
); resultobj
= Py_None
;
11243 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxDC
*arg1
= (wxDC
*) 0 ;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 PyObject
* obj2
= 0 ;
11252 PyObject
* obj3
= 0 ;
11253 char *kwnames
[] = {
11254 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11260 arg2
= (int) SWIG_AsInt(obj1
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11262 arg3
= (int) SWIG_AsInt(obj2
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11264 arg4
= (int) SWIG_AsInt(obj3
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 Py_INCREF(Py_None
); resultobj
= Py_None
;
11280 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxDC
*arg1
= (wxDC
*) 0 ;
11283 wxPoint
*arg2
= 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 PyObject
* obj2
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "pt",(char *) "radius", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11300 arg3
= (int) SWIG_AsInt(obj2
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 Py_INCREF(Py_None
); resultobj
= Py_None
;
11316 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxDC
*arg1
= (wxDC
*) 0 ;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 PyObject
* obj2
= 0 ;
11326 PyObject
* obj3
= 0 ;
11327 PyObject
* obj4
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11335 arg2
= (int) SWIG_AsInt(obj1
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11337 arg3
= (int) SWIG_AsInt(obj2
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11339 arg4
= (int) SWIG_AsInt(obj3
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11341 arg5
= (int) SWIG_AsInt(obj4
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 Py_INCREF(Py_None
); resultobj
= Py_None
;
11357 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxDC
*arg1
= (wxDC
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self",(char *) "rect", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11373 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 Py_INCREF(Py_None
); resultobj
= Py_None
;
11389 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxDC
*arg1
= (wxDC
*) 0 ;
11392 wxPoint
*arg2
= 0 ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "pt",(char *) "sz", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11412 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 Py_INCREF(Py_None
); resultobj
= Py_None
;
11428 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
;
11430 wxDC
*arg1
= (wxDC
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 PyObject
* obj1
= 0 ;
11436 PyObject
* obj2
= 0 ;
11437 PyObject
* obj3
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11448 if (arg2
== NULL
) {
11449 PyErr_SetString(PyExc_TypeError
,"null reference");
11452 arg3
= (int) SWIG_AsInt(obj2
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11454 arg4
= (int) SWIG_AsInt(obj3
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 Py_INCREF(Py_None
); resultobj
= Py_None
;
11470 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxDC
*arg1
= (wxDC
*) 0 ;
11474 wxPoint
*arg3
= 0 ;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 PyObject
* obj2
= 0 ;
11479 char *kwnames
[] = {
11480 (char *) "self",(char *) "icon",(char *) "pt", NULL
11483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11489 if (arg2
== NULL
) {
11490 PyErr_SetString(PyExc_TypeError
,"null reference");
11495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 Py_INCREF(Py_None
); resultobj
= Py_None
;
11511 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxDC
*arg1
= (wxDC
*) 0 ;
11514 wxBitmap
*arg2
= 0 ;
11517 bool arg5
= (bool) False
;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 PyObject
* obj2
= 0 ;
11521 PyObject
* obj3
= 0 ;
11522 PyObject
* obj4
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11533 if (arg2
== NULL
) {
11534 PyErr_SetString(PyExc_TypeError
,"null reference");
11537 arg3
= (int) SWIG_AsInt(obj2
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11539 arg4
= (int) SWIG_AsInt(obj3
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 arg5
= (bool) SWIG_AsBool(obj4
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 Py_INCREF(Py_None
); resultobj
= Py_None
;
11559 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxDC
*arg1
= (wxDC
*) 0 ;
11562 wxBitmap
*arg2
= 0 ;
11563 wxPoint
*arg3
= 0 ;
11564 bool arg4
= (bool) False
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",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
;
11577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11580 if (arg2
== NULL
) {
11581 PyErr_SetString(PyExc_TypeError
,"null reference");
11586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11589 arg4
= (bool) SWIG_AsBool(obj3
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 Py_INCREF(Py_None
); resultobj
= Py_None
;
11606 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
;
11608 wxDC
*arg1
= (wxDC
*) 0 ;
11609 wxString
*arg2
= 0 ;
11612 bool temp2
= False
;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 PyObject
* obj2
= 0 ;
11616 PyObject
* obj3
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11625 arg2
= wxString_in_helper(obj1
);
11626 if (arg2
== NULL
) SWIG_fail
;
11629 arg3
= (int) SWIG_AsInt(obj2
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11631 arg4
= (int) SWIG_AsInt(obj3
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 Py_INCREF(Py_None
); resultobj
= Py_None
;
11655 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxDC
*arg1
= (wxDC
*) 0 ;
11658 wxString
*arg2
= 0 ;
11659 wxPoint
*arg3
= 0 ;
11660 bool temp2
= False
;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 PyObject
* obj2
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "text",(char *) "pt", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11673 arg2
= wxString_in_helper(obj1
);
11674 if (arg2
== NULL
) SWIG_fail
;
11679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxDC
*arg1
= (wxDC
*) 0 ;
11706 wxString
*arg2
= 0 ;
11710 bool temp2
= False
;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 PyObject
* obj2
= 0 ;
11714 PyObject
* obj3
= 0 ;
11715 PyObject
* obj4
= 0 ;
11716 char *kwnames
[] = {
11717 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11724 arg2
= wxString_in_helper(obj1
);
11725 if (arg2
== NULL
) SWIG_fail
;
11728 arg3
= (int) SWIG_AsInt(obj2
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11730 arg4
= (int) SWIG_AsInt(obj3
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11732 arg5
= (double) SWIG_AsDouble(obj4
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11756 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxDC
*arg1
= (wxDC
*) 0 ;
11759 wxString
*arg2
= 0 ;
11760 wxPoint
*arg3
= 0 ;
11762 bool temp2
= False
;
11764 PyObject
* obj0
= 0 ;
11765 PyObject
* obj1
= 0 ;
11766 PyObject
* obj2
= 0 ;
11767 PyObject
* obj3
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 arg2
= wxString_in_helper(obj1
);
11777 if (arg2
== NULL
) SWIG_fail
;
11782 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11784 arg4
= (double) SWIG_AsDouble(obj3
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxDC
*arg1
= (wxDC
*) 0 ;
11815 wxDC
*arg6
= (wxDC
*) 0 ;
11818 int arg9
= (int) wxCOPY
;
11819 bool arg10
= (bool) False
;
11820 int arg11
= (int) -1 ;
11821 int arg12
= (int) -1 ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 PyObject
* obj2
= 0 ;
11826 PyObject
* obj3
= 0 ;
11827 PyObject
* obj4
= 0 ;
11828 PyObject
* obj5
= 0 ;
11829 PyObject
* obj6
= 0 ;
11830 PyObject
* obj7
= 0 ;
11831 PyObject
* obj8
= 0 ;
11832 PyObject
* obj9
= 0 ;
11833 PyObject
* obj10
= 0 ;
11834 PyObject
* obj11
= 0 ;
11835 char *kwnames
[] = {
11836 (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
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11842 arg2
= (int) SWIG_AsInt(obj1
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11844 arg3
= (int) SWIG_AsInt(obj2
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11846 arg4
= (int) SWIG_AsInt(obj3
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11848 arg5
= (int) SWIG_AsInt(obj4
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11850 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11852 arg7
= (int) SWIG_AsInt(obj6
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11854 arg8
= (int) SWIG_AsInt(obj7
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 arg9
= (int) SWIG_AsInt(obj8
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11861 arg10
= (bool) SWIG_AsBool(obj9
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 arg11
= (int) SWIG_AsInt(obj10
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11869 arg12
= (int) SWIG_AsInt(obj11
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11888 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxDC
*arg1
= (wxDC
*) 0 ;
11891 wxPoint
*arg2
= 0 ;
11893 wxDC
*arg4
= (wxDC
*) 0 ;
11894 wxPoint
*arg5
= 0 ;
11895 int arg6
= (int) wxCOPY
;
11896 bool arg7
= (bool) False
;
11897 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11898 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 PyObject
* obj2
= 0 ;
11907 PyObject
* obj3
= 0 ;
11908 PyObject
* obj4
= 0 ;
11909 PyObject
* obj5
= 0 ;
11910 PyObject
* obj6
= 0 ;
11911 PyObject
* obj7
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11925 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11927 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11931 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11934 arg6
= (int) SWIG_AsInt(obj5
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11938 arg7
= (bool) SWIG_AsBool(obj6
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11944 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11963 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxDC
*arg1
= (wxDC
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 PyObject
* obj2
= 0 ;
11973 PyObject
* obj3
= 0 ;
11974 PyObject
* obj4
= 0 ;
11975 char *kwnames
[] = {
11976 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11982 arg2
= (int) SWIG_AsInt(obj1
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11984 arg3
= (int) SWIG_AsInt(obj2
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11986 arg4
= (int) SWIG_AsInt(obj3
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11988 arg5
= (int) SWIG_AsInt(obj4
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 Py_INCREF(Py_None
); resultobj
= Py_None
;
12004 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxDC
*arg1
= (wxDC
*) 0 ;
12007 wxPoint
*arg2
= 0 ;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 PyObject
* obj2
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self",(char *) "pt",(char *) "sz", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12027 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 Py_INCREF(Py_None
); resultobj
= Py_None
;
12043 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxDC
*arg1
= (wxDC
*) 0 ;
12046 wxRegion
*arg2
= 0 ;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self",(char *) "region", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12059 if (arg2
== NULL
) {
12060 PyErr_SetString(PyExc_TypeError
,"null reference");
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 Py_INCREF(Py_None
); resultobj
= Py_None
;
12077 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxDC
*arg1
= (wxDC
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self",(char *) "rect", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 Py_INCREF(Py_None
); resultobj
= Py_None
;
12109 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxDC
*arg1
= (wxDC
*) 0 ;
12113 wxPoint
*arg3
= (wxPoint
*) 0 ;
12114 int arg4
= (int) 0 ;
12115 int arg5
= (int) 0 ;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 PyObject
* obj2
= 0 ;
12119 PyObject
* obj3
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12128 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12129 if (arg3
== NULL
) SWIG_fail
;
12132 arg4
= (int) SWIG_AsInt(obj2
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 arg5
= (int) SWIG_AsInt(obj3
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 Py_INCREF(Py_None
); resultobj
= Py_None
;
12148 if (arg3
) delete [] arg3
;
12153 if (arg3
) delete [] arg3
;
12159 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
;
12161 wxDC
*arg1
= (wxDC
*) 0 ;
12163 wxPoint
*arg3
= (wxPoint
*) 0 ;
12164 int arg4
= (int) 0 ;
12165 int arg5
= (int) 0 ;
12166 int arg6
= (int) wxODDEVEN_RULE
;
12167 PyObject
* obj0
= 0 ;
12168 PyObject
* obj1
= 0 ;
12169 PyObject
* obj2
= 0 ;
12170 PyObject
* obj3
= 0 ;
12171 PyObject
* obj4
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12180 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12181 if (arg3
== NULL
) SWIG_fail
;
12184 arg4
= (int) SWIG_AsInt(obj2
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 arg5
= (int) SWIG_AsInt(obj3
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 arg6
= (int) SWIG_AsInt(obj4
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 Py_INCREF(Py_None
); resultobj
= Py_None
;
12204 if (arg3
) delete [] arg3
;
12209 if (arg3
) delete [] arg3
;
12215 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxDC
*arg1
= (wxDC
*) 0 ;
12218 wxString
*arg2
= 0 ;
12220 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12221 int arg5
= (int) -1 ;
12222 bool temp2
= False
;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 PyObject
* obj2
= 0 ;
12227 PyObject
* obj3
= 0 ;
12228 PyObject
* obj4
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12237 arg2
= wxString_in_helper(obj1
);
12238 if (arg2
== NULL
) SWIG_fail
;
12243 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12246 arg4
= (int) SWIG_AsInt(obj3
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 arg5
= (int) SWIG_AsInt(obj4
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 Py_INCREF(Py_None
); resultobj
= Py_None
;
12275 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxDC
*arg1
= (wxDC
*) 0 ;
12278 wxString
*arg2
= 0 ;
12279 wxBitmap
*arg3
= 0 ;
12281 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12282 int arg6
= (int) -1 ;
12284 bool temp2
= False
;
12286 PyObject
* obj0
= 0 ;
12287 PyObject
* obj1
= 0 ;
12288 PyObject
* obj2
= 0 ;
12289 PyObject
* obj3
= 0 ;
12290 PyObject
* obj4
= 0 ;
12291 PyObject
* obj5
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 arg2
= wxString_in_helper(obj1
);
12301 if (arg2
== NULL
) SWIG_fail
;
12304 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12307 if (arg3
== NULL
) {
12308 PyErr_SetString(PyExc_TypeError
,"null reference");
12313 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12316 arg5
= (int) SWIG_AsInt(obj4
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 arg6
= (int) SWIG_AsInt(obj5
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12331 wxRect
* resultptr
;
12332 resultptr
= new wxRect((wxRect
&) result
);
12333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12349 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxDC
*arg1
= (wxDC
*) 0 ;
12353 wxPoint
*arg3
= (wxPoint
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 PyObject
* obj1
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self",(char *) "points", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12365 if (arg3
== NULL
) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 (arg1
)->DrawSpline(arg2
,arg3
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 Py_INCREF(Py_None
); resultobj
= Py_None
;
12376 if (arg3
) delete [] arg3
;
12381 if (arg3
) delete [] arg3
;
12387 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxDC
*arg1
= (wxDC
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 Py_INCREF(Py_None
); resultobj
= Py_None
;
12412 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxDC
*arg1
= (wxDC
*) 0 ;
12415 wxString
*arg2
= 0 ;
12417 bool temp2
= False
;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj1
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self",(char *) "message", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12428 arg2
= wxString_in_helper(obj1
);
12429 if (arg2
== NULL
) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12456 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxDC
*arg1
= (wxDC
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 Py_INCREF(Py_None
); resultobj
= Py_None
;
12481 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxDC
*arg1
= (wxDC
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 (arg1
)->StartPage();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 Py_INCREF(Py_None
); resultobj
= Py_None
;
12506 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxDC
*arg1
= (wxDC
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 Py_INCREF(Py_None
); resultobj
= Py_None
;
12531 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxDC
*arg1
= (wxDC
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self",(char *) "font", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12547 if (arg2
== NULL
) {
12548 PyErr_SetString(PyExc_TypeError
,"null reference");
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 (arg1
)->SetFont((wxFont
const &)*arg2
);
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 Py_INCREF(Py_None
); resultobj
= Py_None
;
12565 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxDC
*arg1
= (wxDC
*) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 PyObject
* obj1
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self",(char *) "pen", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12581 if (arg2
== NULL
) {
12582 PyErr_SetString(PyExc_TypeError
,"null reference");
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 (arg1
)->SetPen((wxPen
const &)*arg2
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 Py_INCREF(Py_None
); resultobj
= Py_None
;
12599 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxDC
*arg1
= (wxDC
*) 0 ;
12602 wxBrush
*arg2
= 0 ;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self",(char *) "brush", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12615 if (arg2
== NULL
) {
12616 PyErr_SetString(PyExc_TypeError
,"null reference");
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 Py_INCREF(Py_None
); resultobj
= Py_None
;
12633 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
;
12635 wxDC
*arg1
= (wxDC
*) 0 ;
12636 wxBrush
*arg2
= 0 ;
12637 PyObject
* obj0
= 0 ;
12638 PyObject
* obj1
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self",(char *) "brush", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12649 if (arg2
== NULL
) {
12650 PyErr_SetString(PyExc_TypeError
,"null reference");
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxDC
*arg1
= (wxDC
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 PyObject
* obj1
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self",(char *) "mode", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12680 arg2
= (int) SWIG_AsInt(obj1
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->SetBackgroundMode(arg2
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 Py_INCREF(Py_None
); resultobj
= Py_None
;
12696 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxDC
*arg1
= (wxDC
*) 0 ;
12699 wxPalette
*arg2
= 0 ;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self",(char *) "palette", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12712 if (arg2
== NULL
) {
12713 PyErr_SetString(PyExc_TypeError
,"null reference");
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 Py_INCREF(Py_None
); resultobj
= Py_None
;
12730 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxDC
*arg1
= (wxDC
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 (arg1
)->DestroyClippingRegion();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxDC
*arg1
= (wxDC
*) 0 ;
12758 int *arg2
= (int *) 0 ;
12759 int *arg3
= (int *) 0 ;
12760 int *arg4
= (int *) 0 ;
12761 int *arg5
= (int *) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self", NULL
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12788 resultobj
= t_output_helper(resultobj
,o
);
12791 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12792 resultobj
= t_output_helper(resultobj
,o
);
12795 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12796 resultobj
= t_output_helper(resultobj
,o
);
12799 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12800 resultobj
= t_output_helper(resultobj
,o
);
12808 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxDC
*arg1
= (wxDC
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 result
= wxDC_GetClippingRect(arg1
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12828 wxRect
* resultptr
;
12829 resultptr
= new wxRect((wxRect
&) result
);
12830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12838 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxDC
*arg1
= (wxDC
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_FromInt((int)result
);
12864 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxDC
*arg1
= (wxDC
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= SWIG_FromInt((int)result
);
12890 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxDC
*arg1
= (wxDC
*) 0 ;
12893 wxString
*arg2
= 0 ;
12894 int *arg3
= (int *) 0 ;
12895 int *arg4
= (int *) 0 ;
12896 bool temp2
= False
;
12899 PyObject
* obj0
= 0 ;
12900 PyObject
* obj1
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self",(char *) "string", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12911 arg2
= wxString_in_helper(obj1
);
12912 if (arg2
== NULL
) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12925 resultobj
= t_output_helper(resultobj
,o
);
12928 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12929 resultobj
= t_output_helper(resultobj
,o
);
12945 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxDC
*arg1
= (wxDC
*) 0 ;
12948 wxString
*arg2
= 0 ;
12949 int *arg3
= (int *) 0 ;
12950 int *arg4
= (int *) 0 ;
12951 int *arg5
= (int *) 0 ;
12952 int *arg6
= (int *) 0 ;
12953 wxFont
*arg7
= (wxFont
*) NULL
;
12954 bool temp2
= False
;
12959 PyObject
* obj0
= 0 ;
12960 PyObject
* obj1
= 0 ;
12961 PyObject
* obj2
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self",(char *) "string",(char *) "font", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12974 arg2
= wxString_in_helper(obj1
);
12975 if (arg2
== NULL
) SWIG_fail
;
12979 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 Py_INCREF(Py_None
); resultobj
= Py_None
;
12991 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12992 resultobj
= t_output_helper(resultobj
,o
);
12995 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12996 resultobj
= t_output_helper(resultobj
,o
);
12999 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13000 resultobj
= t_output_helper(resultobj
,o
);
13003 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13004 resultobj
= t_output_helper(resultobj
,o
);
13020 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxDC
*arg1
= (wxDC
*) 0 ;
13023 wxString
*arg2
= 0 ;
13024 int *arg3
= (int *) 0 ;
13025 int *arg4
= (int *) 0 ;
13026 int *arg5
= (int *) 0 ;
13027 wxFont
*arg6
= (wxFont
*) NULL
;
13028 bool temp2
= False
;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj1
= 0 ;
13034 PyObject
* obj2
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self",(char *) "text",(char *) "font", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13046 arg2
= wxString_in_helper(obj1
);
13047 if (arg2
== NULL
) SWIG_fail
;
13051 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 Py_INCREF(Py_None
); resultobj
= Py_None
;
13063 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13064 resultobj
= t_output_helper(resultobj
,o
);
13067 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13068 resultobj
= t_output_helper(resultobj
,o
);
13071 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13072 resultobj
= t_output_helper(resultobj
,o
);
13088 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxDC
*arg1
= (wxDC
*) 0 ;
13091 wxString
*arg2
= 0 ;
13093 bool temp2
= False
;
13094 PyObject
* obj0
= 0 ;
13095 PyObject
* obj1
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self",(char *) "text", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13104 arg2
= wxString_in_helper(obj1
);
13105 if (arg2
== NULL
) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= PyList_New(0);
13118 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13119 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13120 PyList_Append(resultobj
, val
);
13138 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxDC
*arg1
= (wxDC
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (arg1
)->GetSize();
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13158 wxSize
* resultptr
;
13159 resultptr
= new wxSize((wxSize
&) result
);
13160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13168 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
;
13170 wxDC
*arg1
= (wxDC
*) 0 ;
13171 int *arg2
= (int *) 0 ;
13172 int *arg3
= (int *) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 (arg1
)->GetSize(arg2
,arg3
);
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13195 resultobj
= t_output_helper(resultobj
,o
);
13198 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13199 resultobj
= t_output_helper(resultobj
,o
);
13207 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxDC
*arg1
= (wxDC
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13227 wxSize
* resultptr
;
13228 resultptr
= new wxSize((wxSize
&) result
);
13229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13237 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxDC
*arg1
= (wxDC
*) 0 ;
13240 int *arg2
= (int *) 0 ;
13241 int *arg3
= (int *) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 Py_INCREF(Py_None
); resultobj
= Py_None
;
13263 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13264 resultobj
= t_output_helper(resultobj
,o
);
13267 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13268 resultobj
= t_output_helper(resultobj
,o
);
13276 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxDC
*arg1
= (wxDC
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self",(char *) "x", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 arg2
= (int) SWIG_AsInt(obj1
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_FromInt((int)result
);
13306 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxDC
*arg1
= (wxDC
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "self",(char *) "y", NULL
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 arg2
= (int) SWIG_AsInt(obj1
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_FromInt((int)result
);
13336 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxDC
*arg1
= (wxDC
*) 0 ;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self",(char *) "x", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13350 arg2
= (int) SWIG_AsInt(obj1
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13359 resultobj
= SWIG_FromInt((int)result
);
13366 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
;
13368 wxDC
*arg1
= (wxDC
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self",(char *) "y", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13380 arg2
= (int) SWIG_AsInt(obj1
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= SWIG_FromInt((int)result
);
13396 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxDC
*arg1
= (wxDC
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self",(char *) "x", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13410 arg2
= (int) SWIG_AsInt(obj1
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= SWIG_FromInt((int)result
);
13426 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxDC
*arg1
= (wxDC
*) 0 ;
13431 PyObject
* obj0
= 0 ;
13432 PyObject
* obj1
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self",(char *) "y", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13440 arg2
= (int) SWIG_AsInt(obj1
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= SWIG_FromInt((int)result
);
13456 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxDC
*arg1
= (wxDC
*) 0 ;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self",(char *) "x", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13470 arg2
= (int) SWIG_AsInt(obj1
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_FromInt((int)result
);
13486 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxDC
*arg1
= (wxDC
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self",(char *) "y", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 arg2
= (int) SWIG_AsInt(obj1
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= SWIG_FromInt((int)result
);
13516 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxDC
*arg1
= (wxDC
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13544 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxDC
*arg1
= (wxDC
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13572 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxDC
*arg1
= (wxDC
*) 0 ;
13576 PyObject
* obj0
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_FromInt((int)result
);
13598 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxDC
*arg1
= (wxDC
*) 0 ;
13602 PyObject
* obj0
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= ((wxDC
const *)arg1
)->GetPPI();
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 wxSize
* resultptr
;
13619 resultptr
= new wxSize((wxSize
&) result
);
13620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13628 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxDC
*arg1
= (wxDC
*) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "self", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (bool)((wxDC
const *)arg1
)->Ok();
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13656 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxDC
*arg1
= (wxDC
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_FromInt((int)result
);
13682 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxDC
*arg1
= (wxDC
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13698 result
= (wxBrush
*) &_result_ref
;
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 wxBrush
* resultptr
= new wxBrush(*result
);
13706 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13714 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxDC
*arg1
= (wxDC
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13730 result
= (wxBrush
*) &_result_ref
;
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 wxBrush
* resultptr
= new wxBrush(*result
);
13738 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13746 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxDC
*arg1
= (wxDC
*) 0 ;
13750 PyObject
* obj0
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13762 result
= (wxFont
*) &_result_ref
;
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13769 wxFont
* resultptr
= new wxFont(*result
);
13770 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13778 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxDC
*arg1
= (wxDC
*) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13794 result
= (wxPen
*) &_result_ref
;
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13801 wxPen
* resultptr
= new wxPen(*result
);
13802 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13810 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxDC
*arg1
= (wxDC
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13826 result
= (wxColour
*) &_result_ref
;
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13839 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxDC
*arg1
= (wxDC
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13855 result
= (wxColour
*) &_result_ref
;
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13868 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxDC
*arg1
= (wxDC
*) 0 ;
13871 wxColour
*arg2
= 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self",(char *) "colour", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 Py_INCREF(Py_None
); resultobj
= Py_None
;
13900 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxDC
*arg1
= (wxDC
*) 0 ;
13903 wxColour
*arg2
= 0 ;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self",(char *) "colour", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 Py_INCREF(Py_None
); resultobj
= Py_None
;
13932 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxDC
*arg1
= (wxDC
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_FromInt((int)result
);
13958 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxDC
*arg1
= (wxDC
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "self",(char *) "mode", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13971 arg2
= (int) SWIG_AsInt(obj1
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 (arg1
)->SetMapMode(arg2
);
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 Py_INCREF(Py_None
); resultobj
= Py_None
;
13987 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxDC
*arg1
= (wxDC
*) 0 ;
13990 double *arg2
= (double *) 0 ;
13991 double *arg3
= (double *) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self", NULL
14001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 Py_INCREF(Py_None
); resultobj
= Py_None
;
14013 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14014 resultobj
= t_output_helper(resultobj
,o
);
14017 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14018 resultobj
= t_output_helper(resultobj
,o
);
14026 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxDC
*arg1
= (wxDC
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 PyObject
* obj2
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self",(char *) "x",(char *) "y", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14041 arg2
= (double) SWIG_AsDouble(obj1
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14043 arg3
= (double) SWIG_AsDouble(obj2
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->SetUserScale(arg2
,arg3
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14059 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxDC
*arg1
= (wxDC
*) 0 ;
14062 double *arg2
= (double *) 0 ;
14063 double *arg3
= (double *) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 (arg1
)->GetLogicalScale(arg2
,arg3
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 Py_INCREF(Py_None
); resultobj
= Py_None
;
14085 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14086 resultobj
= t_output_helper(resultobj
,o
);
14089 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14090 resultobj
= t_output_helper(resultobj
,o
);
14098 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
;
14100 wxDC
*arg1
= (wxDC
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 PyObject
* obj1
= 0 ;
14105 PyObject
* obj2
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self",(char *) "x",(char *) "y", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14113 arg2
= (double) SWIG_AsDouble(obj1
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14115 arg3
= (double) SWIG_AsDouble(obj2
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 (arg1
)->SetLogicalScale(arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxDC
*arg1
= (wxDC
*) 0 ;
14135 PyObject
* obj0
= 0 ;
14136 char *kwnames
[] = {
14137 (char *) "self", NULL
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14151 wxPoint
* resultptr
;
14152 resultptr
= new wxPoint((wxPoint
&) result
);
14153 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14161 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxDC
*arg1
= (wxDC
*) 0 ;
14164 int *arg2
= (int *) 0 ;
14165 int *arg3
= (int *) 0 ;
14168 PyObject
* obj0
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 Py_INCREF(Py_None
); resultobj
= Py_None
;
14187 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14188 resultobj
= t_output_helper(resultobj
,o
);
14191 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14192 resultobj
= t_output_helper(resultobj
,o
);
14200 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxDC
*arg1
= (wxDC
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 PyObject
* obj1
= 0 ;
14207 PyObject
* obj2
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self",(char *) "x",(char *) "y", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14215 arg2
= (int) SWIG_AsInt(obj1
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14217 arg3
= (int) SWIG_AsInt(obj2
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 Py_INCREF(Py_None
); resultobj
= Py_None
;
14233 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
;
14235 wxDC
*arg1
= (wxDC
*) 0 ;
14236 wxPoint
*arg2
= 0 ;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "point", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 Py_INCREF(Py_None
); resultobj
= Py_None
;
14265 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxDC
*arg1
= (wxDC
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 wxPoint
* resultptr
;
14286 resultptr
= new wxPoint((wxPoint
&) result
);
14287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14295 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxDC
*arg1
= (wxDC
*) 0 ;
14298 int *arg2
= (int *) 0 ;
14299 int *arg3
= (int *) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14322 resultobj
= t_output_helper(resultobj
,o
);
14325 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14326 resultobj
= t_output_helper(resultobj
,o
);
14334 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxDC
*arg1
= (wxDC
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 PyObject
* obj1
= 0 ;
14341 PyObject
* obj2
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self",(char *) "x",(char *) "y", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 arg2
= (int) SWIG_AsInt(obj1
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14351 arg3
= (int) SWIG_AsInt(obj2
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 Py_INCREF(Py_None
); resultobj
= Py_None
;
14367 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxDC
*arg1
= (wxDC
*) 0 ;
14370 wxPoint
*arg2
= 0 ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self",(char *) "point", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14383 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 Py_INCREF(Py_None
); resultobj
= Py_None
;
14399 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxDC
*arg1
= (wxDC
*) 0 ;
14404 PyObject
* obj0
= 0 ;
14405 PyObject
* obj1
= 0 ;
14406 PyObject
* obj2
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14414 arg2
= (bool) SWIG_AsBool(obj1
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14416 arg3
= (bool) SWIG_AsBool(obj2
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 Py_INCREF(Py_None
); resultobj
= Py_None
;
14432 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxDC
*arg1
= (wxDC
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_FromInt((int)result
);
14458 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxDC
*arg1
= (wxDC
*) 0 ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self",(char *) "function", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 arg2
= (int) SWIG_AsInt(obj1
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 (arg1
)->SetLogicalFunction(arg2
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 Py_INCREF(Py_None
); resultobj
= Py_None
;
14487 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxDC
*arg1
= (wxDC
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self",(char *) "optimize", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14500 arg2
= (bool) SWIG_AsBool(obj1
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->SetOptimization(arg2
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 Py_INCREF(Py_None
); resultobj
= Py_None
;
14516 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxDC
*arg1
= (wxDC
*) 0 ;
14520 PyObject
* obj0
= 0 ;
14521 char *kwnames
[] = {
14522 (char *) "self", NULL
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)(arg1
)->GetOptimization();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14544 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxDC
*arg1
= (wxDC
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 PyObject
* obj2
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self",(char *) "x",(char *) "y", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 arg2
= (int) SWIG_AsInt(obj1
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14561 arg3
= (int) SWIG_AsInt(obj2
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 Py_INCREF(Py_None
); resultobj
= Py_None
;
14577 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
;
14579 wxDC
*arg1
= (wxDC
*) 0 ;
14580 wxPoint
*arg2
= 0 ;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "point", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 Py_INCREF(Py_None
); resultobj
= Py_None
;
14609 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxDC
*arg1
= (wxDC
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 (arg1
)->ResetBoundingBox();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 Py_INCREF(Py_None
); resultobj
= Py_None
;
14634 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxDC
*arg1
= (wxDC
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (int)((wxDC
const *)arg1
)->MinX();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_FromInt((int)result
);
14660 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxDC
*arg1
= (wxDC
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (int)((wxDC
const *)arg1
)->MaxX();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= SWIG_FromInt((int)result
);
14686 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxDC
*arg1
= (wxDC
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (int)((wxDC
const *)arg1
)->MinY();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_FromInt((int)result
);
14712 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxDC
*arg1
= (wxDC
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (int)((wxDC
const *)arg1
)->MaxY();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= SWIG_FromInt((int)result
);
14738 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
;
14740 wxDC
*arg1
= (wxDC
*) 0 ;
14741 int *arg2
= (int *) 0 ;
14742 int *arg3
= (int *) 0 ;
14743 int *arg4
= (int *) 0 ;
14744 int *arg5
= (int *) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 Py_INCREF(Py_None
); resultobj
= Py_None
;
14770 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14771 resultobj
= t_output_helper(resultobj
,o
);
14774 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14775 resultobj
= t_output_helper(resultobj
,o
);
14778 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14779 resultobj
= t_output_helper(resultobj
,o
);
14782 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14783 resultobj
= t_output_helper(resultobj
,o
);
14791 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxDC
*arg1
= (wxDC
*) 0 ;
14794 PyObject
*arg2
= (PyObject
*) 0 ;
14795 PyObject
*arg3
= (PyObject
*) 0 ;
14796 PyObject
*arg4
= (PyObject
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 PyObject
* obj2
= 0 ;
14801 PyObject
* obj3
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= result
;
14826 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxDC
*arg1
= (wxDC
*) 0 ;
14829 PyObject
*arg2
= (PyObject
*) 0 ;
14830 PyObject
*arg3
= (PyObject
*) 0 ;
14831 PyObject
*arg4
= (PyObject
*) 0 ;
14833 PyObject
* obj0
= 0 ;
14834 PyObject
* obj1
= 0 ;
14835 PyObject
* obj2
= 0 ;
14836 PyObject
* obj3
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= result
;
14861 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxDC
*arg1
= (wxDC
*) 0 ;
14864 PyObject
*arg2
= (PyObject
*) 0 ;
14865 PyObject
*arg3
= (PyObject
*) 0 ;
14866 PyObject
*arg4
= (PyObject
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 PyObject
* obj1
= 0 ;
14870 PyObject
* obj2
= 0 ;
14871 PyObject
* obj3
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 resultobj
= result
;
14896 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxDC
*arg1
= (wxDC
*) 0 ;
14899 PyObject
*arg2
= (PyObject
*) 0 ;
14900 PyObject
*arg3
= (PyObject
*) 0 ;
14901 PyObject
*arg4
= (PyObject
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 PyObject
* obj3
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= result
;
14931 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxDC
*arg1
= (wxDC
*) 0 ;
14934 PyObject
*arg2
= (PyObject
*) 0 ;
14935 PyObject
*arg3
= (PyObject
*) 0 ;
14936 PyObject
*arg4
= (PyObject
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 PyObject
* obj2
= 0 ;
14941 PyObject
* obj3
= 0 ;
14942 char *kwnames
[] = {
14943 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 resultobj
= result
;
14966 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxDC
*arg1
= (wxDC
*) 0 ;
14969 PyObject
*arg2
= (PyObject
*) 0 ;
14970 PyObject
*arg3
= (PyObject
*) 0 ;
14971 PyObject
*arg4
= (PyObject
*) 0 ;
14972 PyObject
*arg5
= (PyObject
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 PyObject
* obj2
= 0 ;
14977 PyObject
* obj3
= 0 ;
14978 PyObject
* obj4
= 0 ;
14979 char *kwnames
[] = {
14980 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
;
15004 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15007 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15009 return Py_BuildValue((char *)"");
15011 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxMemoryDC
*result
;
15014 char *kwnames
[] = {
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15020 if (!wxPyCheckForApp()) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (wxMemoryDC
*)new wxMemoryDC();
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15034 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxDC
*arg1
= (wxDC
*) 0 ;
15037 wxMemoryDC
*result
;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "oldDC", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 if (!wxPyCheckForApp()) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15061 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15064 wxBitmap
*arg2
= 0 ;
15065 PyObject
* obj0
= 0 ;
15066 PyObject
* obj1
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "bitmap", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15077 if (arg2
== NULL
) {
15078 PyErr_SetString(PyExc_TypeError
,"null reference");
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 Py_INCREF(Py_None
); resultobj
= Py_None
;
15095 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15098 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15100 return Py_BuildValue((char *)"");
15102 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15103 PyObject
*resultobj
;
15104 wxDC
*arg1
= (wxDC
*) 0 ;
15105 wxBitmap
*arg2
= 0 ;
15106 wxBufferedDC
*result
;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15110 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15116 if (arg2
== NULL
) {
15117 PyErr_SetString(PyExc_TypeError
,"null reference");
15121 if (!wxPyCheckForApp()) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15135 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15136 PyObject
*resultobj
;
15137 wxDC
*arg1
= (wxDC
*) 0 ;
15139 wxBufferedDC
*result
;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15144 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15149 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15152 if (!wxPyCheckForApp()) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15166 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15171 argc
= PyObject_Length(args
);
15172 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15173 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15179 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15189 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15197 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15205 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15214 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15217 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15222 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15227 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 Py_INCREF(Py_None
); resultobj
= Py_None
;
15252 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 Py_INCREF(Py_None
); resultobj
= Py_None
;
15277 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15280 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15282 return Py_BuildValue((char *)"");
15284 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxWindow
*arg1
= (wxWindow
*) 0 ;
15287 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15288 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15289 wxBufferedPaintDC
*result
;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "window",(char *) "buffer", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15303 if (arg2
== NULL
) {
15304 PyErr_SetString(PyExc_TypeError
,"null reference");
15309 if (!wxPyCheckForApp()) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15323 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15326 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15328 return Py_BuildValue((char *)"");
15330 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxScreenDC
*result
;
15333 char *kwnames
[] = {
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15339 if (!wxPyCheckForApp()) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (wxScreenDC
*)new wxScreenDC();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15353 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15356 wxWindow
*arg2
= (wxWindow
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self",(char *) "window", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15385 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15388 wxRect
*arg2
= (wxRect
*) NULL
;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "rect", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15419 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (bool)(arg1
)->EndDrawingOnTop();
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15447 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15452 return Py_BuildValue((char *)"");
15454 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxWindow
*arg1
= (wxWindow
*) 0 ;
15457 wxClientDC
*result
;
15458 PyObject
* obj0
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "win", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 if (!wxPyCheckForApp()) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 result
= (wxClientDC
*)new wxClientDC(arg1
);
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15481 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15484 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15486 return Py_BuildValue((char *)"");
15488 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxWindow
*arg1
= (wxWindow
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "win", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 if (!wxPyCheckForApp()) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15515 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15518 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15520 return Py_BuildValue((char *)"");
15522 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxWindow
*arg1
= (wxWindow
*) 0 ;
15525 wxWindowDC
*result
;
15526 PyObject
* obj0
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "win", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15535 if (!wxPyCheckForApp()) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15549 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15552 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15554 return Py_BuildValue((char *)"");
15556 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15560 wxMirrorDC
*result
;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "dc",(char *) "mirror", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15571 if (arg1
== NULL
) {
15572 PyErr_SetString(PyExc_TypeError
,"null reference");
15575 arg2
= (bool) SWIG_AsBool(obj1
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15578 if (!wxPyCheckForApp()) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15592 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15595 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15597 return Py_BuildValue((char *)"");
15599 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxPrintData
*arg1
= 0 ;
15602 wxPostScriptDC
*result
;
15603 PyObject
* obj0
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "printData", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15612 if (arg1
== NULL
) {
15613 PyErr_SetString(PyExc_TypeError
,"null reference");
15617 if (!wxPyCheckForApp()) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15631 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15634 wxPrintData
*result
;
15635 PyObject
* obj0
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15647 result
= (wxPrintData
*) &_result_ref
;
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15660 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15663 wxPrintData
*arg2
= 0 ;
15664 PyObject
* obj0
= 0 ;
15665 PyObject
* obj1
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "data", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15676 if (arg2
== NULL
) {
15677 PyErr_SetString(PyExc_TypeError
,"null reference");
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 Py_INCREF(Py_None
); resultobj
= Py_None
;
15694 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15697 PyObject
* obj0
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "ppi", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15703 arg1
= (int) SWIG_AsInt(obj0
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 wxPostScriptDC::SetResolution(arg1
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 Py_INCREF(Py_None
); resultobj
= Py_None
;
15719 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15722 char *kwnames
[] = {
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (int)wxPostScriptDC::GetResolution();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_FromInt((int)result
);
15741 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15744 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15746 return Py_BuildValue((char *)"");
15748 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15751 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15752 wxMetaFile
*result
;
15753 bool temp1
= False
;
15754 PyObject
* obj0
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "filename", NULL
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15762 arg1
= wxString_in_helper(obj0
);
15763 if (arg1
== NULL
) SWIG_fail
;
15768 if (!wxPyCheckForApp()) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15790 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 Py_INCREF(Py_None
); resultobj
= Py_None
;
15815 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 result
= (bool)(arg1
)->Ok();
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15843 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15846 int arg2
= (int) 0 ;
15847 int arg3
= (int) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 PyObject
* obj2
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "width",(char *) "height", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15860 arg2
= (int) SWIG_AsInt(obj1
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 arg3
= (int) SWIG_AsInt(obj2
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15883 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (arg1
)->GetSize();
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 wxSize
* resultptr
;
15904 resultptr
= new wxSize((wxSize
&) result
);
15905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15913 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (int)(arg1
)->GetWidth();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= SWIG_FromInt((int)result
);
15939 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (int)(arg1
)->GetHeight();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= SWIG_FromInt((int)result
);
15965 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15968 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15970 return Py_BuildValue((char *)"");
15972 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15975 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15976 int arg2
= (int) 0 ;
15977 int arg3
= (int) 0 ;
15978 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15980 wxMetaFileDC
*result
;
15981 bool temp1
= False
;
15982 bool temp4
= False
;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 PyObject
* obj2
= 0 ;
15986 PyObject
* obj3
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15994 arg1
= wxString_in_helper(obj0
);
15995 if (arg1
== NULL
) SWIG_fail
;
16000 arg2
= (int) SWIG_AsInt(obj1
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 arg3
= (int) SWIG_AsInt(obj2
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16009 arg4
= wxString_in_helper(obj3
);
16010 if (arg4
== NULL
) SWIG_fail
;
16015 if (!wxPyCheckForApp()) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16045 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16048 wxMetaFile
*result
;
16049 PyObject
* obj0
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= (wxMetaFile
*)(arg1
)->Close();
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16071 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16074 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16076 return Py_BuildValue((char *)"");
16078 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxPrintData
*arg1
= 0 ;
16081 wxPrinterDC
*result
;
16082 PyObject
* obj0
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "printData", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16091 if (arg1
== NULL
) {
16092 PyErr_SetString(PyExc_TypeError
,"null reference");
16096 if (!wxPyCheckForApp()) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16110 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16113 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16115 return Py_BuildValue((char *)"");
16117 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16121 int arg3
= (int) True
;
16122 int arg4
= (int) 1 ;
16123 wxImageList
*result
;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 PyObject
* obj2
= 0 ;
16127 PyObject
* obj3
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16133 arg1
= (int) SWIG_AsInt(obj0
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16135 arg2
= (int) SWIG_AsInt(obj1
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 arg3
= (int) SWIG_AsInt(obj2
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16142 arg4
= (int) SWIG_AsInt(obj3
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 if (!wxPyCheckForApp()) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= wxPyMake_wxObject(result
, 1);
16162 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxImageList
*arg1
= (wxImageList
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 Py_INCREF(Py_None
); resultobj
= Py_None
;
16187 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxImageList
*arg1
= (wxImageList
*) 0 ;
16190 wxBitmap
*arg2
= 0 ;
16191 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16192 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 PyObject
* obj2
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16207 if (arg2
== NULL
) {
16208 PyErr_SetString(PyExc_TypeError
,"null reference");
16212 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16215 if (arg3
== NULL
) {
16216 PyErr_SetString(PyExc_TypeError
,"null reference");
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= SWIG_FromInt((int)result
);
16234 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxImageList
*arg1
= (wxImageList
*) 0 ;
16237 wxBitmap
*arg2
= 0 ;
16238 wxColour
*arg3
= 0 ;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 PyObject
* obj2
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16254 if (arg2
== NULL
) {
16255 PyErr_SetString(PyExc_TypeError
,"null reference");
16260 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_FromInt((int)result
);
16276 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxImageList
*arg1
= (wxImageList
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "icon", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16293 if (arg2
== NULL
) {
16294 PyErr_SetString(PyExc_TypeError
,"null reference");
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= SWIG_FromInt((int)result
);
16311 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxImageList
*arg1
= (wxImageList
*) 0 ;
16315 wxBitmap
*arg3
= 0 ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 PyObject
* obj2
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16327 arg2
= (int) SWIG_AsInt(obj1
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16329 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16332 if (arg3
== NULL
) {
16333 PyErr_SetString(PyExc_TypeError
,"null reference");
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16352 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxImageList
*arg1
= (wxImageList
*) 0 ;
16359 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16360 bool arg7
= (bool) (bool)False
;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 PyObject
* obj2
= 0 ;
16365 PyObject
* obj3
= 0 ;
16366 PyObject
* obj4
= 0 ;
16367 PyObject
* obj5
= 0 ;
16368 PyObject
* obj6
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 arg2
= (int) SWIG_AsInt(obj1
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16378 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16381 if (arg3
== NULL
) {
16382 PyErr_SetString(PyExc_TypeError
,"null reference");
16385 arg4
= (int) SWIG_AsInt(obj3
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16387 arg5
= (int) SWIG_AsInt(obj4
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16390 arg6
= (int) SWIG_AsInt(obj5
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 arg7
= (bool const) SWIG_AsBool(obj6
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16413 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
;
16415 wxImageList
*arg1
= (wxImageList
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (int)(arg1
)->GetImageCount();
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= SWIG_FromInt((int)result
);
16439 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxImageList
*arg1
= (wxImageList
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "index", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16453 arg2
= (int) SWIG_AsInt(obj1
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (bool)(arg1
)->Remove(arg2
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16471 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxImageList
*arg1
= (wxImageList
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (bool)(arg1
)->RemoveAll();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16499 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxImageList
*arg1
= (wxImageList
*) 0 ;
16507 PyObject
* obj0
= 0 ;
16508 PyObject
* obj1
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self",(char *) "index", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16518 arg2
= (int) SWIG_AsInt(obj1
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 Py_INCREF(Py_None
); resultobj
= Py_None
;
16529 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16530 resultobj
= t_output_helper(resultobj
,o
);
16533 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16534 resultobj
= t_output_helper(resultobj
,o
);
16542 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16545 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16547 return Py_BuildValue((char *)"");
16549 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16550 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16555 static PyObject
*_wrap_NORMAL_FONT_get() {
16558 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16563 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16564 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16569 static PyObject
*_wrap_SMALL_FONT_get() {
16572 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16577 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16578 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16583 static PyObject
*_wrap_ITALIC_FONT_get() {
16586 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16591 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16592 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16597 static PyObject
*_wrap_SWISS_FONT_get() {
16600 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16605 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16606 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16611 static PyObject
*_wrap_RED_PEN_get() {
16614 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16619 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16620 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16625 static PyObject
*_wrap_CYAN_PEN_get() {
16628 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16633 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16634 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16639 static PyObject
*_wrap_GREEN_PEN_get() {
16642 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16647 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16648 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16653 static PyObject
*_wrap_BLACK_PEN_get() {
16656 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16661 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16662 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16667 static PyObject
*_wrap_WHITE_PEN_get() {
16670 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16675 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16676 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16681 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16684 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16689 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16690 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16695 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16698 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16703 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16704 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16709 static PyObject
*_wrap_GREY_PEN_get() {
16712 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16717 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16718 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16723 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16726 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16731 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16732 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16737 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16740 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16745 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16746 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16751 static PyObject
*_wrap_BLUE_BRUSH_get() {
16754 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16759 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16760 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16765 static PyObject
*_wrap_GREEN_BRUSH_get() {
16768 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16773 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16774 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16779 static PyObject
*_wrap_WHITE_BRUSH_get() {
16782 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16787 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16788 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16793 static PyObject
*_wrap_BLACK_BRUSH_get() {
16796 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16801 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16802 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16807 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16810 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16815 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16816 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16821 static PyObject
*_wrap_CYAN_BRUSH_get() {
16824 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16829 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16830 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16835 static PyObject
*_wrap_RED_BRUSH_get() {
16838 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16843 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16844 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16849 static PyObject
*_wrap_GREY_BRUSH_get() {
16852 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16857 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16858 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16863 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16866 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16871 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16872 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16877 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16880 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16885 static int _wrap_BLACK_set(PyObject
*_val
) {
16886 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16891 static PyObject
*_wrap_BLACK_get() {
16894 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16899 static int _wrap_WHITE_set(PyObject
*_val
) {
16900 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16905 static PyObject
*_wrap_WHITE_get() {
16908 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16913 static int _wrap_RED_set(PyObject
*_val
) {
16914 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16919 static PyObject
*_wrap_RED_get() {
16922 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16927 static int _wrap_BLUE_set(PyObject
*_val
) {
16928 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16933 static PyObject
*_wrap_BLUE_get() {
16936 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16941 static int _wrap_GREEN_set(PyObject
*_val
) {
16942 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16947 static PyObject
*_wrap_GREEN_get() {
16950 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16955 static int _wrap_CYAN_set(PyObject
*_val
) {
16956 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16961 static PyObject
*_wrap_CYAN_get() {
16964 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16969 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16970 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16975 static PyObject
*_wrap_LIGHT_GREY_get() {
16978 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16983 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16984 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16989 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16992 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16997 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16998 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17003 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17006 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17011 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17012 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17017 static PyObject
*_wrap_CROSS_CURSOR_get() {
17020 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17025 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17026 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17031 static PyObject
*_wrap_NullBitmap_get() {
17034 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17039 static int _wrap_NullIcon_set(PyObject
*_val
) {
17040 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17045 static PyObject
*_wrap_NullIcon_get() {
17048 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17053 static int _wrap_NullCursor_set(PyObject
*_val
) {
17054 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17059 static PyObject
*_wrap_NullCursor_get() {
17062 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17067 static int _wrap_NullPen_set(PyObject
*_val
) {
17068 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17073 static PyObject
*_wrap_NullPen_get() {
17076 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17081 static int _wrap_NullBrush_set(PyObject
*_val
) {
17082 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17087 static PyObject
*_wrap_NullBrush_get() {
17090 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17095 static int _wrap_NullPalette_set(PyObject
*_val
) {
17096 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17101 static PyObject
*_wrap_NullPalette_get() {
17104 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17109 static int _wrap_NullFont_set(PyObject
*_val
) {
17110 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17115 static PyObject
*_wrap_NullFont_get() {
17118 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17123 static int _wrap_NullColour_set(PyObject
*_val
) {
17124 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17129 static PyObject
*_wrap_NullColour_get() {
17132 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17137 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxPenList
*arg1
= (wxPenList
*) 0 ;
17140 wxPen
*arg2
= (wxPen
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "pen", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 (arg1
)->AddPen(arg2
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 Py_INCREF(Py_None
); resultobj
= Py_None
;
17166 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxPenList
*arg1
= (wxPenList
*) 0 ;
17169 wxColour
*arg2
= 0 ;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 PyObject
* obj2
= 0 ;
17177 PyObject
* obj3
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17187 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17189 arg3
= (int) SWIG_AsInt(obj2
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17191 arg4
= (int) SWIG_AsInt(obj3
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17207 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxPenList
*arg1
= (wxPenList
*) 0 ;
17210 wxPen
*arg2
= (wxPen
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self",(char *) "pen", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 (arg1
)->RemovePen(arg2
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 Py_INCREF(Py_None
); resultobj
= Py_None
;
17236 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxPenList
*arg1
= (wxPenList
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 result
= (int)(arg1
)->GetCount();
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_FromInt((int)result
);
17262 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17265 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17267 return Py_BuildValue((char *)"");
17269 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
;
17271 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17272 wxBrush
*arg2
= (wxBrush
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self",(char *) "brush", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 (arg1
)->AddBrush(arg2
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 Py_INCREF(Py_None
); resultobj
= Py_None
;
17298 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17301 wxColour
*arg2
= 0 ;
17305 PyObject
* obj0
= 0 ;
17306 PyObject
* obj1
= 0 ;
17307 PyObject
* obj2
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self",(char *) "colour",(char *) "style", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17317 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17319 arg3
= (int) SWIG_AsInt(obj2
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17335 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17338 wxBrush
*arg2
= (wxBrush
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "brush", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 (arg1
)->RemoveBrush(arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 Py_INCREF(Py_None
); resultobj
= Py_None
;
17364 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17366 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17368 PyObject
* obj0
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 result
= (int)(arg1
)->GetCount();
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= SWIG_FromInt((int)result
);
17390 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17393 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17395 return Py_BuildValue((char *)"");
17397 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxColourDatabase
*result
;
17400 char *kwnames
[] = {
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17406 if (!wxPyCheckForApp()) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 result
= (wxColourDatabase
*)new wxColourDatabase();
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17420 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
;
17422 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 Py_INCREF(Py_None
); resultobj
= Py_None
;
17445 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17448 wxString
*arg2
= 0 ;
17450 bool temp2
= False
;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 char *kwnames
[] = {
17454 (char *) "self",(char *) "name", NULL
17457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 arg2
= wxString_in_helper(obj1
);
17462 if (arg2
== NULL
) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17473 wxColour
* resultptr
;
17474 resultptr
= new wxColour((wxColour
&) result
);
17475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17491 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17494 wxColour
*arg2
= 0 ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self",(char *) "colour", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17530 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17533 wxString
*arg2
= 0 ;
17534 wxColour
*arg3
= 0 ;
17535 bool temp2
= False
;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 PyObject
* obj2
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self",(char *) "name",(char *) "colour", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 arg2
= wxString_in_helper(obj1
);
17549 if (arg2
== NULL
) SWIG_fail
;
17554 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 Py_INCREF(Py_None
); resultobj
= Py_None
;
17578 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17581 wxString
*arg2
= 0 ;
17585 bool temp2
= False
;
17586 PyObject
* obj0
= 0 ;
17587 PyObject
* obj1
= 0 ;
17588 PyObject
* obj2
= 0 ;
17589 PyObject
* obj3
= 0 ;
17590 PyObject
* obj4
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 arg2
= wxString_in_helper(obj1
);
17600 if (arg2
== NULL
) SWIG_fail
;
17603 arg3
= (int) SWIG_AsInt(obj2
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17605 arg4
= (int) SWIG_AsInt(obj3
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17607 arg5
= (int) SWIG_AsInt(obj4
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 Py_INCREF(Py_None
); resultobj
= Py_None
;
17631 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17634 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17636 return Py_BuildValue((char *)"");
17638 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxFontList
*arg1
= (wxFontList
*) 0 ;
17641 wxFont
*arg2
= (wxFont
*) 0 ;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self",(char *) "font", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 (arg1
)->AddFont(arg2
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 Py_INCREF(Py_None
); resultobj
= Py_None
;
17667 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
;
17669 wxFontList
*arg1
= (wxFontList
*) 0 ;
17674 bool arg6
= (bool) False
;
17675 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17677 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17679 bool temp7
= False
;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 PyObject
* obj2
= 0 ;
17683 PyObject
* obj3
= 0 ;
17684 PyObject
* obj4
= 0 ;
17685 PyObject
* obj5
= 0 ;
17686 PyObject
* obj6
= 0 ;
17687 PyObject
* obj7
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17695 arg2
= (int) SWIG_AsInt(obj1
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17697 arg3
= (int) SWIG_AsInt(obj2
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17699 arg4
= (int) SWIG_AsInt(obj3
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17701 arg5
= (int) SWIG_AsInt(obj4
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 arg6
= (bool) SWIG_AsBool(obj5
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17709 arg7
= wxString_in_helper(obj6
);
17710 if (arg7
== NULL
) SWIG_fail
;
17715 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17740 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxFontList
*arg1
= (wxFontList
*) 0 ;
17743 wxFont
*arg2
= (wxFont
*) 0 ;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self",(char *) "font", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 (arg1
)->RemoveFont(arg2
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 Py_INCREF(Py_None
); resultobj
= Py_None
;
17769 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxFontList
*arg1
= (wxFontList
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (int)(arg1
)->GetCount();
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= SWIG_FromInt((int)result
);
17795 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17798 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17800 return Py_BuildValue((char *)"");
17802 static int _wrap_TheFontList_set(PyObject
*_val
) {
17803 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17808 static PyObject
*_wrap_TheFontList_get() {
17811 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17816 static int _wrap_ThePenList_set(PyObject
*_val
) {
17817 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17822 static PyObject
*_wrap_ThePenList_get() {
17825 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17830 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17831 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17836 static PyObject
*_wrap_TheBrushList_get() {
17839 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17844 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17845 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17850 static PyObject
*_wrap_TheColourDatabase_get() {
17853 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17858 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17861 char *kwnames
[] = {
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (wxEffects
*)new wxEffects();
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17880 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxEffects
*arg1
= (wxEffects
*) 0 ;
17884 PyObject
* obj0
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17900 wxColour
* resultptr
;
17901 resultptr
= new wxColour((wxColour
&) result
);
17902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17910 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxEffects
*arg1
= (wxEffects
*) 0 ;
17914 PyObject
* obj0
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17930 wxColour
* resultptr
;
17931 resultptr
= new wxColour((wxColour
&) result
);
17932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17940 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxEffects
*arg1
= (wxEffects
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17960 wxColour
* resultptr
;
17961 resultptr
= new wxColour((wxColour
&) result
);
17962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17970 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxEffects
*arg1
= (wxEffects
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17990 wxColour
* resultptr
;
17991 resultptr
= new wxColour((wxColour
&) result
);
17992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18000 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxEffects
*arg1
= (wxEffects
*) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18020 wxColour
* resultptr
;
18021 resultptr
= new wxColour((wxColour
&) result
);
18022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18030 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxEffects
*arg1
= (wxEffects
*) 0 ;
18033 wxColour
*arg2
= 0 ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "c", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 Py_INCREF(Py_None
); resultobj
= Py_None
;
18062 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxEffects
*arg1
= (wxEffects
*) 0 ;
18065 wxColour
*arg2
= 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self",(char *) "c", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 Py_INCREF(Py_None
); resultobj
= Py_None
;
18094 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxEffects
*arg1
= (wxEffects
*) 0 ;
18097 wxColour
*arg2
= 0 ;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 char *kwnames
[] = {
18102 (char *) "self",(char *) "c", NULL
18105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18110 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 Py_INCREF(Py_None
); resultobj
= Py_None
;
18126 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
;
18128 wxEffects
*arg1
= (wxEffects
*) 0 ;
18129 wxColour
*arg2
= 0 ;
18131 PyObject
* obj0
= 0 ;
18132 PyObject
* obj1
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "self",(char *) "c", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 Py_INCREF(Py_None
); resultobj
= Py_None
;
18158 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxEffects
*arg1
= (wxEffects
*) 0 ;
18161 wxColour
*arg2
= 0 ;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self",(char *) "c", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18174 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 Py_INCREF(Py_None
); resultobj
= Py_None
;
18190 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxEffects
*arg1
= (wxEffects
*) 0 ;
18193 wxColour
*arg2
= 0 ;
18194 wxColour
*arg3
= 0 ;
18195 wxColour
*arg4
= 0 ;
18196 wxColour
*arg5
= 0 ;
18197 wxColour
*arg6
= 0 ;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 PyObject
* obj2
= 0 ;
18206 PyObject
* obj3
= 0 ;
18207 PyObject
* obj4
= 0 ;
18208 PyObject
* obj5
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18218 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18222 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18226 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18230 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18234 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 Py_INCREF(Py_None
); resultobj
= Py_None
;
18250 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxEffects
*arg1
= (wxEffects
*) 0 ;
18255 int arg4
= (int) 1 ;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 PyObject
* obj2
= 0 ;
18260 PyObject
* obj3
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18271 if (arg2
== NULL
) {
18272 PyErr_SetString(PyExc_TypeError
,"null reference");
18277 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18280 arg4
= (int) SWIG_AsInt(obj3
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 Py_INCREF(Py_None
); resultobj
= Py_None
;
18297 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
;
18299 wxEffects
*arg1
= (wxEffects
*) 0 ;
18302 wxBitmap
*arg4
= 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 PyObject
* obj2
= 0 ;
18308 PyObject
* obj3
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18320 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18323 if (arg3
== NULL
) {
18324 PyErr_SetString(PyExc_TypeError
,"null reference");
18327 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18330 if (arg4
== NULL
) {
18331 PyErr_SetString(PyExc_TypeError
,"null reference");
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18350 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18353 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18355 return Py_BuildValue((char *)"");
18357 static PyMethodDef SwigMethods
[] = {
18358 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18364 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18381 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18387 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18406 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18418 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18445 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18447 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18462 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18470 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18478 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18484 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18512 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18526 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18550 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18559 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18579 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18616 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18624 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18631 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18653 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18655 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18663 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18792 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18794 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18796 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18797 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18800 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18802 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18807 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18809 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18810 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18811 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18813 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18815 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18816 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18820 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18821 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18823 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18824 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
18825 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18826 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18827 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18828 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18829 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18830 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
18831 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18832 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18833 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18834 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18836 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18838 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18840 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18842 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18843 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18844 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18845 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18846 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18847 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18848 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18849 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18850 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18851 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18852 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18853 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18854 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18855 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18856 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18857 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18858 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18859 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18860 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18861 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18862 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18863 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18864 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18865 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18866 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18867 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18868 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18869 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18870 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18871 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18872 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18873 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18874 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18875 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18876 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18877 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18878 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18880 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18882 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18887 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18889 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18890 return (void *)((wxWindow
*) ((wxControl
*) x
));
18892 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18893 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18895 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18896 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18898 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18899 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18901 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18902 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18904 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18905 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18907 static void *_p_wxPenTo_p_wxObject(void *x
) {
18908 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18910 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18911 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18913 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18914 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18916 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18917 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18919 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18920 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18922 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18925 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18926 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18928 static void *_p_wxIconTo_p_wxObject(void *x
) {
18929 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18931 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18932 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18934 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18935 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18937 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18938 return (void *)((wxObject
*) ((wxSizer
*) x
));
18940 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18943 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18946 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) ((wxPenList
*) x
));
18949 static void *_p_wxEventTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) ((wxEvent
*) x
));
18952 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18955 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18958 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18961 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18964 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18967 static void *_p_wxDCTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) ((wxDC
*) x
));
18970 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18973 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18976 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18979 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18982 static void *_p_wxControlTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18985 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18988 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18991 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18994 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18997 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19000 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19003 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19006 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19009 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) ((wxEffects
*) x
));
19012 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19015 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19018 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19021 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19024 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19027 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19030 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19033 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19036 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19039 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19042 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19045 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19048 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19051 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19054 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19057 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19060 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19063 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19066 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19069 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19072 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19075 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19078 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19081 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19084 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19087 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19090 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19093 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19096 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19099 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19102 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19105 static void *_p_wxImageTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) ((wxImage
*) x
));
19108 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19111 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19114 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19117 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) ((wxImageList
*) x
));
19120 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19123 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19126 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19129 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19132 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19135 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19138 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19141 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19144 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19147 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19150 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19153 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19156 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19159 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) ((wxMask
*) x
));
19162 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19165 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19168 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19171 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19174 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19177 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19180 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19183 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19184 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19186 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19187 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19189 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19190 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19192 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19193 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19195 static void *_p_wxFontTo_p_wxObject(void *x
) {
19196 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19198 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19199 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19201 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19202 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19204 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19207 static void *_p_wxColourTo_p_wxObject(void *x
) {
19208 return (void *)((wxObject
*) ((wxColour
*) x
));
19210 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19211 return (void *)((wxObject
*) ((wxFontList
*) x
));
19213 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19216 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19217 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19219 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19220 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19222 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19223 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19225 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19226 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19228 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19229 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19231 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19232 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19234 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19235 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19237 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19238 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19240 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19241 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19243 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19244 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19246 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19247 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19249 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19250 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19252 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19253 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19255 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19256 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19258 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19259 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19261 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19262 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19264 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19265 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19267 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19268 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19270 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19271 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19273 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19274 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19276 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19277 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19279 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}};
19280 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}};
19281 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}};
19282 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}};
19283 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}};
19284 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}};
19285 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}};
19286 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}};
19287 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}};
19288 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}};
19289 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}};
19290 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}};
19291 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}};
19292 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}};
19293 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}};
19294 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}};
19295 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}};
19296 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}};
19297 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}};
19298 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}};
19299 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}};
19300 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}};
19301 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19302 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}};
19303 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}};
19304 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}};
19305 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}};
19306 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}};
19307 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}};
19308 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}};
19309 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}};
19310 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}};
19311 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}};
19312 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}};
19313 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}};
19314 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}};
19315 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19316 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}};
19317 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}};
19318 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}};
19319 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}};
19320 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}};
19321 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}};
19322 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}};
19323 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}};
19324 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}};
19325 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19326 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}};
19327 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}};
19328 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}};
19329 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}};
19330 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}};
19331 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}};
19332 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}};
19333 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}};
19335 static swig_type_info
*swig_types_initial
[] = {
19336 _swigt__p_wxPostScriptDC
,
19338 _swigt__p_wxColour
,
19340 _swigt__p_wxMirrorDC
,
19342 _swigt__p_wxPyFontEnumerator
,
19344 _swigt__p_wxIconLocation
,
19346 _swigt__p_wxMetaFileDC
,
19350 _swigt__p_wxWindow
,
19352 _swigt__p_wxMemoryDC
,
19353 _swigt__p_wxFontMapper
,
19354 _swigt__p_wxEffects
,
19355 _swigt__p_wxNativeEncodingInfo
,
19356 _swigt__p_wxPalette
,
19357 _swigt__p_wxBitmap
,
19358 _swigt__p_wxObject
,
19359 _swigt__p_wxRegionIterator
,
19361 _swigt__p_wxString
,
19362 _swigt__p_wxPrinterDC
,
19363 _swigt__p_wxIconBundle
,
19366 _swigt__p_wxScreenDC
,
19367 _swigt__p_wxCursor
,
19368 _swigt__p_wxClientDC
,
19369 _swigt__p_wxBufferedDC
,
19370 _swigt__p_wxImageList
,
19371 _swigt__p_unsigned_char
,
19372 _swigt__p_wxGDIObject
,
19374 _swigt__p_wxLocale
,
19375 _swigt__p_wxRegion
,
19376 _swigt__p_wxLanguageInfo
,
19377 _swigt__p_wxConfigBase
,
19378 _swigt__p_wxWindowDC
,
19379 _swigt__p_wxPrintData
,
19380 _swigt__p_wxBrushList
,
19381 _swigt__p_wxFontList
,
19383 _swigt__p_wxBufferedPaintDC
,
19384 _swigt__p_wxPaintDC
,
19385 _swigt__p_wxPenList
,
19387 _swigt__p_wxMetaFile
,
19388 _swigt__p_wxNativeFontInfo
,
19389 _swigt__p_wxEncodingConverter
,
19390 _swigt__p_wxColourDatabase
,
19395 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19397 static swig_const_info swig_const_table
[] = {
19407 SWIGEXPORT(void) SWIG_init(void) {
19408 static PyObject
*SWIG_globals
= 0;
19409 static int typeinit
= 0;
19412 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19413 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19414 d
= PyModule_GetDict(m
);
19417 for (i
= 0; swig_types_initial
[i
]; i
++) {
19418 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19422 SWIG_InstallConstants(d
,swig_const_table
);
19424 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19425 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19426 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19427 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19428 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19429 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19430 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19431 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19432 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19433 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19434 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19435 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19436 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19437 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19438 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19439 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19440 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19441 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19442 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19443 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19444 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19445 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19446 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19447 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19448 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19449 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19450 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19451 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19452 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19453 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19454 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19455 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19456 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19457 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19458 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19459 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19460 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19461 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19462 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19463 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19464 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19465 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19466 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19467 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19468 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19469 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19470 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19471 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19472 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19473 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19474 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19475 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19476 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19477 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19478 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19479 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19480 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19481 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19482 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19483 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19484 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19485 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19486 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19487 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19488 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19489 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19490 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19491 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19492 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19493 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19494 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19495 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19496 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19497 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19498 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19499 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19500 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19501 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19502 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19503 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19504 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19505 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19506 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19507 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19508 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19509 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19510 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19511 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19512 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19513 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19514 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19515 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19516 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19517 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19518 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19519 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19520 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19521 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19522 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19523 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19524 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19525 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19526 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19527 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19528 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19529 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19530 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19531 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19532 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19533 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19534 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19535 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19536 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19537 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19538 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19539 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19540 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19541 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19542 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19543 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19544 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19545 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19546 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19547 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19548 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19549 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19550 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19552 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19554 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19555 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19556 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19557 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19558 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19559 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19560 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19561 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19562 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19563 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19564 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19565 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19566 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19567 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19568 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19569 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19570 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19571 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19572 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19573 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19574 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19575 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19576 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19577 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19578 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19579 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19580 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19581 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19582 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19583 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19584 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19585 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19586 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19587 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19588 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19589 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19590 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19591 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19592 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19593 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19594 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19595 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19596 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19597 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19598 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19599 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19600 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19601 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19602 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19603 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19604 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19605 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19606 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19607 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19608 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19609 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19610 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19611 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19612 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19613 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19614 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19615 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19616 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19617 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19618 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19619 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19620 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19621 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19622 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19623 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19624 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19625 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19626 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19627 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19628 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19629 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19630 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19631 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19632 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19633 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19634 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19635 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19636 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19637 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19638 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19639 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19640 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19641 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19642 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19643 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19644 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19645 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19646 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19647 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19648 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19649 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19650 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19651 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19652 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19653 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19654 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19655 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19656 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19657 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19658 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19659 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19660 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19661 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19662 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19663 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19664 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19665 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19666 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19667 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19668 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19669 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19670 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19671 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19672 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19673 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19674 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19675 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19676 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19677 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19678 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19679 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19680 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19681 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19682 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19683 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19684 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19685 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19686 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19687 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19688 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19689 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19690 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19691 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19692 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19693 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19694 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19695 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19696 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19697 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19698 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19699 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19700 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19701 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19702 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19703 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19704 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19705 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19706 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19707 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19708 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19709 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19710 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19711 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19712 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19713 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19714 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19715 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19716 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19717 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19718 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19719 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19720 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19721 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19722 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19723 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19724 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19725 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19726 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19727 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19728 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19729 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19730 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19731 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19732 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19733 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19734 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19735 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19736 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19737 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19738 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19739 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19740 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19741 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19742 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19743 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19744 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19745 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19746 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19747 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19748 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19749 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19750 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19751 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19752 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19753 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19754 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19755 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19756 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19757 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19758 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19759 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19760 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19761 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19762 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19763 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19764 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19765 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19766 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19767 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19768 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19769 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19770 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19771 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19772 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19773 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19774 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19775 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19776 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19777 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19778 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19779 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19780 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19781 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19782 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19783 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19784 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19785 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19786 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19787 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19788 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19789 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19790 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19791 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19792 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19793 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19794 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19795 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19796 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19797 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19798 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19799 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19800 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19801 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19802 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19803 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19804 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19805 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19806 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19807 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19808 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19809 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19810 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19811 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19812 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19813 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19814 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19815 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19816 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19817 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19818 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19819 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19820 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19821 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19822 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19823 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19824 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19825 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19826 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19827 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19828 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19829 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19830 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19831 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19832 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19833 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19834 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19835 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19836 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19837 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19838 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19839 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19840 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19841 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19842 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19843 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19844 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19845 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19846 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19847 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19848 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19849 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19850 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19851 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19852 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19853 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19855 // Work around a chicken/egg problem in drawlist.cpp
19856 wxPyDrawList_SetAPIPtr();