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 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
712 wxPyRaiseNotImplemented();
715 void wxRegionIterator_Next(wxRegionIterator
*self
){
718 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
719 return self
->operator bool();
722 #include <wx/fontutil.h>
723 #include <wx/fontmap.h>
724 #include <wx/fontenum.h>
726 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
727 return self
->ToString();
730 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
731 static wxNativeEncodingInfo info
;
732 if ( wxGetNativeFontEncoding(encoding
, &info
) )
738 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
739 wxFontEncoding alt_enc
;
740 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
741 return PyInt_FromLong(alt_enc
);
747 wxFont
*new_wxFont(wxString
const &info
){
748 wxNativeFontInfo nfi
;
749 nfi
.FromString(info
);
750 return new wxFont(nfi
);
752 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
753 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
755 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
756 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
758 class wxPyFontEnumerator
: public wxFontEnumerator
{
760 wxPyFontEnumerator() {}
761 ~wxPyFontEnumerator() {}
763 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
764 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
769 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
770 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
773 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
774 wxArrayString
* arr
= self
->GetEncodings();
775 return wxArrayString2PyList_helper(*arr
);
777 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
778 wxArrayString
* arr
= self
->GetFacenames();
779 return wxArrayString2PyList_helper(*arr
);
783 wxLocale
*new_wxLocale(int language
,int flags
){
785 return new wxLocale();
787 return new wxLocale(language
, flags
);
790 #include "wx/wxPython/pydrawxxx.h"
792 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
794 self
->GetPixel(x
, y
, &col
);
797 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
799 self
->GetPixel(pt
, &col
);
803 SWIGSTATICINLINE(double)
804 SWIG_AsDouble(PyObject
*obj
)
806 if (PyNumber_Check(obj
))
807 return PyFloat_AsDouble(obj
);
809 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
810 obj
->ob_type
->tp_name
);
811 PyErr_SetObject(PyExc_TypeError
, errmsg
);
818 SWIGSTATICINLINE(int)
819 SWIG_CheckDouble(PyObject
* obj
)
822 if (PyErr_Occurred()) {
830 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
832 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
835 wxRect
wxDC_GetClippingRect(wxDC
*self
){
837 self
->GetClippingBox(rect
);
840 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
842 self
->GetPartialTextExtents(text
, widths
);
845 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
846 self
->SetLogicalOrigin(point
.x
, point
.y
);
848 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
849 self
->SetDeviceOrigin(point
.x
, point
.y
);
851 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
852 self
->CalcBoundingBox(point
.x
, point
.y
);
854 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
855 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
857 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
858 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
860 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
861 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
863 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
864 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
866 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
867 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
869 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
870 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
873 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
881 #include <wx/dcbuffer.h>
887 #include <wx/metafile.h>
891 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
892 self
->AddColour(name
, wxColour(red
, green
, blue
));
895 #include <wx/effects.h>
900 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
909 if (!wxPyCheckForApp()) SWIG_fail
;
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 result
= (wxGDIObject
*)new wxGDIObject();
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) SWIG_fail
;
916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
923 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
926 PyObject
* obj0
= 0 ;
928 (char *) "self", NULL
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) SWIG_fail
;
941 Py_INCREF(Py_None
); resultobj
= Py_None
;
948 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
952 PyObject
* obj0
= 0 ;
954 (char *) "self", NULL
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
962 result
= (bool)(arg1
)->GetVisible();
964 wxPyEndAllowThreads(__tstate
);
965 if (PyErr_Occurred()) SWIG_fail
;
968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
976 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
980 PyObject
* obj0
= 0 ;
981 PyObject
* obj1
= 0 ;
983 (char *) "self",(char *) "visible", NULL
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
989 arg2
= (bool) SWIG_AsBool(obj1
);
990 if (PyErr_Occurred()) SWIG_fail
;
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 (arg1
)->SetVisible(arg2
);
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) SWIG_fail
;
998 Py_INCREF(Py_None
); resultobj
= Py_None
;
1005 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
*resultobj
;
1007 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1009 PyObject
* obj0
= 0 ;
1011 (char *) "self", NULL
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 result
= (bool)(arg1
)->IsNull();
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) SWIG_fail
;
1025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1033 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1036 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1038 return Py_BuildValue((char *)"");
1040 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 byte arg1
= (byte
) 0 ;
1043 byte arg2
= (byte
) 0 ;
1044 byte arg3
= (byte
) 0 ;
1046 PyObject
* obj0
= 0 ;
1047 PyObject
* obj1
= 0 ;
1048 PyObject
* obj2
= 0 ;
1050 (char *) "red",(char *) "green",(char *) "blue", NULL
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1055 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1056 if (PyErr_Occurred()) SWIG_fail
;
1059 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1063 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1064 if (PyErr_Occurred()) SWIG_fail
;
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) SWIG_fail
;
1073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1080 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
*resultobj
;
1082 wxString
*arg1
= 0 ;
1084 bool temp1
= False
;
1085 PyObject
* obj0
= 0 ;
1087 (char *) "colorName", NULL
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1092 arg1
= wxString_in_helper(obj0
);
1093 if (arg1
== NULL
) SWIG_fail
;
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) SWIG_fail
;
1103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1118 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
*resultobj
;
1120 unsigned long arg1
;
1122 PyObject
* obj0
= 0 ;
1124 (char *) "colRGB", NULL
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1128 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 result
= (wxColour
*)new wxColour(arg1
);
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) SWIG_fail
;
1137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1144 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxColour
*arg1
= (wxColour
*) 0 ;
1147 PyObject
* obj0
= 0 ;
1149 (char *) "self", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1162 Py_INCREF(Py_None
); resultobj
= Py_None
;
1169 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxColour
*arg1
= (wxColour
*) 0 ;
1173 PyObject
* obj0
= 0 ;
1175 (char *) "self", NULL
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 result
= (byte
)(arg1
)->Red();
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1188 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1195 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1197 wxColour
*arg1
= (wxColour
*) 0 ;
1199 PyObject
* obj0
= 0 ;
1201 (char *) "self", NULL
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1209 result
= (byte
)(arg1
)->Green();
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1214 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1221 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
*resultobj
;
1223 wxColour
*arg1
= (wxColour
*) 0 ;
1225 PyObject
* obj0
= 0 ;
1227 (char *) "self", NULL
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1235 result
= (byte
)(arg1
)->Blue();
1237 wxPyEndAllowThreads(__tstate
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1240 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1247 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
*resultobj
;
1249 wxColour
*arg1
= (wxColour
*) 0 ;
1251 PyObject
* obj0
= 0 ;
1253 (char *) "self", NULL
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 result
= (bool)(arg1
)->Ok();
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) SWIG_fail
;
1267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1275 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxColour
*arg1
= (wxColour
*) 0 ;
1281 PyObject
* obj0
= 0 ;
1282 PyObject
* obj1
= 0 ;
1283 PyObject
* obj2
= 0 ;
1284 PyObject
* obj3
= 0 ;
1286 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1292 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1293 if (PyErr_Occurred()) SWIG_fail
;
1294 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1295 if (PyErr_Occurred()) SWIG_fail
;
1296 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 (arg1
)->Set(arg2
,arg3
,arg4
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1305 Py_INCREF(Py_None
); resultobj
= Py_None
;
1312 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
*resultobj
;
1314 wxColour
*arg1
= (wxColour
*) 0 ;
1315 unsigned long arg2
;
1316 PyObject
* obj0
= 0 ;
1317 PyObject
* obj1
= 0 ;
1319 (char *) "self",(char *) "colRGB", NULL
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1325 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) SWIG_fail
;
1334 Py_INCREF(Py_None
); resultobj
= Py_None
;
1341 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
*resultobj
;
1343 wxColour
*arg1
= (wxColour
*) 0 ;
1344 wxString
*arg2
= 0 ;
1345 bool temp2
= False
;
1346 PyObject
* obj0
= 0 ;
1347 PyObject
* obj1
= 0 ;
1349 (char *) "self",(char *) "colourName", NULL
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1356 arg2
= wxString_in_helper(obj1
);
1357 if (arg2
== NULL
) SWIG_fail
;
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 (arg1
)->InitFromName((wxString
const &)*arg2
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1367 Py_INCREF(Py_None
); resultobj
= Py_None
;
1382 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
*resultobj
;
1384 wxColour
*arg1
= (wxColour
*) 0 ;
1386 PyObject
* obj0
= 0 ;
1388 (char *) "self", NULL
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 resultobj
= SWIG_FromLong((long)result
);
1408 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
*resultobj
;
1410 wxColour
*arg1
= (wxColour
*) 0 ;
1411 wxColour
*arg2
= 0 ;
1414 PyObject
* obj0
= 0 ;
1415 PyObject
* obj1
= 0 ;
1417 (char *) "self",(char *) "colour", NULL
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) SWIG_fail
;
1435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1443 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
*resultobj
;
1445 wxColour
*arg1
= (wxColour
*) 0 ;
1446 wxColour
*arg2
= 0 ;
1449 PyObject
* obj0
= 0 ;
1450 PyObject
* obj1
= 0 ;
1452 (char *) "self",(char *) "colour", NULL
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1460 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1478 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 wxColour
*arg1
= (wxColour
*) 0 ;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "self", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= (PyObject
*)wxColour_Get(arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1504 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
*resultobj
;
1506 wxColour
*arg1
= (wxColour
*) 0 ;
1507 unsigned long result
;
1508 PyObject
* obj0
= 0 ;
1510 (char *) "self", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 result
= (unsigned long)wxColour_GetRGB(arg1
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1523 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1530 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1533 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1535 return Py_BuildValue((char *)"");
1537 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
*resultobj
;
1540 unsigned char *arg2
= (unsigned char *) 0 ;
1541 unsigned char *arg3
= (unsigned char *) 0 ;
1542 unsigned char *arg4
= (unsigned char *) 0 ;
1544 PyObject
* obj0
= 0 ;
1545 PyObject
* obj1
= 0 ;
1546 PyObject
* obj2
= 0 ;
1547 PyObject
* obj3
= 0 ;
1549 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1553 arg1
= (int) SWIG_AsInt(obj0
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1557 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1559 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1562 if (!wxPyCheckForApp()) SWIG_fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1576 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1578 wxPalette
*arg1
= (wxPalette
*) 0 ;
1579 PyObject
* obj0
= 0 ;
1581 (char *) "self", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1594 Py_INCREF(Py_None
); resultobj
= Py_None
;
1601 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
*resultobj
;
1603 wxPalette
*arg1
= (wxPalette
*) 0 ;
1608 PyObject
* obj0
= 0 ;
1609 PyObject
* obj1
= 0 ;
1610 PyObject
* obj2
= 0 ;
1611 PyObject
* obj3
= 0 ;
1613 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1619 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1621 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1623 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 resultobj
= SWIG_FromInt((int)result
);
1639 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxPalette
*arg1
= (wxPalette
*) 0 ;
1643 byte
*arg3
= (byte
*) 0 ;
1644 byte
*arg4
= (byte
*) 0 ;
1645 byte
*arg5
= (byte
*) 0 ;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1653 (char *) "self",(char *) "pixel", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1662 arg2
= (int) SWIG_AsInt(obj1
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1676 resultobj
= t_output_helper(resultobj
,o
);
1679 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1680 resultobj
= t_output_helper(resultobj
,o
);
1683 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1684 resultobj
= t_output_helper(resultobj
,o
);
1692 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
*resultobj
;
1694 wxPalette
*arg1
= (wxPalette
*) 0 ;
1696 PyObject
* obj0
= 0 ;
1698 (char *) "self", NULL
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 result
= (bool)(arg1
)->Ok();
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1720 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1723 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1725 return Py_BuildValue((char *)"");
1727 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxColour
*arg1
= 0 ;
1730 int arg2
= (int) 1 ;
1731 int arg3
= (int) wxSOLID
;
1734 PyObject
* obj0
= 0 ;
1735 PyObject
* obj1
= 0 ;
1736 PyObject
* obj2
= 0 ;
1738 (char *) "colour",(char *) "width",(char *) "style", NULL
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1744 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1747 arg2
= (int) SWIG_AsInt(obj1
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1751 arg3
= (int) SWIG_AsInt(obj2
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1755 if (!wxPyCheckForApp()) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1769 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
*resultobj
;
1771 wxPen
*arg1
= (wxPen
*) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1787 Py_INCREF(Py_None
); resultobj
= Py_None
;
1794 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxPen
*arg1
= (wxPen
*) 0 ;
1798 PyObject
* obj0
= 0 ;
1800 (char *) "self", NULL
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 result
= (int)(arg1
)->GetCap();
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 resultobj
= SWIG_FromInt((int)result
);
1820 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxPen
*arg1
= (wxPen
*) 0 ;
1824 PyObject
* obj0
= 0 ;
1826 (char *) "self", NULL
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= (arg1
)->GetColour();
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1840 wxColour
* resultptr
;
1841 resultptr
= new wxColour((wxColour
&) result
);
1842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1850 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxPen
*arg1
= (wxPen
*) 0 ;
1854 PyObject
* obj0
= 0 ;
1856 (char *) "self", NULL
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 result
= (int)(arg1
)->GetJoin();
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1869 resultobj
= SWIG_FromInt((int)result
);
1876 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxPen
*arg1
= (wxPen
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "self", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 result
= (int)(arg1
)->GetStyle();
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1895 resultobj
= SWIG_FromInt((int)result
);
1902 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxPen
*arg1
= (wxPen
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1908 (char *) "self", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 result
= (int)(arg1
)->GetWidth();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 resultobj
= SWIG_FromInt((int)result
);
1928 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxPen
*arg1
= (wxPen
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1934 (char *) "self", NULL
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 result
= (bool)(arg1
)->Ok();
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1956 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
*resultobj
;
1958 wxPen
*arg1
= (wxPen
*) 0 ;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 (char *) "self",(char *) "cap_style", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1969 arg2
= (int) SWIG_AsInt(obj1
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 (arg1
)->SetCap(arg2
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1978 Py_INCREF(Py_None
); resultobj
= Py_None
;
1985 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxPen
*arg1
= (wxPen
*) 0 ;
1988 wxColour
*arg2
= 0 ;
1990 PyObject
* obj0
= 0 ;
1991 PyObject
* obj1
= 0 ;
1993 (char *) "self",(char *) "colour", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 (arg1
)->SetColour(*arg2
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2019 wxPen
*arg1
= (wxPen
*) 0 ;
2021 PyObject
* obj0
= 0 ;
2022 PyObject
* obj1
= 0 ;
2024 (char *) "self",(char *) "join_style", NULL
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2030 arg2
= (int) SWIG_AsInt(obj1
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 (arg1
)->SetJoin(arg2
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 Py_INCREF(Py_None
); resultobj
= Py_None
;
2046 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxPen
*arg1
= (wxPen
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2051 PyObject
* obj1
= 0 ;
2053 (char *) "self",(char *) "style", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2059 arg2
= (int) SWIG_AsInt(obj1
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 (arg1
)->SetStyle(arg2
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2068 Py_INCREF(Py_None
); resultobj
= Py_None
;
2075 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxPen
*arg1
= (wxPen
*) 0 ;
2079 PyObject
* obj0
= 0 ;
2080 PyObject
* obj1
= 0 ;
2082 (char *) "self",(char *) "width", NULL
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 arg2
= (int) SWIG_AsInt(obj1
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 (arg1
)->SetWidth(arg2
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 Py_INCREF(Py_None
); resultobj
= Py_None
;
2104 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxPen
*arg1
= (wxPen
*) 0 ;
2108 wxDash
*arg3
= (wxDash
*) 0 ;
2109 PyObject
* obj0
= 0 ;
2110 PyObject
* obj1
= 0 ;
2112 (char *) "self",(char *) "dashes", NULL
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2119 arg2
= PyList_Size(obj1
);
2120 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2121 if (arg3
== NULL
) SWIG_fail
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 (arg1
)->SetDashes(arg2
,arg3
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2130 Py_INCREF(Py_None
); resultobj
= Py_None
;
2132 if (arg3
) delete [] arg3
;
2137 if (arg3
) delete [] arg3
;
2143 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
*resultobj
;
2145 wxPen
*arg1
= (wxPen
*) 0 ;
2147 PyObject
* obj0
= 0 ;
2149 (char *) "self", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2169 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2171 wxPen
*arg1
= (wxPen
*) 0 ;
2172 PyObject
*arg2
= (PyObject
*) 0 ;
2173 PyObject
*arg3
= (PyObject
*) 0 ;
2174 PyObject
* obj0
= 0 ;
2175 PyObject
* obj1
= 0 ;
2176 PyObject
* obj2
= 0 ;
2178 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 wxPen__SetDashes(arg1
,arg2
,arg3
);
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2193 Py_INCREF(Py_None
); resultobj
= Py_None
;
2200 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2202 wxPen
*arg1
= (wxPen
*) 0 ;
2203 wxPen
*arg2
= (wxPen
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2206 PyObject
* obj1
= 0 ;
2208 (char *) "self",(char *) "other", NULL
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2232 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxPen
*arg1
= (wxPen
*) 0 ;
2235 wxPen
*arg2
= (wxPen
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2238 PyObject
* obj1
= 0 ;
2240 (char *) "self",(char *) "other", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2264 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2267 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2269 return Py_BuildValue((char *)"");
2271 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxColour
*arg1
= 0 ;
2274 int arg2
= (int) wxSOLID
;
2277 PyObject
* obj0
= 0 ;
2278 PyObject
* obj1
= 0 ;
2280 (char *) "colour",(char *) "style", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2286 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2289 arg2
= (int) SWIG_AsInt(obj1
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2293 if (!wxPyCheckForApp()) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2307 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxBrush
*arg1
= (wxBrush
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 (char *) "self", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 Py_INCREF(Py_None
); resultobj
= Py_None
;
2332 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxBrush
*arg1
= (wxBrush
*) 0 ;
2335 wxColour
*arg2
= 0 ;
2337 PyObject
* obj0
= 0 ;
2338 PyObject
* obj1
= 0 ;
2340 (char *) "self",(char *) "col", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2348 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 (arg1
)->SetColour((wxColour
const &)*arg2
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 Py_INCREF(Py_None
); resultobj
= Py_None
;
2364 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxBrush
*arg1
= (wxBrush
*) 0 ;
2368 PyObject
* obj0
= 0 ;
2369 PyObject
* obj1
= 0 ;
2371 (char *) "self",(char *) "style", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 arg2
= (int) SWIG_AsInt(obj1
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 (arg1
)->SetStyle(arg2
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 Py_INCREF(Py_None
); resultobj
= Py_None
;
2393 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxBrush
*arg1
= (wxBrush
*) 0 ;
2396 wxBitmap
*arg2
= 0 ;
2397 PyObject
* obj0
= 0 ;
2398 PyObject
* obj1
= 0 ;
2400 (char *) "self",(char *) "stipple", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2410 PyErr_SetString(PyExc_TypeError
,"null reference");
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2420 Py_INCREF(Py_None
); resultobj
= Py_None
;
2427 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxBrush
*arg1
= (wxBrush
*) 0 ;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "self", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 result
= ((wxBrush
const *)arg1
)->GetColour();
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2447 wxColour
* resultptr
;
2448 resultptr
= new wxColour((wxColour
&) result
);
2449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2457 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 wxBrush
*arg1
= (wxBrush
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2463 (char *) "self", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2476 resultobj
= SWIG_FromInt((int)result
);
2483 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxBrush
*arg1
= (wxBrush
*) 0 ;
2487 PyObject
* obj0
= 0 ;
2489 (char *) "self", NULL
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2509 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxBrush
*arg1
= (wxBrush
*) 0 ;
2513 PyObject
* obj0
= 0 ;
2515 (char *) "self", NULL
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 result
= (bool)(arg1
)->Ok();
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2537 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxBrush
*arg1
= (wxBrush
*) 0 ;
2541 PyObject
* obj0
= 0 ;
2543 (char *) "self", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 result
= (short)(arg1
)->MacGetTheme();
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2556 resultobj
= SWIG_FromShort((short)result
);
2563 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxBrush
*arg1
= (wxBrush
*) 0 ;
2567 PyObject
* obj0
= 0 ;
2568 PyObject
* obj1
= 0 ;
2570 (char *) "self",(char *) "macThemeBrush", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2576 arg2
= (short) SWIG_AsShort(obj1
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 (arg1
)->MacSetTheme(arg2
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2585 Py_INCREF(Py_None
); resultobj
= Py_None
;
2592 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2595 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2597 return Py_BuildValue((char *)"");
2599 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxString
*arg1
= 0 ;
2602 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2604 bool temp1
= False
;
2605 PyObject
* obj0
= 0 ;
2606 PyObject
* obj1
= 0 ;
2608 (char *) "name",(char *) "type", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2613 arg1
= wxString_in_helper(obj0
);
2614 if (arg1
== NULL
) SWIG_fail
;
2618 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2622 if (!wxPyCheckForApp()) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2644 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2646 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2649 (char *) "self", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2662 Py_INCREF(Py_None
); resultobj
= Py_None
;
2669 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2673 int arg3
= (int) -1 ;
2675 PyObject
* obj0
= 0 ;
2676 PyObject
* obj1
= 0 ;
2677 PyObject
* obj2
= 0 ;
2679 (char *) "width",(char *) "height",(char *) "depth", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2683 arg1
= (int) SWIG_AsInt(obj0
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2685 arg2
= (int) SWIG_AsInt(obj1
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2688 arg3
= (int) SWIG_AsInt(obj2
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2692 if (!wxPyCheckForApp()) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2706 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2710 PyObject
* obj0
= 0 ;
2712 (char *) "icon", NULL
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2724 if (!wxPyCheckForApp()) SWIG_fail
;
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2738 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2741 int arg2
= (int) -1 ;
2743 PyObject
* obj0
= 0 ;
2744 PyObject
* obj1
= 0 ;
2746 (char *) "image",(char *) "depth", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2754 PyErr_SetString(PyExc_TypeError
,"null reference");
2758 arg2
= (int) SWIG_AsInt(obj1
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2762 if (!wxPyCheckForApp()) SWIG_fail
;
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2776 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2778 PyObject
*arg1
= (PyObject
*) 0 ;
2780 PyObject
* obj0
= 0 ;
2782 (char *) "listOfStrings", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2788 if (!wxPyCheckForApp()) SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2802 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 PyObject
*arg1
= (PyObject
*) 0 ;
2807 int arg4
= (int) 1 ;
2809 PyObject
* obj0
= 0 ;
2810 PyObject
* obj1
= 0 ;
2811 PyObject
* obj2
= 0 ;
2812 PyObject
* obj3
= 0 ;
2814 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2819 arg2
= (int) SWIG_AsInt(obj1
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2821 arg3
= (int) SWIG_AsInt(obj2
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 arg4
= (int) SWIG_AsInt(obj3
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2828 if (!wxPyCheckForApp()) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2842 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2846 PyObject
* obj0
= 0 ;
2848 (char *) "self", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (bool)(arg1
)->Ok();
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2870 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2874 PyObject
* obj0
= 0 ;
2876 (char *) "self", NULL
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= (int)(arg1
)->GetWidth();
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= SWIG_FromInt((int)result
);
2896 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2902 (char *) "self", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 result
= (int)(arg1
)->GetHeight();
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2915 resultobj
= SWIG_FromInt((int)result
);
2922 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2926 PyObject
* obj0
= 0 ;
2928 (char *) "self", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 result
= (int)(arg1
)->GetDepth();
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= SWIG_FromInt((int)result
);
2948 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "self", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= wxBitmap_GetSize(arg1
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2969 resultptr
= new wxSize((wxSize
&) result
);
2970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2978 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2981 SwigValueWrapper
< wxImage
> result
;
2982 PyObject
* obj0
= 0 ;
2984 (char *) "self", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2998 wxImage
* resultptr
;
2999 resultptr
= new wxImage((wxImage
&) result
);
3000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3008 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
*resultobj
;
3010 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3012 PyObject
* obj0
= 0 ;
3014 (char *) "self", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3034 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3037 wxMask
*arg2
= (wxMask
*) 0 ;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3041 (char *) "self",(char *) "mask", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 (arg1
)->SetMask(arg2
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3056 Py_INCREF(Py_None
); resultobj
= Py_None
;
3063 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3065 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3066 wxColour
*arg2
= 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "self",(char *) "colour", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3088 Py_INCREF(Py_None
); resultobj
= Py_None
;
3095 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3099 SwigValueWrapper
< wxBitmap
> result
;
3101 PyObject
* obj0
= 0 ;
3102 PyObject
* obj1
= 0 ;
3104 (char *) "self",(char *) "rect", NULL
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3122 wxBitmap
* resultptr
;
3123 resultptr
= new wxBitmap((wxBitmap
&) result
);
3124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3132 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3135 wxString
*arg2
= 0 ;
3137 wxPalette
*arg4
= (wxPalette
*) NULL
;
3139 bool temp2
= False
;
3140 PyObject
* obj0
= 0 ;
3141 PyObject
* obj1
= 0 ;
3142 PyObject
* obj2
= 0 ;
3143 PyObject
* obj3
= 0 ;
3145 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 arg2
= wxString_in_helper(obj1
);
3153 if (arg2
== NULL
) SWIG_fail
;
3156 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3186 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3189 wxString
*arg2
= 0 ;
3192 bool temp2
= False
;
3193 PyObject
* obj0
= 0 ;
3194 PyObject
* obj1
= 0 ;
3195 PyObject
* obj2
= 0 ;
3197 (char *) "self",(char *) "name",(char *) "type", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 arg2
= wxString_in_helper(obj1
);
3205 if (arg2
== NULL
) SWIG_fail
;
3208 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3234 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3239 PyObject
* obj0
= 0 ;
3240 PyObject
* obj1
= 0 ;
3242 (char *) "self",(char *) "icon", NULL
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3252 PyErr_SetString(PyExc_TypeError
,"null reference");
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3271 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3275 PyObject
* obj0
= 0 ;
3276 PyObject
* obj1
= 0 ;
3278 (char *) "self",(char *) "height", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3284 arg2
= (int) SWIG_AsInt(obj1
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 (arg1
)->SetHeight(arg2
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "width", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3313 arg2
= (int) SWIG_AsInt(obj1
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 (arg1
)->SetWidth(arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3329 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3333 PyObject
* obj0
= 0 ;
3334 PyObject
* obj1
= 0 ;
3336 (char *) "self",(char *) "depth", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 arg2
= (int) SWIG_AsInt(obj1
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 (arg1
)->SetDepth(arg2
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3351 Py_INCREF(Py_None
); resultobj
= Py_None
;
3358 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3366 (char *) "self",(char *) "size", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3393 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "self",(char *) "other", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3422 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3425 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3427 PyObject
* obj0
= 0 ;
3428 PyObject
* obj1
= 0 ;
3430 (char *) "self",(char *) "other", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3454 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3457 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3459 return Py_BuildValue((char *)"");
3461 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxBitmap
*arg1
= 0 ;
3464 wxColour
const &arg2_defvalue
= wxNullColour
;
3465 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3471 (char *) "bitmap",(char *) "colour", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3479 PyErr_SetString(PyExc_TypeError
,"null reference");
3485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3489 if (!wxPyCheckForApp()) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3503 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3506 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3508 return Py_BuildValue((char *)"");
3510 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxString
*arg1
= 0 ;
3514 int arg3
= (int) -1 ;
3515 int arg4
= (int) -1 ;
3517 bool temp1
= False
;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3520 PyObject
* obj2
= 0 ;
3521 PyObject
* obj3
= 0 ;
3523 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3528 arg1
= wxString_in_helper(obj0
);
3529 if (arg1
== NULL
) SWIG_fail
;
3532 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 arg3
= (int) SWIG_AsInt(obj2
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 arg4
= (int) SWIG_AsInt(obj3
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 if (!wxPyCheckForApp()) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3565 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxIcon
*arg1
= (wxIcon
*) 0 ;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "self", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3599 if (!wxPyCheckForApp()) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (wxIcon
*)new wxIcon();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3613 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxIconLocation
*arg1
= 0 ;
3617 PyObject
* obj0
= 0 ;
3619 (char *) "loc", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3627 PyErr_SetString(PyExc_TypeError
,"null reference");
3631 if (!wxPyCheckForApp()) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3645 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxBitmap
*arg1
= 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "bmp", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3659 PyErr_SetString(PyExc_TypeError
,"null reference");
3663 if (!wxPyCheckForApp()) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3677 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 PyObject
*arg1
= (PyObject
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3683 (char *) "listOfStrings", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3689 if (!wxPyCheckForApp()) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= (wxIcon
*)new_wxIcon(arg1
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3703 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxIcon
*arg1
= (wxIcon
*) 0 ;
3707 PyObject
* obj0
= 0 ;
3709 (char *) "self", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (bool)(arg1
)->Ok();
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3731 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxIcon
*arg1
= (wxIcon
*) 0 ;
3735 PyObject
* obj0
= 0 ;
3737 (char *) "self", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= (int)(arg1
)->GetWidth();
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_FromInt((int)result
);
3757 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxIcon
*arg1
= (wxIcon
*) 0 ;
3761 PyObject
* obj0
= 0 ;
3763 (char *) "self", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 result
= (int)(arg1
)->GetHeight();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= SWIG_FromInt((int)result
);
3783 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxIcon
*arg1
= (wxIcon
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3789 (char *) "self", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 result
= (int)(arg1
)->GetDepth();
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 resultobj
= SWIG_FromInt((int)result
);
3809 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 wxIcon
*arg1
= (wxIcon
*) 0 ;
3813 PyObject
* obj0
= 0 ;
3814 PyObject
* obj1
= 0 ;
3816 (char *) "self",(char *) "w", NULL
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3822 arg2
= (int) SWIG_AsInt(obj1
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 (arg1
)->SetWidth(arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3831 Py_INCREF(Py_None
); resultobj
= Py_None
;
3838 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
*resultobj
;
3840 wxIcon
*arg1
= (wxIcon
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3843 PyObject
* obj1
= 0 ;
3845 (char *) "self",(char *) "h", NULL
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 arg2
= (int) SWIG_AsInt(obj1
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 (arg1
)->SetHeight(arg2
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3867 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxIcon
*arg1
= (wxIcon
*) 0 ;
3871 PyObject
* obj0
= 0 ;
3872 PyObject
* obj1
= 0 ;
3874 (char *) "self",(char *) "d", NULL
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3880 arg2
= (int) SWIG_AsInt(obj1
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 (arg1
)->SetDepth(arg2
);
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 Py_INCREF(Py_None
); resultobj
= Py_None
;
3896 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxIcon
*arg1
= (wxIcon
*) 0 ;
3899 wxBitmap
*arg2
= 0 ;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3903 (char *) "self",(char *) "bmp", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3913 PyErr_SetString(PyExc_TypeError
,"null reference");
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 Py_INCREF(Py_None
); resultobj
= Py_None
;
3930 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3933 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3935 return Py_BuildValue((char *)"");
3937 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3940 int arg2
= (int) 0 ;
3941 wxIconLocation
*result
;
3942 bool temp1
= False
;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "filename",(char *) "num", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3952 arg1
= wxString_in_helper(obj0
);
3953 if (arg1
== NULL
) SWIG_fail
;
3958 arg2
= (int) SWIG_AsInt(obj1
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3983 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3986 PyObject
* obj0
= 0 ;
3988 (char *) "self", NULL
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "self", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4036 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4039 wxString
*arg2
= 0 ;
4040 bool temp2
= False
;
4041 PyObject
* obj0
= 0 ;
4042 PyObject
* obj1
= 0 ;
4044 (char *) "self",(char *) "filename", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4051 arg2
= wxString_in_helper(obj1
);
4052 if (arg2
== NULL
) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 (arg1
)->SetFileName((wxString
const &)*arg2
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4093 result
= (wxString
*) &_result_ref
;
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4103 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4112 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "num", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 arg2
= (int) SWIG_AsInt(obj1
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 wxIconLocation_SetIndex(arg1
,arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4145 PyObject
* obj0
= 0 ;
4147 (char *) "self", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (int)wxIconLocation_GetIndex(arg1
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_FromInt((int)result
);
4167 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4170 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4172 return Py_BuildValue((char *)"");
4174 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxIconBundle
*result
;
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (wxIconBundle
*)new wxIconBundle();
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4196 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxString
*arg1
= 0 ;
4200 wxIconBundle
*result
;
4201 bool temp1
= False
;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4205 (char *) "file",(char *) "type", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4210 arg1
= wxString_in_helper(obj0
);
4211 if (arg1
== NULL
) SWIG_fail
;
4214 arg2
= (long) SWIG_AsLong(obj1
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4238 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4241 wxIconBundle
*result
;
4242 PyObject
* obj0
= 0 ;
4244 (char *) "icon", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4252 PyErr_SetString(PyExc_TypeError
,"null reference");
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4269 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4274 (char *) "self", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4298 PyObject
* obj0
= 0 ;
4299 PyObject
* obj1
= 0 ;
4301 (char *) "self",(char *) "icon", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4311 PyErr_SetString(PyExc_TypeError
,"null reference");
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 Py_INCREF(Py_None
); resultobj
= Py_None
;
4328 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4330 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4331 wxString
*arg2
= 0 ;
4333 bool temp2
= False
;
4334 PyObject
* obj0
= 0 ;
4335 PyObject
* obj1
= 0 ;
4336 PyObject
* obj2
= 0 ;
4338 (char *) "self",(char *) "file",(char *) "type", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4345 arg2
= wxString_in_helper(obj1
);
4346 if (arg2
== NULL
) SWIG_fail
;
4349 arg3
= (long) SWIG_AsLong(obj2
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 Py_INCREF(Py_None
); resultobj
= Py_None
;
4373 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4382 (char *) "self",(char *) "size", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4390 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4396 result
= (wxIcon
*) &_result_ref
;
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 wxIcon
* resultptr
= new wxIcon(*result
);
4404 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4412 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4415 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4417 return Py_BuildValue((char *)"");
4419 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxString
*arg1
= (wxString
*) 0 ;
4423 int arg3
= (int) 0 ;
4424 int arg4
= (int) 0 ;
4426 bool temp1
= False
;
4427 PyObject
* obj0
= 0 ;
4428 PyObject
* obj1
= 0 ;
4429 PyObject
* obj2
= 0 ;
4430 PyObject
* obj3
= 0 ;
4432 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4437 arg1
= wxString_in_helper(obj0
);
4438 if (arg1
== NULL
) SWIG_fail
;
4441 arg2
= (long) SWIG_AsLong(obj1
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 arg3
= (int) SWIG_AsInt(obj2
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4448 arg4
= (int) SWIG_AsInt(obj3
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4452 if (!wxPyCheckForApp()) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4474 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxCursor
*arg1
= (wxCursor
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4479 (char *) "self", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 Py_INCREF(Py_None
); resultobj
= Py_None
;
4499 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4503 PyObject
* obj0
= 0 ;
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4509 arg1
= (int) SWIG_AsInt(obj0
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 if (!wxPyCheckForApp()) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (wxCursor
*)new wxCursor(arg1
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4526 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4530 PyObject
* obj0
= 0 ;
4532 (char *) "image", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4540 PyErr_SetString(PyExc_TypeError
,"null reference");
4544 if (!wxPyCheckForApp()) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4558 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxCursor
*arg1
= (wxCursor
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4564 (char *) "self", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (bool)(arg1
)->Ok();
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4586 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4589 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4591 return Py_BuildValue((char *)"");
4593 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 int arg1
= (int) 0 ;
4596 int arg2
= (int) 0 ;
4597 int arg3
= (int) 0 ;
4598 int arg4
= (int) 0 ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 PyObject
* obj2
= 0 ;
4603 PyObject
* obj3
= 0 ;
4605 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4610 arg1
= (int) SWIG_AsInt(obj0
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 arg2
= (int) SWIG_AsInt(obj1
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 arg3
= (int) SWIG_AsInt(obj2
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 arg4
= (int) SWIG_AsInt(obj3
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 if (!wxPyCheckForApp()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4640 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxBitmap
*arg1
= 0 ;
4644 PyObject
* obj0
= 0 ;
4646 (char *) "bmp", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4654 PyErr_SetString(PyExc_TypeError
,"null reference");
4658 if (!wxPyCheckForApp()) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4672 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxBitmap
*arg1
= 0 ;
4675 wxColour
*arg2
= 0 ;
4676 int arg3
= (int) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4683 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4691 PyErr_SetString(PyExc_TypeError
,"null reference");
4696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4699 arg3
= (int) SWIG_AsInt(obj2
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4703 if (!wxPyCheckForApp()) SWIG_fail
;
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4717 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
;
4720 wxPoint
*arg2
= (wxPoint
*) 0 ;
4721 int arg3
= (int) wxWINDING_RULE
;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "points",(char *) "fillStyle", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4731 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4732 if (arg2
== NULL
) SWIG_fail
;
4735 arg3
= (int) SWIG_AsInt(obj1
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 if (!wxPyCheckForApp()) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4748 if (arg2
) delete [] arg2
;
4753 if (arg2
) delete [] arg2
;
4759 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxRegion
*arg1
= (wxRegion
*) 0 ;
4762 PyObject
* obj0
= 0 ;
4764 (char *) "self", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 Py_INCREF(Py_None
); resultobj
= Py_None
;
4784 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxRegion
*arg1
= (wxRegion
*) 0 ;
4787 PyObject
* obj0
= 0 ;
4789 (char *) "self", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 Py_INCREF(Py_None
); resultobj
= Py_None
;
4809 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxRegion
*arg1
= (wxRegion
*) 0 ;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4817 PyObject
* obj2
= 0 ;
4819 (char *) "self",(char *) "x",(char *) "y", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4825 arg2
= (int) SWIG_AsInt(obj1
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4827 arg3
= (int) SWIG_AsInt(obj2
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_FromInt((int)result
);
4843 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxRegion
*arg1
= (wxRegion
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4852 (char *) "self",(char *) "pt", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_FromInt((int)result
);
4876 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxRegion
*arg1
= (wxRegion
*) 0 ;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4885 (char *) "self",(char *) "rect", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4893 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_FromInt((int)result
);
4909 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxRegion
*arg1
= (wxRegion
*) 0 ;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 PyObject
* obj2
= 0 ;
4920 PyObject
* obj3
= 0 ;
4921 PyObject
* obj4
= 0 ;
4923 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 arg2
= (int) SWIG_AsInt(obj1
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4931 arg3
= (int) SWIG_AsInt(obj2
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4933 arg4
= (int) SWIG_AsInt(obj3
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4935 arg5
= (int) SWIG_AsInt(obj4
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_FromInt((int)result
);
4951 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxRegion
*arg1
= (wxRegion
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "self", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (arg1
)->GetBox();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4972 resultptr
= new wxRect((wxRect
&) result
);
4973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4981 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxRegion
*arg1
= (wxRegion
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 PyObject
* obj2
= 0 ;
4992 PyObject
* obj3
= 0 ;
4993 PyObject
* obj4
= 0 ;
4995 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5001 arg2
= (int) SWIG_AsInt(obj1
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5003 arg3
= (int) SWIG_AsInt(obj2
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5005 arg4
= (int) SWIG_AsInt(obj3
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5007 arg5
= (int) SWIG_AsInt(obj4
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxRegion
*arg1
= (wxRegion
*) 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5034 (char *) "self",(char *) "rect", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5060 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxRegion
*arg1
= (wxRegion
*) 0 ;
5063 wxRegion
*arg2
= 0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5068 (char *) "self",(char *) "region", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5078 PyErr_SetString(PyExc_TypeError
,"null reference");
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5097 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxRegion
*arg1
= (wxRegion
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5103 (char *) "self", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (bool)(arg1
)->IsEmpty();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5125 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxRegion
*arg1
= (wxRegion
*) 0 ;
5133 PyObject
* obj0
= 0 ;
5134 PyObject
* obj1
= 0 ;
5135 PyObject
* obj2
= 0 ;
5136 PyObject
* obj3
= 0 ;
5137 PyObject
* obj4
= 0 ;
5139 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5145 arg2
= (int) SWIG_AsInt(obj1
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5147 arg3
= (int) SWIG_AsInt(obj2
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5149 arg4
= (int) SWIG_AsInt(obj3
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5151 arg5
= (int) SWIG_AsInt(obj4
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5169 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxRegion
*arg1
= (wxRegion
*) 0 ;
5175 PyObject
* obj0
= 0 ;
5176 PyObject
* obj1
= 0 ;
5178 (char *) "self",(char *) "rect", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5186 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5204 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxRegion
*arg1
= (wxRegion
*) 0 ;
5207 wxRegion
*arg2
= 0 ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5212 (char *) "self",(char *) "region", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5222 PyErr_SetString(PyExc_TypeError
,"null reference");
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5241 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxRegion
*arg1
= (wxRegion
*) 0 ;
5249 PyObject
* obj0
= 0 ;
5250 PyObject
* obj1
= 0 ;
5251 PyObject
* obj2
= 0 ;
5252 PyObject
* obj3
= 0 ;
5253 PyObject
* obj4
= 0 ;
5255 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5261 arg2
= (int) SWIG_AsInt(obj1
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5263 arg3
= (int) SWIG_AsInt(obj2
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5265 arg4
= (int) SWIG_AsInt(obj3
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5267 arg5
= (int) SWIG_AsInt(obj4
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5285 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxRegion
*arg1
= (wxRegion
*) 0 ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5294 (char *) "self",(char *) "rect", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5302 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5320 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxRegion
*arg1
= (wxRegion
*) 0 ;
5323 wxRegion
*arg2
= 0 ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5328 (char *) "self",(char *) "region", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5338 PyErr_SetString(PyExc_TypeError
,"null reference");
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5357 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxRegion
*arg1
= (wxRegion
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5367 PyObject
* obj2
= 0 ;
5368 PyObject
* obj3
= 0 ;
5369 PyObject
* obj4
= 0 ;
5371 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5377 arg2
= (int) SWIG_AsInt(obj1
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5379 arg3
= (int) SWIG_AsInt(obj2
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5381 arg4
= (int) SWIG_AsInt(obj3
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5383 arg5
= (int) SWIG_AsInt(obj4
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5401 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxRegion
*arg1
= (wxRegion
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "self",(char *) "rect", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5436 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxRegion
*arg1
= (wxRegion
*) 0 ;
5439 wxRegion
*arg2
= 0 ;
5441 PyObject
* obj0
= 0 ;
5442 PyObject
* obj1
= 0 ;
5444 (char *) "self",(char *) "region", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5454 PyErr_SetString(PyExc_TypeError
,"null reference");
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5473 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxRegion
*arg1
= (wxRegion
*) 0 ;
5476 SwigValueWrapper
< wxBitmap
> result
;
5477 PyObject
* obj0
= 0 ;
5479 (char *) "self", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (arg1
)->ConvertToBitmap();
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5493 wxBitmap
* resultptr
;
5494 resultptr
= new wxBitmap((wxBitmap
&) result
);
5495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5503 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxRegion
*arg1
= (wxRegion
*) 0 ;
5506 wxBitmap
*arg2
= 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5511 (char *) "self",(char *) "bmp", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5521 PyErr_SetString(PyExc_TypeError
,"null reference");
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5540 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxRegion
*arg1
= (wxRegion
*) 0 ;
5543 wxBitmap
*arg2
= 0 ;
5544 wxColour
*arg3
= 0 ;
5545 int arg4
= (int) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5551 PyObject
* obj3
= 0 ;
5553 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5563 PyErr_SetString(PyExc_TypeError
,"null reference");
5568 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5571 arg4
= (int) SWIG_AsInt(obj3
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5590 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5593 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5595 return Py_BuildValue((char *)"");
5597 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxRegion
*arg1
= 0 ;
5600 wxRegionIterator
*result
;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "region", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5611 PyErr_SetString(PyExc_TypeError
,"null reference");
5615 if (!wxPyCheckForApp()) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5629 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5632 PyObject
* obj0
= 0 ;
5634 (char *) "self", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 Py_INCREF(Py_None
); resultobj
= Py_None
;
5654 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
;
5656 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5658 PyObject
* obj0
= 0 ;
5660 (char *) "self", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (int)(arg1
)->GetX();
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_FromInt((int)result
);
5680 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5684 PyObject
* obj0
= 0 ;
5686 (char *) "self", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (int)(arg1
)->GetY();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_FromInt((int)result
);
5706 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5712 (char *) "self", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (int)(arg1
)->GetW();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= SWIG_FromInt((int)result
);
5732 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5738 (char *) "self", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (int)(arg1
)->GetWidth();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_FromInt((int)result
);
5758 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5762 PyObject
* obj0
= 0 ;
5764 (char *) "self", NULL
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 result
= (int)(arg1
)->GetH();
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= SWIG_FromInt((int)result
);
5784 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5788 PyObject
* obj0
= 0 ;
5790 (char *) "self", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (int)(arg1
)->GetHeight();
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= SWIG_FromInt((int)result
);
5810 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5812 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5816 (char *) "self", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (arg1
)->GetRect();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5831 resultptr
= new wxRect((wxRect
&) result
);
5832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5840 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5846 (char *) "self", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (bool)(arg1
)->HaveRects();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5868 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5873 (char *) "self", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 wxRegionIterator_Next(arg1
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 Py_INCREF(Py_None
); resultobj
= Py_None
;
5918 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5946 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5949 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5951 return Py_BuildValue((char *)"");
5953 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxNativeFontInfo
*result
;
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5975 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5978 PyObject
* obj0
= 0 ;
5980 (char *) "self", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 Py_INCREF(Py_None
); resultobj
= Py_None
;
6000 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
;
6002 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6003 PyObject
* obj0
= 0 ;
6005 (char *) "self", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 Py_INCREF(Py_None
); resultobj
= Py_None
;
6025 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6032 (char *) "self",(char *) "font", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6042 PyErr_SetString(PyExc_TypeError
,"null reference");
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6065 (char *) "self", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_FromInt((int)result
);
6085 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= SWIG_FromInt((int)result
);
6111 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6117 (char *) "self", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_FromInt((int)result
);
6137 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6143 (char *) "self", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6165 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "self", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6197 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6203 (char *) "self", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_FromInt((int)result
);
6223 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 resultobj
= SWIG_FromInt((int)result
);
6249 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6253 PyObject
* obj0
= 0 ;
6254 PyObject
* obj1
= 0 ;
6256 (char *) "self",(char *) "pointsize", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6262 arg2
= (int) SWIG_AsInt(obj1
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 (arg1
)->SetPointSize(arg2
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 Py_INCREF(Py_None
); resultobj
= Py_None
;
6278 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6285 (char *) "self",(char *) "style", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 Py_INCREF(Py_None
); resultobj
= Py_None
;
6307 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6312 PyObject
* obj1
= 0 ;
6314 (char *) "self",(char *) "weight", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 Py_INCREF(Py_None
); resultobj
= Py_None
;
6336 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6343 (char *) "self",(char *) "underlined", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 arg2
= (bool) SWIG_AsBool(obj1
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 (arg1
)->SetUnderlined(arg2
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6365 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6372 (char *) "self",(char *) "facename", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 wxString
* sptr
= wxString_in_helper(obj1
);
6380 if (sptr
== NULL
) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 (arg1
)->SetFaceName(arg2
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 Py_INCREF(Py_None
); resultobj
= Py_None
;
6398 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6405 (char *) "self",(char *) "family", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6411 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 Py_INCREF(Py_None
); resultobj
= Py_None
;
6427 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6434 (char *) "self",(char *) "encoding", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6440 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6459 wxString
*arg2
= 0 ;
6461 bool temp2
= False
;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6465 (char *) "self",(char *) "s", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6472 arg2
= wxString_in_helper(obj1
);
6473 if (arg2
== NULL
) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6500 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6504 PyObject
* obj0
= 0 ;
6506 (char *) "self", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6532 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6536 PyObject
* obj0
= 0 ;
6538 (char *) "self", NULL
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= wxNativeFontInfo___str__(arg1
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6564 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6567 wxString
*arg2
= 0 ;
6569 bool temp2
= False
;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6573 (char *) "self",(char *) "s", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6580 arg2
= wxString_in_helper(obj1
);
6581 if (arg2
== NULL
) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6608 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6614 (char *) "self", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6640 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6643 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6645 return Py_BuildValue((char *)"");
6647 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6650 wxString
*arg2
= (wxString
*) 0 ;
6651 bool temp2
= False
;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6655 (char *) "self",(char *) "facename", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6662 arg2
= wxString_in_helper(obj1
);
6663 if (arg2
== NULL
) SWIG_fail
;
6666 if (arg1
) (arg1
)->facename
= *arg2
;
6668 Py_INCREF(Py_None
); resultobj
= Py_None
;
6683 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6687 PyObject
* obj0
= 0 ;
6689 (char *) "self", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 result
= (wxString
*)& ((arg1
)->facename
);
6699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6710 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6717 (char *) "self",(char *) "encoding", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6725 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6727 Py_INCREF(Py_None
); resultobj
= Py_None
;
6734 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6746 result
= (int) ((arg1
)->encoding
);
6748 resultobj
= SWIG_FromInt((int)result
);
6755 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxNativeEncodingInfo
*result
;
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6777 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6782 (char *) "self", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 Py_INCREF(Py_None
); resultobj
= Py_None
;
6802 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6805 wxString
*arg2
= 0 ;
6807 bool temp2
= False
;
6808 PyObject
* obj0
= 0 ;
6809 PyObject
* obj1
= 0 ;
6811 (char *) "self",(char *) "s", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 arg2
= wxString_in_helper(obj1
);
6819 if (arg2
== NULL
) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6846 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6850 PyObject
* obj0
= 0 ;
6852 (char *) "self", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6878 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6881 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6883 return Py_BuildValue((char *)"");
6885 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6888 wxNativeEncodingInfo
*result
;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "encoding", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6895 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6911 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxNativeEncodingInfo
*arg1
= 0 ;
6915 PyObject
* obj0
= 0 ;
6917 (char *) "info", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6925 PyErr_SetString(PyExc_TypeError
,"null reference");
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6944 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxFontMapper
*result
;
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (wxFontMapper
*)new wxFontMapper();
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6966 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6971 (char *) "self", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 Py_INCREF(Py_None
); resultobj
= Py_None
;
6991 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxFontMapper
*result
;
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 result
= (wxFontMapper
*)wxFontMapper::Get();
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7013 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7015 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7016 wxFontMapper
*result
;
7017 PyObject
* obj0
= 0 ;
7019 (char *) "mapper", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7039 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7042 wxString
*arg2
= 0 ;
7043 bool arg3
= (bool) True
;
7045 bool temp2
= False
;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7048 PyObject
* obj2
= 0 ;
7050 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 arg2
= wxString_in_helper(obj1
);
7058 if (arg2
== NULL
) SWIG_fail
;
7062 arg3
= (bool) SWIG_AsBool(obj2
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_FromInt((int)result
);
7087 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7109 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7113 PyObject
* obj0
= 0 ;
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7119 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (int)wxFontMapper::GetEncoding(arg1
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= SWIG_FromInt((int)result
);
7135 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "encoding", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7145 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7167 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "encoding", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7177 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7199 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxString
*arg1
= 0 ;
7203 bool temp1
= False
;
7204 PyObject
* obj0
= 0 ;
7206 (char *) "name", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7211 arg1
= wxString_in_helper(obj0
);
7212 if (arg1
== NULL
) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= SWIG_FromInt((int)result
);
7237 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7240 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7241 PyObject
* obj0
= 0 ;
7242 PyObject
* obj1
= 0 ;
7244 (char *) "self",(char *) "config", NULL
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 (arg1
)->SetConfig(arg2
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 Py_INCREF(Py_None
); resultobj
= Py_None
;
7266 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7268 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7269 wxString
*arg2
= 0 ;
7270 bool temp2
= False
;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7274 (char *) "self",(char *) "prefix", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7281 arg2
= wxString_in_helper(obj1
);
7282 if (arg2
== NULL
) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 Py_INCREF(Py_None
); resultobj
= Py_None
;
7307 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= wxFontMapper::GetDefaultConfigPath();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7335 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
;
7337 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7339 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7341 bool arg4
= (bool) True
;
7343 bool temp3
= False
;
7344 PyObject
* obj0
= 0 ;
7345 PyObject
* obj1
= 0 ;
7346 PyObject
* obj2
= 0 ;
7347 PyObject
* obj3
= 0 ;
7349 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7355 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7359 arg3
= wxString_in_helper(obj2
);
7360 if (arg3
== NULL
) SWIG_fail
;
7365 arg4
= (bool) SWIG_AsBool(obj3
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7390 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7397 bool temp3
= False
;
7398 PyObject
* obj0
= 0 ;
7399 PyObject
* obj1
= 0 ;
7400 PyObject
* obj2
= 0 ;
7402 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7408 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7412 arg3
= wxString_in_helper(obj2
);
7413 if (arg3
== NULL
) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7441 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
;
7443 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7444 wxWindow
*arg2
= (wxWindow
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "self",(char *) "parent", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 (arg1
)->SetDialogParent(arg2
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7463 Py_INCREF(Py_None
); resultobj
= Py_None
;
7470 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7473 wxString
*arg2
= 0 ;
7474 bool temp2
= False
;
7475 PyObject
* obj0
= 0 ;
7476 PyObject
* obj1
= 0 ;
7478 (char *) "self",(char *) "title", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 arg2
= wxString_in_helper(obj1
);
7486 if (arg2
== NULL
) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 Py_INCREF(Py_None
); resultobj
= Py_None
;
7511 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7514 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7516 return Py_BuildValue((char *)"");
7518 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
;
7524 bool arg5
= (bool) False
;
7525 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7526 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7527 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7529 bool temp6
= False
;
7530 PyObject
* obj0
= 0 ;
7531 PyObject
* obj1
= 0 ;
7532 PyObject
* obj2
= 0 ;
7533 PyObject
* obj3
= 0 ;
7534 PyObject
* obj4
= 0 ;
7535 PyObject
* obj5
= 0 ;
7536 PyObject
* obj6
= 0 ;
7538 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7542 arg1
= (int) SWIG_AsInt(obj0
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7544 arg2
= (int) SWIG_AsInt(obj1
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7546 arg3
= (int) SWIG_AsInt(obj2
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7548 arg4
= (int) SWIG_AsInt(obj3
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 arg5
= (bool) SWIG_AsBool(obj4
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7556 arg6
= wxString_in_helper(obj5
);
7557 if (arg6
== NULL
) SWIG_fail
;
7562 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7566 if (!wxPyCheckForApp()) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7588 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxFont
*arg1
= (wxFont
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7593 (char *) "self", NULL
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 Py_INCREF(Py_None
); resultobj
= Py_None
;
7613 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxNativeFontInfo
*arg1
= 0 ;
7617 PyObject
* obj0
= 0 ;
7619 (char *) "info", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7627 PyErr_SetString(PyExc_TypeError
,"null reference");
7631 if (!wxPyCheckForApp()) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7645 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxString
*arg1
= 0 ;
7649 bool temp1
= False
;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "info", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7657 arg1
= wxString_in_helper(obj0
);
7658 if (arg1
== NULL
) SWIG_fail
;
7662 if (!wxPyCheckForApp()) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7684 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7688 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7689 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7690 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7691 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7693 bool temp4
= False
;
7694 PyObject
* obj0
= 0 ;
7695 PyObject
* obj1
= 0 ;
7696 PyObject
* obj2
= 0 ;
7697 PyObject
* obj3
= 0 ;
7698 PyObject
* obj4
= 0 ;
7700 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7704 arg1
= (int) SWIG_AsInt(obj0
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7706 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 arg3
= (int) SWIG_AsInt(obj2
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7714 arg4
= wxString_in_helper(obj3
);
7715 if (arg4
== NULL
) SWIG_fail
;
7720 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 if (!wxPyCheckForApp()) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7746 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxFont
*arg1
= (wxFont
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "self", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= (bool)((wxFont
const *)arg1
)->Ok();
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7774 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxFont
*arg1
= (wxFont
*) 0 ;
7777 wxFont
*arg2
= (wxFont
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7782 (char *) "self",(char *) "other", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxFont
*arg1
= (wxFont
*) 0 ;
7809 wxFont
*arg2
= (wxFont
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "other", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7838 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxFont
*arg1
= (wxFont
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_FromInt((int)result
);
7864 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxFont
*arg1
= (wxFont
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= SWIG_FromInt((int)result
);
7890 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxFont
*arg1
= (wxFont
*) 0 ;
7894 PyObject
* obj0
= 0 ;
7896 (char *) "self", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= SWIG_FromInt((int)result
);
7916 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7917 PyObject
*resultobj
;
7918 wxFont
*arg1
= (wxFont
*) 0 ;
7920 PyObject
* obj0
= 0 ;
7922 (char *) "self", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= SWIG_FromInt((int)result
);
7942 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxFont
*arg1
= (wxFont
*) 0 ;
7946 PyObject
* obj0
= 0 ;
7948 (char *) "self", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxFont
*arg1
= (wxFont
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= ((wxFont
const *)arg1
)->GetFaceName();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8002 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxFont
*arg1
= (wxFont
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "self", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_FromInt((int)result
);
8028 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxFont
*arg1
= (wxFont
*) 0 ;
8031 wxNativeFontInfo
*result
;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8054 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxFont
*arg1
= (wxFont
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "self", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8082 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxFont
*arg1
= (wxFont
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "self", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8114 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxFont
*arg1
= (wxFont
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8120 (char *) "self", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8146 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxFont
*arg1
= (wxFont
*) 0 ;
8150 PyObject
* obj0
= 0 ;
8151 PyObject
* obj1
= 0 ;
8153 (char *) "self",(char *) "pointSize", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8159 arg2
= (int) SWIG_AsInt(obj1
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 (arg1
)->SetPointSize(arg2
);
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 Py_INCREF(Py_None
); resultobj
= Py_None
;
8175 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
;
8177 wxFont
*arg1
= (wxFont
*) 0 ;
8179 PyObject
* obj0
= 0 ;
8180 PyObject
* obj1
= 0 ;
8182 (char *) "self",(char *) "family", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8188 arg2
= (int) SWIG_AsInt(obj1
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 (arg1
)->SetFamily(arg2
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 Py_INCREF(Py_None
); resultobj
= Py_None
;
8204 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxFont
*arg1
= (wxFont
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8211 (char *) "self",(char *) "style", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8217 arg2
= (int) SWIG_AsInt(obj1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 (arg1
)->SetStyle(arg2
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8233 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxFont
*arg1
= (wxFont
*) 0 ;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8240 (char *) "self",(char *) "weight", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8246 arg2
= (int) SWIG_AsInt(obj1
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 (arg1
)->SetWeight(arg2
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxFont
*arg1
= (wxFont
*) 0 ;
8265 wxString
*arg2
= 0 ;
8266 bool temp2
= False
;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8270 (char *) "self",(char *) "faceName", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8277 arg2
= wxString_in_helper(obj1
);
8278 if (arg2
== NULL
) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8303 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxFont
*arg1
= (wxFont
*) 0 ;
8307 PyObject
* obj0
= 0 ;
8308 PyObject
* obj1
= 0 ;
8310 (char *) "self",(char *) "underlined", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8316 arg2
= (bool) SWIG_AsBool(obj1
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->SetUnderlined(arg2
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxFont
*arg1
= (wxFont
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8337 PyObject
* obj1
= 0 ;
8339 (char *) "self",(char *) "encoding", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 Py_INCREF(Py_None
); resultobj
= Py_None
;
8361 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxFont
*arg1
= (wxFont
*) 0 ;
8364 wxNativeFontInfo
*arg2
= 0 ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8368 (char *) "self",(char *) "info", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8378 PyErr_SetString(PyExc_TypeError
,"null reference");
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 Py_INCREF(Py_None
); resultobj
= Py_None
;
8395 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxFont
*arg1
= (wxFont
*) 0 ;
8398 wxString
*arg2
= 0 ;
8399 bool temp2
= False
;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8403 (char *) "self",(char *) "info", NULL
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8410 arg2
= wxString_in_helper(obj1
);
8411 if (arg2
== NULL
) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 Py_INCREF(Py_None
); resultobj
= Py_None
;
8436 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxFont
*arg1
= (wxFont
*) 0 ;
8439 wxString
*arg2
= 0 ;
8440 bool temp2
= False
;
8441 PyObject
* obj0
= 0 ;
8442 PyObject
* obj1
= 0 ;
8444 (char *) "self",(char *) "info", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8451 arg2
= wxString_in_helper(obj1
);
8452 if (arg2
== NULL
) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 Py_INCREF(Py_None
); resultobj
= Py_None
;
8477 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxFont
*arg1
= (wxFont
*) 0 ;
8481 PyObject
* obj0
= 0 ;
8483 (char *) "self", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8509 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxFont
*arg1
= (wxFont
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8515 (char *) "self", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= ((wxFont
const *)arg1
)->GetStyleString();
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8541 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxFont
*arg1
= (wxFont
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8547 (char *) "self", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= ((wxFont
const *)arg1
)->GetWeightString();
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8573 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxFont
*arg1
= (wxFont
*) 0 ;
8576 bool arg2
= (bool) True
;
8577 PyObject
* obj0
= 0 ;
8578 PyObject
* obj1
= 0 ;
8580 (char *) "self",(char *) "no", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 arg2
= (bool) SWIG_AsBool(obj1
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 (arg1
)->SetNoAntiAliasing(arg2
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 Py_INCREF(Py_None
); resultobj
= Py_None
;
8604 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxFont
*arg1
= (wxFont
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (bool)(arg1
)->GetNoAntiAliasing();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8632 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8641 if (!wxPyCheckForApp()) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 result
= (int)wxFont::GetDefaultEncoding();
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= SWIG_FromInt((int)result
);
8655 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8658 PyObject
* obj0
= 0 ;
8660 (char *) "encoding", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8664 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 if (!wxPyCheckForApp()) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 Py_INCREF(Py_None
); resultobj
= Py_None
;
8681 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8684 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8686 return Py_BuildValue((char *)"");
8688 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxPyFontEnumerator
*result
;
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8697 if (!wxPyCheckForApp()) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8711 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8714 PyObject
* obj0
= 0 ;
8716 (char *) "self", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8739 PyObject
*arg2
= (PyObject
*) 0 ;
8740 PyObject
*arg3
= (PyObject
*) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8745 PyObject
* obj3
= 0 ;
8747 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 arg4
= (bool) SWIG_AsBool(obj3
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 Py_INCREF(Py_None
); resultobj
= Py_None
;
8771 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8774 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8775 bool arg3
= (bool) False
;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8779 PyObject
* obj2
= 0 ;
8781 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8788 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8792 arg3
= (bool) SWIG_AsBool(obj2
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8811 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8814 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8815 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8817 bool temp2
= False
;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8821 (char *) "self",(char *) "facename", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8829 arg2
= wxString_in_helper(obj1
);
8830 if (arg2
== NULL
) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8858 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8862 PyObject
* obj0
= 0 ;
8864 (char *) "self", NULL
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8884 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8890 (char *) "self", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8910 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8913 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8915 return Py_BuildValue((char *)"");
8917 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8919 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8924 (char *) "self",(char *) "Language", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 arg2
= (int) SWIG_AsInt(obj1
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8932 if (arg1
) (arg1
)->Language
= arg2
;
8934 Py_INCREF(Py_None
); resultobj
= Py_None
;
8941 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8947 (char *) "self", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8953 result
= (int) ((arg1
)->Language
);
8955 resultobj
= SWIG_FromInt((int)result
);
8962 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
;
8964 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8965 wxString
*arg2
= (wxString
*) 0 ;
8966 bool temp2
= False
;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8970 (char *) "self",(char *) "CanonicalName", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 arg2
= wxString_in_helper(obj1
);
8978 if (arg2
== NULL
) SWIG_fail
;
8981 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8983 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "self", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9010 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9014 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9016 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9025 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9028 wxString
*arg2
= (wxString
*) 0 ;
9029 bool temp2
= False
;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9033 (char *) "self",(char *) "Description", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9040 arg2
= wxString_in_helper(obj1
);
9041 if (arg2
== NULL
) SWIG_fail
;
9044 if (arg1
) (arg1
)->Description
= *arg2
;
9046 Py_INCREF(Py_None
); resultobj
= Py_None
;
9061 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9073 result
= (wxString
*)& ((arg1
)->Description
);
9077 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9079 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9088 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9091 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9093 return Py_BuildValue((char *)"");
9095 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 int arg1
= (int) -1 ;
9098 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9103 (char *) "language",(char *) "flags", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 arg1
= (int) SWIG_AsInt(obj0
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9112 arg2
= (int) SWIG_AsInt(obj1
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9129 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxLocale
*arg1
= (wxLocale
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxLocale
*arg1
= (wxLocale
*) 0 ;
9157 wxString
*arg2
= 0 ;
9158 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9159 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9160 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9161 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9162 bool arg5
= (bool) True
;
9163 bool arg6
= (bool) False
;
9165 bool temp2
= False
;
9166 bool temp3
= False
;
9167 bool temp4
= False
;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9170 PyObject
* obj2
= 0 ;
9171 PyObject
* obj3
= 0 ;
9172 PyObject
* obj4
= 0 ;
9173 PyObject
* obj5
= 0 ;
9175 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9182 arg2
= wxString_in_helper(obj1
);
9183 if (arg2
== NULL
) SWIG_fail
;
9188 arg3
= wxString_in_helper(obj2
);
9189 if (arg3
== NULL
) SWIG_fail
;
9195 arg4
= wxString_in_helper(obj3
);
9196 if (arg4
== NULL
) SWIG_fail
;
9201 arg5
= (bool) SWIG_AsBool(obj4
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 arg6
= (bool) SWIG_AsBool(obj5
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9248 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxLocale
*arg1
= (wxLocale
*) 0 ;
9251 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9252 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9254 PyObject
* obj0
= 0 ;
9255 PyObject
* obj1
= 0 ;
9256 PyObject
* obj2
= 0 ;
9258 (char *) "self",(char *) "language",(char *) "flags", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 arg2
= (int) SWIG_AsInt(obj1
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9269 arg3
= (int) SWIG_AsInt(obj2
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9288 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (int)wxLocale::GetSystemLanguage();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_FromInt((int)result
);
9310 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (int)wxLocale::GetSystemEncoding();
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_FromInt((int)result
);
9332 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= wxLocale::GetSystemEncodingName();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9360 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxLocale
*arg1
= (wxLocale
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9388 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxLocale
*arg1
= (wxLocale
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= ((wxLocale
const *)arg1
)->GetLocale();
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9420 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxLocale
*arg1
= (wxLocale
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9426 (char *) "self", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_FromInt((int)result
);
9446 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxLocale
*arg1
= (wxLocale
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9452 (char *) "self", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 result
= ((wxLocale
const *)arg1
)->GetSysName();
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9478 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
;
9480 wxLocale
*arg1
= (wxLocale
*) 0 ;
9482 PyObject
* obj0
= 0 ;
9484 (char *) "self", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9510 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxString
*arg1
= 0 ;
9513 bool temp1
= False
;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "prefix", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9521 arg1
= wxString_in_helper(obj0
);
9522 if (arg1
== NULL
) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 Py_INCREF(Py_None
); resultobj
= Py_None
;
9547 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxLocale
*arg1
= (wxLocale
*) 0 ;
9550 wxString
*arg2
= 0 ;
9552 bool temp2
= False
;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9556 (char *) "self",(char *) "szDomain", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 arg2
= wxString_in_helper(obj1
);
9564 if (arg2
== NULL
) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9591 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxLocale
*arg1
= (wxLocale
*) 0 ;
9594 wxString
*arg2
= 0 ;
9596 bool temp2
= False
;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9600 (char *) "self",(char *) "szDomain", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= wxString_in_helper(obj1
);
9608 if (arg2
== NULL
) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9635 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9638 wxLanguageInfo
*result
;
9639 PyObject
* obj0
= 0 ;
9641 (char *) "lang", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9645 arg1
= (int) SWIG_AsInt(obj0
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9661 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9665 PyObject
* obj0
= 0 ;
9667 (char *) "lang", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9671 arg1
= (int) SWIG_AsInt(obj0
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= wxLocale::GetLanguageName(arg1
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9693 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxString
*arg1
= 0 ;
9696 wxLanguageInfo
*result
;
9697 bool temp1
= False
;
9698 PyObject
* obj0
= 0 ;
9700 (char *) "locale", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9705 arg1
= wxString_in_helper(obj0
);
9706 if (arg1
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9731 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxLanguageInfo
*arg1
= 0 ;
9734 PyObject
* obj0
= 0 ;
9736 (char *) "info", NULL
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9744 PyErr_SetString(PyExc_TypeError
,"null reference");
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 Py_INCREF(Py_None
); resultobj
= Py_None
;
9761 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxLocale
*arg1
= (wxLocale
*) 0 ;
9764 wxString
*arg2
= 0 ;
9765 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9766 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9768 bool temp2
= False
;
9769 bool temp3
= False
;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9772 PyObject
* obj2
= 0 ;
9774 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9781 arg2
= wxString_in_helper(obj1
);
9782 if (arg2
== NULL
) SWIG_fail
;
9787 arg3
= wxString_in_helper(obj2
);
9788 if (arg3
== NULL
) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9828 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxLocale
*arg1
= (wxLocale
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9844 result
= (wxString
*) &_result_ref
;
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9854 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9863 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9866 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9868 return Py_BuildValue((char *)"");
9870 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (wxLocale
*)wxGetLocale();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9892 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9893 PyObject
*resultobj
;
9894 wxString
*arg1
= 0 ;
9896 bool temp1
= False
;
9897 PyObject
* obj0
= 0 ;
9899 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9901 arg1
= wxString_in_helper(obj0
);
9902 if (arg1
== NULL
) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= wxGetTranslation((wxString
const &)*arg1
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9933 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9934 PyObject
*resultobj
;
9935 wxString
*arg1
= 0 ;
9936 wxString
*arg2
= 0 ;
9939 bool temp1
= False
;
9940 bool temp2
= False
;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 PyObject
* obj2
= 0 ;
9945 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9947 arg1
= wxString_in_helper(obj0
);
9948 if (arg1
== NULL
) SWIG_fail
;
9952 arg2
= wxString_in_helper(obj1
);
9953 if (arg2
== NULL
) SWIG_fail
;
9956 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9994 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9999 argc
= PyObject_Length(args
);
10000 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10001 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10006 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10009 return _wrap_GetTranslation__SWIG_0(self
,args
);
10015 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10019 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10022 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10024 return _wrap_GetTranslation__SWIG_1(self
,args
);
10030 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10035 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxEncodingConverter
*result
;
10038 char *kwnames
[] = {
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10057 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 Py_INCREF(Py_None
); resultobj
= Py_None
;
10082 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10087 int arg4
= (int) wxCONVERT_STRICT
;
10089 PyObject
* obj0
= 0 ;
10090 PyObject
* obj1
= 0 ;
10091 PyObject
* obj2
= 0 ;
10092 PyObject
* obj3
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10100 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10102 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 arg4
= (int) SWIG_AsInt(obj3
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10124 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10127 wxString
*arg2
= 0 ;
10129 bool temp2
= False
;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "input", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 arg2
= wxString_in_helper(obj1
);
10141 if (arg2
== NULL
) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10172 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10175 int arg2
= (int) wxPLATFORM_CURRENT
;
10176 wxFontEncodingArray result
;
10177 PyObject
* obj0
= 0 ;
10178 PyObject
* obj1
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "enc",(char *) "platform", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10184 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 arg2
= (int) SWIG_AsInt(obj1
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= PyList_New(0);
10199 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10200 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10201 PyList_Append(resultobj
, number
);
10211 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10214 wxFontEncodingArray result
;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "enc", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10221 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= PyList_New(0);
10232 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10233 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10234 PyList_Append(resultobj
, number
);
10244 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "encIn",(char *) "encOut", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10256 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10258 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10276 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10279 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10281 return Py_BuildValue((char *)"");
10283 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxDC
*arg1
= (wxDC
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 Py_INCREF(Py_None
); resultobj
= Py_None
;
10308 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxDC
*arg1
= (wxDC
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 (arg1
)->BeginDrawing();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 Py_INCREF(Py_None
); resultobj
= Py_None
;
10333 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxDC
*arg1
= (wxDC
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 char *kwnames
[] = {
10338 (char *) "self", NULL
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 (arg1
)->EndDrawing();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 Py_INCREF(Py_None
); resultobj
= Py_None
;
10358 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxDC
*arg1
= (wxDC
*) 0 ;
10363 wxColour
*arg4
= 0 ;
10364 int arg5
= (int) wxFLOOD_SURFACE
;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 PyObject
* obj2
= 0 ;
10370 PyObject
* obj3
= 0 ;
10371 PyObject
* obj4
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10379 arg2
= (int) SWIG_AsInt(obj1
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10381 arg3
= (int) SWIG_AsInt(obj2
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10385 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10388 arg5
= (int) SWIG_AsInt(obj4
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10407 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxDC
*arg1
= (wxDC
*) 0 ;
10410 wxPoint
*arg2
= 0 ;
10411 wxColour
*arg3
= 0 ;
10412 int arg4
= (int) wxFLOOD_SURFACE
;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 PyObject
* obj2
= 0 ;
10419 PyObject
* obj3
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10433 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10436 arg4
= (int) SWIG_AsInt(obj3
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10455 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxDC
*arg1
= (wxDC
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 PyObject
* obj2
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "x",(char *) "y", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 arg2
= (int) SWIG_AsInt(obj1
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10473 arg3
= (int) SWIG_AsInt(obj2
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10483 wxColour
* resultptr
;
10484 resultptr
= new wxColour((wxColour
&) result
);
10485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10493 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxDC
*arg1
= (wxDC
*) 0 ;
10496 wxPoint
*arg2
= 0 ;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self",(char *) "pt", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10520 wxColour
* resultptr
;
10521 resultptr
= new wxColour((wxColour
&) result
);
10522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10530 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxDC
*arg1
= (wxDC
*) 0 ;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 PyObject
* obj2
= 0 ;
10540 PyObject
* obj3
= 0 ;
10541 PyObject
* obj4
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 arg2
= (int) SWIG_AsInt(obj1
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10551 arg3
= (int) SWIG_AsInt(obj2
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10553 arg4
= (int) SWIG_AsInt(obj3
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10555 arg5
= (int) SWIG_AsInt(obj4
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxDC
*arg1
= (wxDC
*) 0 ;
10574 wxPoint
*arg2
= 0 ;
10575 wxPoint
*arg3
= 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 PyObject
* obj2
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 Py_INCREF(Py_None
); resultobj
= Py_None
;
10610 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxDC
*arg1
= (wxDC
*) 0 ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 PyObject
* obj2
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self",(char *) "x",(char *) "y", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10625 arg2
= (int) SWIG_AsInt(obj1
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10627 arg3
= (int) SWIG_AsInt(obj2
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 (arg1
)->CrossHair(arg2
,arg3
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 Py_INCREF(Py_None
); resultobj
= Py_None
;
10643 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxDC
*arg1
= (wxDC
*) 0 ;
10646 wxPoint
*arg2
= 0 ;
10648 PyObject
* obj0
= 0 ;
10649 PyObject
* obj1
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self",(char *) "pt", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 Py_INCREF(Py_None
); resultobj
= Py_None
;
10675 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxDC
*arg1
= (wxDC
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 PyObject
* obj3
= 0 ;
10688 PyObject
* obj4
= 0 ;
10689 PyObject
* obj5
= 0 ;
10690 PyObject
* obj6
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10698 arg2
= (int) SWIG_AsInt(obj1
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10700 arg3
= (int) SWIG_AsInt(obj2
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10702 arg4
= (int) SWIG_AsInt(obj3
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10704 arg5
= (int) SWIG_AsInt(obj4
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10706 arg6
= (int) SWIG_AsInt(obj5
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10708 arg7
= (int) SWIG_AsInt(obj6
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 Py_INCREF(Py_None
); resultobj
= Py_None
;
10724 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxDC
*arg1
= (wxDC
*) 0 ;
10727 wxPoint
*arg2
= 0 ;
10728 wxPoint
*arg3
= 0 ;
10729 wxPoint
*arg4
= 0 ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 PyObject
* obj3
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxDC
*arg1
= (wxDC
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 PyObject
* obj2
= 0 ;
10780 PyObject
* obj3
= 0 ;
10781 PyObject
* obj4
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 arg2
= (int) SWIG_AsInt(obj1
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10791 arg3
= (int) SWIG_AsInt(obj2
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10793 arg4
= (int) SWIG_AsInt(obj3
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10795 arg5
= (int) SWIG_AsInt(obj4
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 Py_INCREF(Py_None
); resultobj
= Py_None
;
10811 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxDC
*arg1
= (wxDC
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self",(char *) "rect", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 Py_INCREF(Py_None
); resultobj
= Py_None
;
10843 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxDC
*arg1
= (wxDC
*) 0 ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 PyObject
* obj3
= 0 ;
10856 PyObject
* obj4
= 0 ;
10857 PyObject
* obj5
= 0 ;
10858 PyObject
* obj6
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 arg2
= (int) SWIG_AsInt(obj1
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10868 arg3
= (int) SWIG_AsInt(obj2
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10870 arg4
= (int) SWIG_AsInt(obj3
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10872 arg5
= (int) SWIG_AsInt(obj4
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10874 arg6
= (double) SWIG_AsDouble(obj5
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10876 arg7
= (double) SWIG_AsDouble(obj6
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxDC
*arg1
= (wxDC
*) 0 ;
10895 wxPoint
*arg2
= 0 ;
10901 PyObject
* obj0
= 0 ;
10902 PyObject
* obj1
= 0 ;
10903 PyObject
* obj2
= 0 ;
10904 PyObject
* obj3
= 0 ;
10905 PyObject
* obj4
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10919 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10921 arg4
= (double) SWIG_AsDouble(obj3
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10923 arg5
= (double) SWIG_AsDouble(obj4
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 Py_INCREF(Py_None
); resultobj
= Py_None
;
10939 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxDC
*arg1
= (wxDC
*) 0 ;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 PyObject
* obj2
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "x",(char *) "y", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 arg2
= (int) SWIG_AsInt(obj1
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10956 arg3
= (int) SWIG_AsInt(obj2
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 (arg1
)->DrawPoint(arg2
,arg3
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxDC
*arg1
= (wxDC
*) 0 ;
10975 wxPoint
*arg2
= 0 ;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "pt", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 Py_INCREF(Py_None
); resultobj
= Py_None
;
11004 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxDC
*arg1
= (wxDC
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 PyObject
* obj2
= 0 ;
11014 PyObject
* obj3
= 0 ;
11015 PyObject
* obj4
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (int) SWIG_AsInt(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11025 arg3
= (int) SWIG_AsInt(obj2
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11027 arg4
= (int) SWIG_AsInt(obj3
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11029 arg5
= (int) SWIG_AsInt(obj4
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11045 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxDC
*arg1
= (wxDC
*) 0 ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self",(char *) "rect", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11061 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxDC
*arg1
= (wxDC
*) 0 ;
11080 wxPoint
*arg2
= 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self",(char *) "pt",(char *) "sz", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11100 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxDC
*arg1
= (wxDC
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 PyObject
* obj2
= 0 ;
11127 PyObject
* obj3
= 0 ;
11128 PyObject
* obj4
= 0 ;
11129 PyObject
* obj5
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11137 arg2
= (int) SWIG_AsInt(obj1
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11139 arg3
= (int) SWIG_AsInt(obj2
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11141 arg4
= (int) SWIG_AsInt(obj3
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11143 arg5
= (int) SWIG_AsInt(obj4
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11145 arg6
= (double) SWIG_AsDouble(obj5
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 Py_INCREF(Py_None
); resultobj
= Py_None
;
11161 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxDC
*arg1
= (wxDC
*) 0 ;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 PyObject
* obj2
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "r",(char *) "radius", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11179 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11181 arg3
= (double) SWIG_AsDouble(obj2
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxDC
*arg1
= (wxDC
*) 0 ;
11200 wxPoint
*arg2
= 0 ;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 PyObject
* obj2
= 0 ;
11208 PyObject
* obj3
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11222 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11224 arg4
= (double) SWIG_AsDouble(obj3
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 Py_INCREF(Py_None
); resultobj
= Py_None
;
11240 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxDC
*arg1
= (wxDC
*) 0 ;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 PyObject
* obj2
= 0 ;
11249 PyObject
* obj3
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11257 arg2
= (int) SWIG_AsInt(obj1
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11259 arg3
= (int) SWIG_AsInt(obj2
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11261 arg4
= (int) SWIG_AsInt(obj3
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 Py_INCREF(Py_None
); resultobj
= Py_None
;
11277 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxDC
*arg1
= (wxDC
*) 0 ;
11280 wxPoint
*arg2
= 0 ;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 PyObject
* obj2
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self",(char *) "pt",(char *) "radius", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11297 arg3
= (int) SWIG_AsInt(obj2
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 Py_INCREF(Py_None
); resultobj
= Py_None
;
11313 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxDC
*arg1
= (wxDC
*) 0 ;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 PyObject
* obj2
= 0 ;
11323 PyObject
* obj3
= 0 ;
11324 PyObject
* obj4
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11332 arg2
= (int) SWIG_AsInt(obj1
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11334 arg3
= (int) SWIG_AsInt(obj2
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11336 arg4
= (int) SWIG_AsInt(obj3
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11338 arg5
= (int) SWIG_AsInt(obj4
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 Py_INCREF(Py_None
); resultobj
= Py_None
;
11354 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxDC
*arg1
= (wxDC
*) 0 ;
11359 PyObject
* obj0
= 0 ;
11360 PyObject
* obj1
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self",(char *) "rect", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11370 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 Py_INCREF(Py_None
); resultobj
= Py_None
;
11386 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxDC
*arg1
= (wxDC
*) 0 ;
11389 wxPoint
*arg2
= 0 ;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj1
= 0 ;
11395 PyObject
* obj2
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self",(char *) "pt",(char *) "sz", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11409 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 Py_INCREF(Py_None
); resultobj
= Py_None
;
11425 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxDC
*arg1
= (wxDC
*) 0 ;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 PyObject
* obj2
= 0 ;
11434 PyObject
* obj3
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11445 if (arg2
== NULL
) {
11446 PyErr_SetString(PyExc_TypeError
,"null reference");
11449 arg3
= (int) SWIG_AsInt(obj2
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11451 arg4
= (int) SWIG_AsInt(obj3
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 Py_INCREF(Py_None
); resultobj
= Py_None
;
11467 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxDC
*arg1
= (wxDC
*) 0 ;
11471 wxPoint
*arg3
= 0 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 PyObject
* obj2
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self",(char *) "icon",(char *) "pt", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11486 if (arg2
== NULL
) {
11487 PyErr_SetString(PyExc_TypeError
,"null reference");
11492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 Py_INCREF(Py_None
); resultobj
= Py_None
;
11508 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxDC
*arg1
= (wxDC
*) 0 ;
11511 wxBitmap
*arg2
= 0 ;
11514 bool arg5
= (bool) False
;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 PyObject
* obj2
= 0 ;
11518 PyObject
* obj3
= 0 ;
11519 PyObject
* obj4
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11530 if (arg2
== NULL
) {
11531 PyErr_SetString(PyExc_TypeError
,"null reference");
11534 arg3
= (int) SWIG_AsInt(obj2
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11536 arg4
= (int) SWIG_AsInt(obj3
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 arg5
= (bool) SWIG_AsBool(obj4
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 Py_INCREF(Py_None
); resultobj
= Py_None
;
11556 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxDC
*arg1
= (wxDC
*) 0 ;
11559 wxBitmap
*arg2
= 0 ;
11560 wxPoint
*arg3
= 0 ;
11561 bool arg4
= (bool) False
;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 PyObject
* obj2
= 0 ;
11566 PyObject
* obj3
= 0 ;
11567 char *kwnames
[] = {
11568 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11577 if (arg2
== NULL
) {
11578 PyErr_SetString(PyExc_TypeError
,"null reference");
11583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11586 arg4
= (bool) SWIG_AsBool(obj3
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 Py_INCREF(Py_None
); resultobj
= Py_None
;
11603 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxDC
*arg1
= (wxDC
*) 0 ;
11606 wxString
*arg2
= 0 ;
11609 bool temp2
= False
;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 PyObject
* obj2
= 0 ;
11613 PyObject
* obj3
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11622 arg2
= wxString_in_helper(obj1
);
11623 if (arg2
== NULL
) SWIG_fail
;
11626 arg3
= (int) SWIG_AsInt(obj2
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11628 arg4
= (int) SWIG_AsInt(obj3
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 Py_INCREF(Py_None
); resultobj
= Py_None
;
11652 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxDC
*arg1
= (wxDC
*) 0 ;
11655 wxString
*arg2
= 0 ;
11656 wxPoint
*arg3
= 0 ;
11657 bool temp2
= False
;
11659 PyObject
* obj0
= 0 ;
11660 PyObject
* obj1
= 0 ;
11661 PyObject
* obj2
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self",(char *) "text",(char *) "pt", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11670 arg2
= wxString_in_helper(obj1
);
11671 if (arg2
== NULL
) SWIG_fail
;
11676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 Py_INCREF(Py_None
); resultobj
= Py_None
;
11700 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxDC
*arg1
= (wxDC
*) 0 ;
11703 wxString
*arg2
= 0 ;
11707 bool temp2
= False
;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 PyObject
* obj2
= 0 ;
11711 PyObject
* obj3
= 0 ;
11712 PyObject
* obj4
= 0 ;
11713 char *kwnames
[] = {
11714 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 arg2
= wxString_in_helper(obj1
);
11722 if (arg2
== NULL
) SWIG_fail
;
11725 arg3
= (int) SWIG_AsInt(obj2
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11727 arg4
= (int) SWIG_AsInt(obj3
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11729 arg5
= (double) SWIG_AsDouble(obj4
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 Py_INCREF(Py_None
); resultobj
= Py_None
;
11753 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxDC
*arg1
= (wxDC
*) 0 ;
11756 wxString
*arg2
= 0 ;
11757 wxPoint
*arg3
= 0 ;
11759 bool temp2
= False
;
11761 PyObject
* obj0
= 0 ;
11762 PyObject
* obj1
= 0 ;
11763 PyObject
* obj2
= 0 ;
11764 PyObject
* obj3
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11773 arg2
= wxString_in_helper(obj1
);
11774 if (arg2
== NULL
) SWIG_fail
;
11779 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11781 arg4
= (double) SWIG_AsDouble(obj3
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 Py_INCREF(Py_None
); resultobj
= Py_None
;
11805 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxDC
*arg1
= (wxDC
*) 0 ;
11812 wxDC
*arg6
= (wxDC
*) 0 ;
11815 int arg9
= (int) wxCOPY
;
11816 bool arg10
= (bool) False
;
11817 int arg11
= (int) -1 ;
11818 int arg12
= (int) -1 ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 PyObject
* obj2
= 0 ;
11823 PyObject
* obj3
= 0 ;
11824 PyObject
* obj4
= 0 ;
11825 PyObject
* obj5
= 0 ;
11826 PyObject
* obj6
= 0 ;
11827 PyObject
* obj7
= 0 ;
11828 PyObject
* obj8
= 0 ;
11829 PyObject
* obj9
= 0 ;
11830 PyObject
* obj10
= 0 ;
11831 PyObject
* obj11
= 0 ;
11832 char *kwnames
[] = {
11833 (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
11836 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
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11839 arg2
= (int) SWIG_AsInt(obj1
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11841 arg3
= (int) SWIG_AsInt(obj2
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11843 arg4
= (int) SWIG_AsInt(obj3
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11845 arg5
= (int) SWIG_AsInt(obj4
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11847 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11849 arg7
= (int) SWIG_AsInt(obj6
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11851 arg8
= (int) SWIG_AsInt(obj7
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 arg9
= (int) SWIG_AsInt(obj8
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 arg10
= (bool) SWIG_AsBool(obj9
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11862 arg11
= (int) SWIG_AsInt(obj10
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11866 arg12
= (int) SWIG_AsInt(obj11
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11885 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxDC
*arg1
= (wxDC
*) 0 ;
11888 wxPoint
*arg2
= 0 ;
11890 wxDC
*arg4
= (wxDC
*) 0 ;
11891 wxPoint
*arg5
= 0 ;
11892 int arg6
= (int) wxCOPY
;
11893 bool arg7
= (bool) False
;
11894 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11895 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 PyObject
* obj2
= 0 ;
11904 PyObject
* obj3
= 0 ;
11905 PyObject
* obj4
= 0 ;
11906 PyObject
* obj5
= 0 ;
11907 PyObject
* obj6
= 0 ;
11908 PyObject
* obj7
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11922 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11924 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11928 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11931 arg6
= (int) SWIG_AsInt(obj5
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 arg7
= (bool) SWIG_AsBool(obj6
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11941 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11960 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxDC
*arg1
= (wxDC
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 PyObject
* obj1
= 0 ;
11969 PyObject
* obj2
= 0 ;
11970 PyObject
* obj3
= 0 ;
11971 PyObject
* obj4
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 arg2
= (int) SWIG_AsInt(obj1
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11981 arg3
= (int) SWIG_AsInt(obj2
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11983 arg4
= (int) SWIG_AsInt(obj3
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11985 arg5
= (int) SWIG_AsInt(obj4
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 Py_INCREF(Py_None
); resultobj
= Py_None
;
12001 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxDC
*arg1
= (wxDC
*) 0 ;
12004 wxPoint
*arg2
= 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 PyObject
* obj2
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "pt",(char *) "sz", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12020 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12024 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 Py_INCREF(Py_None
); resultobj
= Py_None
;
12040 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxDC
*arg1
= (wxDC
*) 0 ;
12043 wxRegion
*arg2
= 0 ;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self",(char *) "region", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12056 if (arg2
== NULL
) {
12057 PyErr_SetString(PyExc_TypeError
,"null reference");
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 Py_INCREF(Py_None
); resultobj
= Py_None
;
12074 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxDC
*arg1
= (wxDC
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 PyObject
* obj1
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self",(char *) "rect", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 Py_INCREF(Py_None
); resultobj
= Py_None
;
12106 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxDC
*arg1
= (wxDC
*) 0 ;
12110 wxPoint
*arg3
= (wxPoint
*) 0 ;
12111 int arg4
= (int) 0 ;
12112 int arg5
= (int) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 PyObject
* obj2
= 0 ;
12116 PyObject
* obj3
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12125 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12126 if (arg3
== NULL
) SWIG_fail
;
12129 arg4
= (int) SWIG_AsInt(obj2
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12133 arg5
= (int) SWIG_AsInt(obj3
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 Py_INCREF(Py_None
); resultobj
= Py_None
;
12145 if (arg3
) delete [] arg3
;
12150 if (arg3
) delete [] arg3
;
12156 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxDC
*arg1
= (wxDC
*) 0 ;
12160 wxPoint
*arg3
= (wxPoint
*) 0 ;
12161 int arg4
= (int) 0 ;
12162 int arg5
= (int) 0 ;
12163 int arg6
= (int) wxODDEVEN_RULE
;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 PyObject
* obj2
= 0 ;
12167 PyObject
* obj3
= 0 ;
12168 PyObject
* obj4
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12177 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12178 if (arg3
== NULL
) SWIG_fail
;
12181 arg4
= (int) SWIG_AsInt(obj2
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 arg5
= (int) SWIG_AsInt(obj3
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12189 arg6
= (int) SWIG_AsInt(obj4
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 if (arg3
) delete [] arg3
;
12206 if (arg3
) delete [] arg3
;
12212 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxDC
*arg1
= (wxDC
*) 0 ;
12215 wxString
*arg2
= 0 ;
12217 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12218 int arg5
= (int) -1 ;
12219 bool temp2
= False
;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 PyObject
* obj2
= 0 ;
12224 PyObject
* obj3
= 0 ;
12225 PyObject
* obj4
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12234 arg2
= wxString_in_helper(obj1
);
12235 if (arg2
== NULL
) SWIG_fail
;
12240 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12243 arg4
= (int) SWIG_AsInt(obj3
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 arg5
= (int) SWIG_AsInt(obj4
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 Py_INCREF(Py_None
); resultobj
= Py_None
;
12272 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxDC
*arg1
= (wxDC
*) 0 ;
12275 wxString
*arg2
= 0 ;
12276 wxBitmap
*arg3
= 0 ;
12278 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12279 int arg6
= (int) -1 ;
12281 bool temp2
= False
;
12283 PyObject
* obj0
= 0 ;
12284 PyObject
* obj1
= 0 ;
12285 PyObject
* obj2
= 0 ;
12286 PyObject
* obj3
= 0 ;
12287 PyObject
* obj4
= 0 ;
12288 PyObject
* obj5
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12297 arg2
= wxString_in_helper(obj1
);
12298 if (arg2
== NULL
) SWIG_fail
;
12301 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12304 if (arg3
== NULL
) {
12305 PyErr_SetString(PyExc_TypeError
,"null reference");
12310 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12313 arg5
= (int) SWIG_AsInt(obj4
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12317 arg6
= (int) SWIG_AsInt(obj5
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12328 wxRect
* resultptr
;
12329 resultptr
= new wxRect((wxRect
&) result
);
12330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12346 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxDC
*arg1
= (wxDC
*) 0 ;
12350 wxPoint
*arg3
= (wxPoint
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self",(char *) "points", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12362 if (arg3
== NULL
) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 (arg1
)->DrawSpline(arg2
,arg3
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 Py_INCREF(Py_None
); resultobj
= Py_None
;
12373 if (arg3
) delete [] arg3
;
12378 if (arg3
) delete [] arg3
;
12384 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxDC
*arg1
= (wxDC
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxDC
*arg1
= (wxDC
*) 0 ;
12412 wxString
*arg2
= 0 ;
12414 bool temp2
= False
;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self",(char *) "message", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12425 arg2
= wxString_in_helper(obj1
);
12426 if (arg2
== NULL
) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12453 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
;
12455 wxDC
*arg1
= (wxDC
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 Py_INCREF(Py_None
); resultobj
= Py_None
;
12478 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxDC
*arg1
= (wxDC
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 (arg1
)->StartPage();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 Py_INCREF(Py_None
); resultobj
= Py_None
;
12503 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxDC
*arg1
= (wxDC
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "self", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxDC
*arg1
= (wxDC
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "font", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12544 if (arg2
== NULL
) {
12545 PyErr_SetString(PyExc_TypeError
,"null reference");
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 (arg1
)->SetFont((wxFont
const &)*arg2
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12562 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxDC
*arg1
= (wxDC
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self",(char *) "pen", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12578 if (arg2
== NULL
) {
12579 PyErr_SetString(PyExc_TypeError
,"null reference");
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->SetPen((wxPen
const &)*arg2
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 Py_INCREF(Py_None
); resultobj
= Py_None
;
12596 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxDC
*arg1
= (wxDC
*) 0 ;
12599 wxBrush
*arg2
= 0 ;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 char *kwnames
[] = {
12603 (char *) "self",(char *) "brush", NULL
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12612 if (arg2
== NULL
) {
12613 PyErr_SetString(PyExc_TypeError
,"null reference");
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxDC
*arg1
= (wxDC
*) 0 ;
12633 wxBrush
*arg2
= 0 ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self",(char *) "brush", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12646 if (arg2
== NULL
) {
12647 PyErr_SetString(PyExc_TypeError
,"null reference");
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 Py_INCREF(Py_None
); resultobj
= Py_None
;
12664 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxDC
*arg1
= (wxDC
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 char *kwnames
[] = {
12671 (char *) "self",(char *) "mode", NULL
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12677 arg2
= (int) SWIG_AsInt(obj1
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 (arg1
)->SetBackgroundMode(arg2
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 Py_INCREF(Py_None
); resultobj
= Py_None
;
12693 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxDC
*arg1
= (wxDC
*) 0 ;
12696 wxPalette
*arg2
= 0 ;
12697 PyObject
* obj0
= 0 ;
12698 PyObject
* obj1
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self",(char *) "palette", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12709 if (arg2
== NULL
) {
12710 PyErr_SetString(PyExc_TypeError
,"null reference");
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 Py_INCREF(Py_None
); resultobj
= Py_None
;
12727 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxDC
*arg1
= (wxDC
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 (arg1
)->DestroyClippingRegion();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 Py_INCREF(Py_None
); resultobj
= Py_None
;
12752 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxDC
*arg1
= (wxDC
*) 0 ;
12755 int *arg2
= (int *) 0 ;
12756 int *arg3
= (int *) 0 ;
12757 int *arg4
= (int *) 0 ;
12758 int *arg5
= (int *) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12785 resultobj
= t_output_helper(resultobj
,o
);
12788 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12789 resultobj
= t_output_helper(resultobj
,o
);
12792 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12793 resultobj
= t_output_helper(resultobj
,o
);
12796 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12797 resultobj
= t_output_helper(resultobj
,o
);
12805 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxDC
*arg1
= (wxDC
*) 0 ;
12809 PyObject
* obj0
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= wxDC_GetClippingRect(arg1
);
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12825 wxRect
* resultptr
;
12826 resultptr
= new wxRect((wxRect
&) result
);
12827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12835 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxDC
*arg1
= (wxDC
*) 0 ;
12839 PyObject
* obj0
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= SWIG_FromInt((int)result
);
12861 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxDC
*arg1
= (wxDC
*) 0 ;
12865 PyObject
* obj0
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_FromInt((int)result
);
12887 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxDC
*arg1
= (wxDC
*) 0 ;
12890 wxString
*arg2
= 0 ;
12891 int *arg3
= (int *) 0 ;
12892 int *arg4
= (int *) 0 ;
12893 bool temp2
= False
;
12896 PyObject
* obj0
= 0 ;
12897 PyObject
* obj1
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "self",(char *) "string", NULL
12904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12908 arg2
= wxString_in_helper(obj1
);
12909 if (arg2
== NULL
) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 Py_INCREF(Py_None
); resultobj
= Py_None
;
12921 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12922 resultobj
= t_output_helper(resultobj
,o
);
12925 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12926 resultobj
= t_output_helper(resultobj
,o
);
12942 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxDC
*arg1
= (wxDC
*) 0 ;
12945 wxString
*arg2
= 0 ;
12946 int *arg3
= (int *) 0 ;
12947 int *arg4
= (int *) 0 ;
12948 int *arg5
= (int *) 0 ;
12949 int *arg6
= (int *) 0 ;
12950 wxFont
*arg7
= (wxFont
*) NULL
;
12951 bool temp2
= False
;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 PyObject
* obj2
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self",(char *) "string",(char *) "font", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 arg2
= wxString_in_helper(obj1
);
12972 if (arg2
== NULL
) SWIG_fail
;
12976 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 Py_INCREF(Py_None
); resultobj
= Py_None
;
12988 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12989 resultobj
= t_output_helper(resultobj
,o
);
12992 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12993 resultobj
= t_output_helper(resultobj
,o
);
12996 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12997 resultobj
= t_output_helper(resultobj
,o
);
13000 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13001 resultobj
= t_output_helper(resultobj
,o
);
13017 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxDC
*arg1
= (wxDC
*) 0 ;
13020 wxString
*arg2
= 0 ;
13021 int *arg3
= (int *) 0 ;
13022 int *arg4
= (int *) 0 ;
13023 int *arg5
= (int *) 0 ;
13024 wxFont
*arg6
= (wxFont
*) NULL
;
13025 bool temp2
= False
;
13029 PyObject
* obj0
= 0 ;
13030 PyObject
* obj1
= 0 ;
13031 PyObject
* obj2
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self",(char *) "text",(char *) "font", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13043 arg2
= wxString_in_helper(obj1
);
13044 if (arg2
== NULL
) SWIG_fail
;
13048 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 Py_INCREF(Py_None
); resultobj
= Py_None
;
13060 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13061 resultobj
= t_output_helper(resultobj
,o
);
13064 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13065 resultobj
= t_output_helper(resultobj
,o
);
13068 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13069 resultobj
= t_output_helper(resultobj
,o
);
13085 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxDC
*arg1
= (wxDC
*) 0 ;
13088 wxString
*arg2
= 0 ;
13090 bool temp2
= False
;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "text", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 arg2
= wxString_in_helper(obj1
);
13102 if (arg2
== NULL
) SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= PyList_New(0);
13115 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13116 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13117 PyList_Append(resultobj
, val
);
13135 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxDC
*arg1
= (wxDC
*) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (arg1
)->GetSize();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 wxSize
* resultptr
;
13156 resultptr
= new wxSize((wxSize
&) result
);
13157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13165 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxDC
*arg1
= (wxDC
*) 0 ;
13168 int *arg2
= (int *) 0 ;
13169 int *arg3
= (int *) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 (arg1
)->GetSize(arg2
,arg3
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 Py_INCREF(Py_None
); resultobj
= Py_None
;
13191 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13192 resultobj
= t_output_helper(resultobj
,o
);
13195 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13196 resultobj
= t_output_helper(resultobj
,o
);
13204 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxDC
*arg1
= (wxDC
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13224 wxSize
* resultptr
;
13225 resultptr
= new wxSize((wxSize
&) result
);
13226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13234 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxDC
*arg1
= (wxDC
*) 0 ;
13237 int *arg2
= (int *) 0 ;
13238 int *arg3
= (int *) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13261 resultobj
= t_output_helper(resultobj
,o
);
13264 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13265 resultobj
= t_output_helper(resultobj
,o
);
13273 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxDC
*arg1
= (wxDC
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "x", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 arg2
= (int) SWIG_AsInt(obj1
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_FromInt((int)result
);
13303 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxDC
*arg1
= (wxDC
*) 0 ;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "y", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 arg2
= (int) SWIG_AsInt(obj1
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_FromInt((int)result
);
13333 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxDC
*arg1
= (wxDC
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 PyObject
* obj1
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self",(char *) "x", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13347 arg2
= (int) SWIG_AsInt(obj1
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= SWIG_FromInt((int)result
);
13363 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxDC
*arg1
= (wxDC
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 PyObject
* obj1
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "y", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 arg2
= (int) SWIG_AsInt(obj1
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= SWIG_FromInt((int)result
);
13393 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxDC
*arg1
= (wxDC
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "x", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13407 arg2
= (int) SWIG_AsInt(obj1
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= SWIG_FromInt((int)result
);
13423 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxDC
*arg1
= (wxDC
*) 0 ;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self",(char *) "y", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13437 arg2
= (int) SWIG_AsInt(obj1
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= SWIG_FromInt((int)result
);
13453 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxDC
*arg1
= (wxDC
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 PyObject
* obj1
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self",(char *) "x", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 arg2
= (int) SWIG_AsInt(obj1
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= SWIG_FromInt((int)result
);
13483 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxDC
*arg1
= (wxDC
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "y", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 arg2
= (int) SWIG_AsInt(obj1
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_FromInt((int)result
);
13513 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxDC
*arg1
= (wxDC
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13541 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxDC
*arg1
= (wxDC
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13569 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxDC
*arg1
= (wxDC
*) 0 ;
13573 PyObject
* obj0
= 0 ;
13574 char *kwnames
[] = {
13575 (char *) "self", NULL
13578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_FromInt((int)result
);
13595 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxDC
*arg1
= (wxDC
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= ((wxDC
const *)arg1
)->GetPPI();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13615 wxSize
* resultptr
;
13616 resultptr
= new wxSize((wxSize
&) result
);
13617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13625 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxDC
*arg1
= (wxDC
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (bool)((wxDC
const *)arg1
)->Ok();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13653 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxDC
*arg1
= (wxDC
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_FromInt((int)result
);
13679 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxDC
*arg1
= (wxDC
*) 0 ;
13683 PyObject
* obj0
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13695 result
= (wxBrush
*) &_result_ref
;
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 wxBrush
* resultptr
= new wxBrush(*result
);
13703 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13711 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxDC
*arg1
= (wxDC
*) 0 ;
13715 PyObject
* obj0
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13727 result
= (wxBrush
*) &_result_ref
;
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13734 wxBrush
* resultptr
= new wxBrush(*result
);
13735 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13743 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxDC
*arg1
= (wxDC
*) 0 ;
13747 PyObject
* obj0
= 0 ;
13748 char *kwnames
[] = {
13749 (char *) "self", NULL
13752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13759 result
= (wxFont
*) &_result_ref
;
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 wxFont
* resultptr
= new wxFont(*result
);
13767 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13775 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxDC
*arg1
= (wxDC
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "self", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13791 result
= (wxPen
*) &_result_ref
;
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13798 wxPen
* resultptr
= new wxPen(*result
);
13799 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13807 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxDC
*arg1
= (wxDC
*) 0 ;
13811 PyObject
* obj0
= 0 ;
13812 char *kwnames
[] = {
13813 (char *) "self", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13823 result
= (wxColour
*) &_result_ref
;
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13836 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxDC
*arg1
= (wxDC
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13852 result
= (wxColour
*) &_result_ref
;
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13865 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxDC
*arg1
= (wxDC
*) 0 ;
13868 wxColour
*arg2
= 0 ;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self",(char *) "colour", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13881 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 Py_INCREF(Py_None
); resultobj
= Py_None
;
13897 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxDC
*arg1
= (wxDC
*) 0 ;
13900 wxColour
*arg2
= 0 ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self",(char *) "colour", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13913 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 Py_INCREF(Py_None
); resultobj
= Py_None
;
13929 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxDC
*arg1
= (wxDC
*) 0 ;
13933 PyObject
* obj0
= 0 ;
13934 char *kwnames
[] = {
13935 (char *) "self", NULL
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= SWIG_FromInt((int)result
);
13955 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13956 PyObject
*resultobj
;
13957 wxDC
*arg1
= (wxDC
*) 0 ;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "mode", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13968 arg2
= (int) SWIG_AsInt(obj1
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 (arg1
)->SetMapMode(arg2
);
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 Py_INCREF(Py_None
); resultobj
= Py_None
;
13984 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
;
13986 wxDC
*arg1
= (wxDC
*) 0 ;
13987 double *arg2
= (double *) 0 ;
13988 double *arg3
= (double *) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 Py_INCREF(Py_None
); resultobj
= Py_None
;
14010 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14011 resultobj
= t_output_helper(resultobj
,o
);
14014 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14015 resultobj
= t_output_helper(resultobj
,o
);
14023 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxDC
*arg1
= (wxDC
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 PyObject
* obj2
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "x",(char *) "y", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 arg2
= (double) SWIG_AsDouble(obj1
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14040 arg3
= (double) SWIG_AsDouble(obj2
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 (arg1
)->SetUserScale(arg2
,arg3
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 Py_INCREF(Py_None
); resultobj
= Py_None
;
14056 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxDC
*arg1
= (wxDC
*) 0 ;
14059 double *arg2
= (double *) 0 ;
14060 double *arg3
= (double *) 0 ;
14063 PyObject
* obj0
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 (arg1
)->GetLogicalScale(arg2
,arg3
);
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14083 resultobj
= t_output_helper(resultobj
,o
);
14086 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14087 resultobj
= t_output_helper(resultobj
,o
);
14095 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxDC
*arg1
= (wxDC
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "x",(char *) "y", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14110 arg2
= (double) SWIG_AsDouble(obj1
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14112 arg3
= (double) SWIG_AsDouble(obj2
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 (arg1
)->SetLogicalScale(arg2
,arg3
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxDC
*arg1
= (wxDC
*) 0 ;
14132 PyObject
* obj0
= 0 ;
14133 char *kwnames
[] = {
14134 (char *) "self", NULL
14137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14148 wxPoint
* resultptr
;
14149 resultptr
= new wxPoint((wxPoint
&) result
);
14150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14158 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxDC
*arg1
= (wxDC
*) 0 ;
14161 int *arg2
= (int *) 0 ;
14162 int *arg3
= (int *) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 char *kwnames
[] = {
14167 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 Py_INCREF(Py_None
); resultobj
= Py_None
;
14184 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14185 resultobj
= t_output_helper(resultobj
,o
);
14188 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14189 resultobj
= t_output_helper(resultobj
,o
);
14197 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxDC
*arg1
= (wxDC
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 PyObject
* obj2
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "x",(char *) "y", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14212 arg2
= (int) SWIG_AsInt(obj1
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14214 arg3
= (int) SWIG_AsInt(obj2
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 Py_INCREF(Py_None
); resultobj
= Py_None
;
14230 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxDC
*arg1
= (wxDC
*) 0 ;
14233 wxPoint
*arg2
= 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "point", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 Py_INCREF(Py_None
); resultobj
= Py_None
;
14262 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxDC
*arg1
= (wxDC
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 wxPoint
* resultptr
;
14283 resultptr
= new wxPoint((wxPoint
&) result
);
14284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14292 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxDC
*arg1
= (wxDC
*) 0 ;
14295 int *arg2
= (int *) 0 ;
14296 int *arg3
= (int *) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14319 resultobj
= t_output_helper(resultobj
,o
);
14322 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14323 resultobj
= t_output_helper(resultobj
,o
);
14331 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxDC
*arg1
= (wxDC
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 PyObject
* obj2
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "x",(char *) "y", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 arg2
= (int) SWIG_AsInt(obj1
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14348 arg3
= (int) SWIG_AsInt(obj2
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 Py_INCREF(Py_None
); resultobj
= Py_None
;
14364 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxDC
*arg1
= (wxDC
*) 0 ;
14367 wxPoint
*arg2
= 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "point", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxDC
*arg1
= (wxDC
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 PyObject
* obj2
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14411 arg2
= (bool) SWIG_AsBool(obj1
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14413 arg3
= (bool) SWIG_AsBool(obj2
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 Py_INCREF(Py_None
); resultobj
= Py_None
;
14429 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxDC
*arg1
= (wxDC
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_FromInt((int)result
);
14455 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxDC
*arg1
= (wxDC
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self",(char *) "function", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14468 arg2
= (int) SWIG_AsInt(obj1
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 (arg1
)->SetLogicalFunction(arg2
);
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 Py_INCREF(Py_None
); resultobj
= Py_None
;
14484 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
;
14486 wxDC
*arg1
= (wxDC
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self",(char *) "opt", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14497 arg2
= (bool) SWIG_AsBool(obj1
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 (arg1
)->SetOptimization(arg2
);
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 Py_INCREF(Py_None
); resultobj
= Py_None
;
14513 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxDC
*arg1
= (wxDC
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (bool)(arg1
)->GetOptimization();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14541 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxDC
*arg1
= (wxDC
*) 0 ;
14546 PyObject
* obj0
= 0 ;
14547 PyObject
* obj1
= 0 ;
14548 PyObject
* obj2
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "x",(char *) "y", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14556 arg2
= (int) SWIG_AsInt(obj1
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14558 arg3
= (int) SWIG_AsInt(obj2
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14574 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxDC
*arg1
= (wxDC
*) 0 ;
14577 wxPoint
*arg2
= 0 ;
14579 PyObject
* obj0
= 0 ;
14580 PyObject
* obj1
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self",(char *) "point", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14590 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 Py_INCREF(Py_None
); resultobj
= Py_None
;
14606 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxDC
*arg1
= (wxDC
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->ResetBoundingBox();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxDC
*arg1
= (wxDC
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (int)((wxDC
const *)arg1
)->MinX();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= SWIG_FromInt((int)result
);
14657 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxDC
*arg1
= (wxDC
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (int)((wxDC
const *)arg1
)->MaxX();
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= SWIG_FromInt((int)result
);
14683 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxDC
*arg1
= (wxDC
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "self", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (int)((wxDC
const *)arg1
)->MinY();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_FromInt((int)result
);
14709 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxDC
*arg1
= (wxDC
*) 0 ;
14713 PyObject
* obj0
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (int)((wxDC
const *)arg1
)->MaxY();
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= SWIG_FromInt((int)result
);
14735 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxDC
*arg1
= (wxDC
*) 0 ;
14738 int *arg2
= (int *) 0 ;
14739 int *arg3
= (int *) 0 ;
14740 int *arg4
= (int *) 0 ;
14741 int *arg5
= (int *) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 Py_INCREF(Py_None
); resultobj
= Py_None
;
14767 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14768 resultobj
= t_output_helper(resultobj
,o
);
14771 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14772 resultobj
= t_output_helper(resultobj
,o
);
14775 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14776 resultobj
= t_output_helper(resultobj
,o
);
14779 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14780 resultobj
= t_output_helper(resultobj
,o
);
14788 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxDC
*arg1
= (wxDC
*) 0 ;
14791 PyObject
*arg2
= (PyObject
*) 0 ;
14792 PyObject
*arg3
= (PyObject
*) 0 ;
14793 PyObject
*arg4
= (PyObject
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 PyObject
* obj2
= 0 ;
14798 PyObject
* obj3
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= result
;
14823 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxDC
*arg1
= (wxDC
*) 0 ;
14826 PyObject
*arg2
= (PyObject
*) 0 ;
14827 PyObject
*arg3
= (PyObject
*) 0 ;
14828 PyObject
*arg4
= (PyObject
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 PyObject
* obj1
= 0 ;
14832 PyObject
* obj2
= 0 ;
14833 PyObject
* obj3
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= result
;
14858 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxDC
*arg1
= (wxDC
*) 0 ;
14861 PyObject
*arg2
= (PyObject
*) 0 ;
14862 PyObject
*arg3
= (PyObject
*) 0 ;
14863 PyObject
*arg4
= (PyObject
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 PyObject
* obj1
= 0 ;
14867 PyObject
* obj2
= 0 ;
14868 PyObject
* obj3
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= result
;
14893 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxDC
*arg1
= (wxDC
*) 0 ;
14896 PyObject
*arg2
= (PyObject
*) 0 ;
14897 PyObject
*arg3
= (PyObject
*) 0 ;
14898 PyObject
*arg4
= (PyObject
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 PyObject
* obj1
= 0 ;
14902 PyObject
* obj2
= 0 ;
14903 PyObject
* obj3
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= result
;
14928 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxDC
*arg1
= (wxDC
*) 0 ;
14931 PyObject
*arg2
= (PyObject
*) 0 ;
14932 PyObject
*arg3
= (PyObject
*) 0 ;
14933 PyObject
*arg4
= (PyObject
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 PyObject
* obj2
= 0 ;
14938 PyObject
* obj3
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
;
14963 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxDC
*arg1
= (wxDC
*) 0 ;
14966 PyObject
*arg2
= (PyObject
*) 0 ;
14967 PyObject
*arg3
= (PyObject
*) 0 ;
14968 PyObject
*arg4
= (PyObject
*) 0 ;
14969 PyObject
*arg5
= (PyObject
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 PyObject
* obj2
= 0 ;
14974 PyObject
* obj3
= 0 ;
14975 PyObject
* obj4
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= result
;
15001 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15004 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15006 return Py_BuildValue((char *)"");
15008 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxMemoryDC
*result
;
15011 char *kwnames
[] = {
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15017 if (!wxPyCheckForApp()) SWIG_fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (wxMemoryDC
*)new wxMemoryDC();
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15031 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxDC
*arg1
= (wxDC
*) 0 ;
15034 wxMemoryDC
*result
;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "oldDC", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 if (!wxPyCheckForApp()) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15058 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15061 wxBitmap
*arg2
= 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self",(char *) "bitmap", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15074 if (arg2
== NULL
) {
15075 PyErr_SetString(PyExc_TypeError
,"null reference");
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15095 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15097 return Py_BuildValue((char *)"");
15099 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15100 PyObject
*resultobj
;
15101 wxDC
*arg1
= (wxDC
*) 0 ;
15102 wxBitmap
*arg2
= 0 ;
15103 wxBufferedDC
*result
;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15107 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15113 if (arg2
== NULL
) {
15114 PyErr_SetString(PyExc_TypeError
,"null reference");
15118 if (!wxPyCheckForApp()) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15132 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15133 PyObject
*resultobj
;
15134 wxDC
*arg1
= (wxDC
*) 0 ;
15136 wxBufferedDC
*result
;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15141 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15146 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15149 if (!wxPyCheckForApp()) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15163 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15168 argc
= PyObject_Length(args
);
15169 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15170 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15176 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15186 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15194 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15202 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15211 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15214 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15219 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15224 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15225 PyObject
*resultobj
;
15226 wxDC
*arg1
= (wxDC
*) 0 ;
15228 wxBufferedDC
*result
;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15233 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15241 if (!wxPyCheckForApp()) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15255 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 Py_INCREF(Py_None
); resultobj
= Py_None
;
15280 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 Py_INCREF(Py_None
); resultobj
= Py_None
;
15305 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15308 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15310 return Py_BuildValue((char *)"");
15312 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxWindow
*arg1
= (wxWindow
*) 0 ;
15315 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15316 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15317 wxBufferedPaintDC
*result
;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "window",(char *) "buffer", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15331 if (arg2
== NULL
) {
15332 PyErr_SetString(PyExc_TypeError
,"null reference");
15337 if (!wxPyCheckForApp()) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15351 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15354 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15356 return Py_BuildValue((char *)"");
15358 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxScreenDC
*result
;
15361 char *kwnames
[] = {
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15367 if (!wxPyCheckForApp()) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (wxScreenDC
*)new wxScreenDC();
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15381 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15384 wxWindow
*arg2
= (wxWindow
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self",(char *) "window", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15413 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15416 wxRect
*arg2
= (wxRect
*) NULL
;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self",(char *) "rect", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15447 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15451 PyObject
* obj0
= 0 ;
15452 char *kwnames
[] = {
15453 (char *) "self", NULL
15456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (bool)(arg1
)->EndDrawingOnTop();
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15475 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15478 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15480 return Py_BuildValue((char *)"");
15482 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxWindow
*arg1
= (wxWindow
*) 0 ;
15485 wxClientDC
*result
;
15486 PyObject
* obj0
= 0 ;
15487 char *kwnames
[] = {
15488 (char *) "win", NULL
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15495 if (!wxPyCheckForApp()) SWIG_fail
;
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 result
= (wxClientDC
*)new wxClientDC(arg1
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15509 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15512 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15514 return Py_BuildValue((char *)"");
15516 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxWindow
*arg1
= (wxWindow
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "win", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 if (!wxPyCheckForApp()) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15543 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15546 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15548 return Py_BuildValue((char *)"");
15550 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxWindow
*arg1
= (wxWindow
*) 0 ;
15553 wxWindowDC
*result
;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "win", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15563 if (!wxPyCheckForApp()) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15577 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15580 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15582 return Py_BuildValue((char *)"");
15584 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15588 wxMirrorDC
*result
;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "dc",(char *) "mirror", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15599 if (arg1
== NULL
) {
15600 PyErr_SetString(PyExc_TypeError
,"null reference");
15603 arg2
= (bool) SWIG_AsBool(obj1
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 if (!wxPyCheckForApp()) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15620 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15623 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15625 return Py_BuildValue((char *)"");
15627 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxPrintData
*arg1
= 0 ;
15630 wxPostScriptDC
*result
;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "printData", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15640 if (arg1
== NULL
) {
15641 PyErr_SetString(PyExc_TypeError
,"null reference");
15645 if (!wxPyCheckForApp()) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15659 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15662 wxPrintData
*result
;
15663 PyObject
* obj0
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "self", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15675 result
= (wxPrintData
*) &_result_ref
;
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15688 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15691 wxPrintData
*arg2
= 0 ;
15692 PyObject
* obj0
= 0 ;
15693 PyObject
* obj1
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self",(char *) "data", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15704 if (arg2
== NULL
) {
15705 PyErr_SetString(PyExc_TypeError
,"null reference");
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 Py_INCREF(Py_None
); resultobj
= Py_None
;
15722 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "ppi", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15731 arg1
= (int) SWIG_AsInt(obj0
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 wxPostScriptDC::SetResolution(arg1
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 Py_INCREF(Py_None
); resultobj
= Py_None
;
15747 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15750 char *kwnames
[] = {
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (int)wxPostScriptDC::GetResolution();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_FromInt((int)result
);
15769 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15772 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15774 return Py_BuildValue((char *)"");
15776 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15779 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15780 wxMetaFile
*result
;
15781 bool temp1
= False
;
15782 PyObject
* obj0
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "filename", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15790 arg1
= wxString_in_helper(obj0
);
15791 if (arg1
== NULL
) SWIG_fail
;
15796 if (!wxPyCheckForApp()) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15818 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 Py_INCREF(Py_None
); resultobj
= Py_None
;
15843 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15847 PyObject
* obj0
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= (bool)(arg1
)->Ok();
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15871 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15874 int arg2
= (int) 0 ;
15875 int arg3
= (int) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 PyObject
* obj2
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self",(char *) "width",(char *) "height", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15888 arg2
= (int) SWIG_AsInt(obj1
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15892 arg3
= (int) SWIG_AsInt(obj2
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15911 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (arg1
)->GetSize();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 wxSize
* resultptr
;
15932 resultptr
= new wxSize((wxSize
&) result
);
15933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15941 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15945 PyObject
* obj0
= 0 ;
15946 char *kwnames
[] = {
15947 (char *) "self", NULL
15950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (int)(arg1
)->GetWidth();
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= SWIG_FromInt((int)result
);
15967 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (int)(arg1
)->GetHeight();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= SWIG_FromInt((int)result
);
15993 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15996 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15998 return Py_BuildValue((char *)"");
16000 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16003 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16004 int arg2
= (int) 0 ;
16005 int arg3
= (int) 0 ;
16006 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16007 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16008 wxMetaFileDC
*result
;
16009 bool temp1
= False
;
16010 bool temp4
= False
;
16011 PyObject
* obj0
= 0 ;
16012 PyObject
* obj1
= 0 ;
16013 PyObject
* obj2
= 0 ;
16014 PyObject
* obj3
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16022 arg1
= wxString_in_helper(obj0
);
16023 if (arg1
== NULL
) SWIG_fail
;
16028 arg2
= (int) SWIG_AsInt(obj1
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 arg3
= (int) SWIG_AsInt(obj2
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16037 arg4
= wxString_in_helper(obj3
);
16038 if (arg4
== NULL
) SWIG_fail
;
16043 if (!wxPyCheckForApp()) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16073 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16076 wxMetaFile
*result
;
16077 PyObject
* obj0
= 0 ;
16078 char *kwnames
[] = {
16079 (char *) "self", NULL
16082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (wxMetaFile
*)(arg1
)->Close();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16099 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16102 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16104 return Py_BuildValue((char *)"");
16106 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxPrintData
*arg1
= 0 ;
16109 wxPrinterDC
*result
;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "printData", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16119 if (arg1
== NULL
) {
16120 PyErr_SetString(PyExc_TypeError
,"null reference");
16124 if (!wxPyCheckForApp()) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16138 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16141 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16143 return Py_BuildValue((char *)"");
16145 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16149 int arg3
= (int) True
;
16150 int arg4
= (int) 1 ;
16151 wxImageList
*result
;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 PyObject
* obj2
= 0 ;
16155 PyObject
* obj3
= 0 ;
16156 char *kwnames
[] = {
16157 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16161 arg1
= (int) SWIG_AsInt(obj0
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16163 arg2
= (int) SWIG_AsInt(obj1
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 arg3
= (int) SWIG_AsInt(obj2
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 arg4
= (int) SWIG_AsInt(obj3
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 if (!wxPyCheckForApp()) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= wxPyMake_wxObject(result
);
16190 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxImageList
*arg1
= (wxImageList
*) 0 ;
16193 PyObject
* obj0
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16208 Py_INCREF(Py_None
); resultobj
= Py_None
;
16215 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxImageList
*arg1
= (wxImageList
*) 0 ;
16218 wxBitmap
*arg2
= 0 ;
16219 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16220 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16222 PyObject
* obj0
= 0 ;
16223 PyObject
* obj1
= 0 ;
16224 PyObject
* obj2
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16235 if (arg2
== NULL
) {
16236 PyErr_SetString(PyExc_TypeError
,"null reference");
16240 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16243 if (arg3
== NULL
) {
16244 PyErr_SetString(PyExc_TypeError
,"null reference");
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_FromInt((int)result
);
16262 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxImageList
*arg1
= (wxImageList
*) 0 ;
16265 wxBitmap
*arg2
= 0 ;
16266 wxColour
*arg3
= 0 ;
16269 PyObject
* obj0
= 0 ;
16270 PyObject
* obj1
= 0 ;
16271 PyObject
* obj2
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16282 if (arg2
== NULL
) {
16283 PyErr_SetString(PyExc_TypeError
,"null reference");
16288 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= SWIG_FromInt((int)result
);
16304 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxImageList
*arg1
= (wxImageList
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self",(char *) "icon", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16321 if (arg2
== NULL
) {
16322 PyErr_SetString(PyExc_TypeError
,"null reference");
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= SWIG_FromInt((int)result
);
16339 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxImageList
*arg1
= (wxImageList
*) 0 ;
16343 wxBitmap
*arg3
= 0 ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 PyObject
* obj2
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 arg2
= (int) SWIG_AsInt(obj1
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16357 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16360 if (arg3
== NULL
) {
16361 PyErr_SetString(PyExc_TypeError
,"null reference");
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxImageList
*arg1
= (wxImageList
*) 0 ;
16387 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16388 bool arg7
= (bool) (bool)False
;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 PyObject
* obj2
= 0 ;
16393 PyObject
* obj3
= 0 ;
16394 PyObject
* obj4
= 0 ;
16395 PyObject
* obj5
= 0 ;
16396 PyObject
* obj6
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 arg2
= (int) SWIG_AsInt(obj1
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16406 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16409 if (arg3
== NULL
) {
16410 PyErr_SetString(PyExc_TypeError
,"null reference");
16413 arg4
= (int) SWIG_AsInt(obj3
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16415 arg5
= (int) SWIG_AsInt(obj4
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 arg6
= (int) SWIG_AsInt(obj5
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16422 arg7
= (bool const) SWIG_AsBool(obj6
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16441 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxImageList
*arg1
= (wxImageList
*) 0 ;
16445 PyObject
* obj0
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 result
= (int)(arg1
)->GetImageCount();
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= SWIG_FromInt((int)result
);
16467 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxImageList
*arg1
= (wxImageList
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self",(char *) "index", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 arg2
= (int) SWIG_AsInt(obj1
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (bool)(arg1
)->Remove(arg2
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16499 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxImageList
*arg1
= (wxImageList
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= (bool)(arg1
)->RemoveAll();
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16527 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxImageList
*arg1
= (wxImageList
*) 0 ;
16535 PyObject
* obj0
= 0 ;
16536 PyObject
* obj1
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self",(char *) "index", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 arg2
= (int) SWIG_AsInt(obj1
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16555 Py_INCREF(Py_None
); resultobj
= Py_None
;
16557 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16558 resultobj
= t_output_helper(resultobj
,o
);
16561 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16562 resultobj
= t_output_helper(resultobj
,o
);
16570 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16573 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16575 return Py_BuildValue((char *)"");
16577 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16578 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16583 static PyObject
*_wrap_NORMAL_FONT_get() {
16586 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16591 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16592 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16597 static PyObject
*_wrap_SMALL_FONT_get() {
16600 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16605 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16606 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16611 static PyObject
*_wrap_ITALIC_FONT_get() {
16614 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16619 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16620 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16625 static PyObject
*_wrap_SWISS_FONT_get() {
16628 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16633 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16634 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16639 static PyObject
*_wrap_RED_PEN_get() {
16642 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16647 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16648 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16653 static PyObject
*_wrap_CYAN_PEN_get() {
16656 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16661 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16662 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16667 static PyObject
*_wrap_GREEN_PEN_get() {
16670 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16675 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16676 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16681 static PyObject
*_wrap_BLACK_PEN_get() {
16684 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16689 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16690 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16695 static PyObject
*_wrap_WHITE_PEN_get() {
16698 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16703 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16704 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16709 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16712 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16717 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16718 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16723 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16726 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16731 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16732 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16737 static PyObject
*_wrap_GREY_PEN_get() {
16740 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16745 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16746 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16751 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16754 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16759 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16760 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16765 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16768 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16773 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16774 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16779 static PyObject
*_wrap_BLUE_BRUSH_get() {
16782 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16787 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16788 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16793 static PyObject
*_wrap_GREEN_BRUSH_get() {
16796 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16801 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16802 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16807 static PyObject
*_wrap_WHITE_BRUSH_get() {
16810 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16815 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16816 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16821 static PyObject
*_wrap_BLACK_BRUSH_get() {
16824 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16829 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16830 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16835 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16838 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16843 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16844 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16849 static PyObject
*_wrap_CYAN_BRUSH_get() {
16852 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16857 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16858 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16863 static PyObject
*_wrap_RED_BRUSH_get() {
16866 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16871 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16872 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16877 static PyObject
*_wrap_GREY_BRUSH_get() {
16880 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16885 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16886 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16891 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16894 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16899 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16900 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16905 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16908 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16913 static int _wrap_BLACK_set(PyObject
*_val
) {
16914 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16919 static PyObject
*_wrap_BLACK_get() {
16922 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16927 static int _wrap_WHITE_set(PyObject
*_val
) {
16928 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16933 static PyObject
*_wrap_WHITE_get() {
16936 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16941 static int _wrap_RED_set(PyObject
*_val
) {
16942 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16947 static PyObject
*_wrap_RED_get() {
16950 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16955 static int _wrap_BLUE_set(PyObject
*_val
) {
16956 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16961 static PyObject
*_wrap_BLUE_get() {
16964 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16969 static int _wrap_GREEN_set(PyObject
*_val
) {
16970 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16975 static PyObject
*_wrap_GREEN_get() {
16978 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16983 static int _wrap_CYAN_set(PyObject
*_val
) {
16984 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16989 static PyObject
*_wrap_CYAN_get() {
16992 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16997 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16998 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17003 static PyObject
*_wrap_LIGHT_GREY_get() {
17006 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17011 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17012 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17017 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17020 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17025 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17026 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17031 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17034 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17039 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17040 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17045 static PyObject
*_wrap_CROSS_CURSOR_get() {
17048 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17053 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17054 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17059 static PyObject
*_wrap_NullBitmap_get() {
17062 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17067 static int _wrap_NullIcon_set(PyObject
*_val
) {
17068 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17073 static PyObject
*_wrap_NullIcon_get() {
17076 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17081 static int _wrap_NullCursor_set(PyObject
*_val
) {
17082 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17087 static PyObject
*_wrap_NullCursor_get() {
17090 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17095 static int _wrap_NullPen_set(PyObject
*_val
) {
17096 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17101 static PyObject
*_wrap_NullPen_get() {
17104 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17109 static int _wrap_NullBrush_set(PyObject
*_val
) {
17110 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17115 static PyObject
*_wrap_NullBrush_get() {
17118 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17123 static int _wrap_NullPalette_set(PyObject
*_val
) {
17124 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17129 static PyObject
*_wrap_NullPalette_get() {
17132 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17137 static int _wrap_NullFont_set(PyObject
*_val
) {
17138 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17143 static PyObject
*_wrap_NullFont_get() {
17146 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17151 static int _wrap_NullColour_set(PyObject
*_val
) {
17152 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17157 static PyObject
*_wrap_NullColour_get() {
17160 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17165 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxPenList
*arg1
= (wxPenList
*) 0 ;
17168 wxPen
*arg2
= (wxPen
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "self",(char *) "pen", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 (arg1
)->AddPen(arg2
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 Py_INCREF(Py_None
); resultobj
= Py_None
;
17194 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxPenList
*arg1
= (wxPenList
*) 0 ;
17197 wxColour
*arg2
= 0 ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 PyObject
* obj2
= 0 ;
17205 PyObject
* obj3
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17217 arg3
= (int) SWIG_AsInt(obj2
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17219 arg4
= (int) SWIG_AsInt(obj3
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17235 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxPenList
*arg1
= (wxPenList
*) 0 ;
17238 wxPen
*arg2
= (wxPen
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self",(char *) "pen", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 (arg1
)->RemovePen(arg2
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 Py_INCREF(Py_None
); resultobj
= Py_None
;
17264 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17266 wxPenList
*arg1
= (wxPenList
*) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (int)(arg1
)->GetCount();
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= SWIG_FromInt((int)result
);
17290 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17293 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17295 return Py_BuildValue((char *)"");
17297 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17300 wxBrush
*arg2
= (wxBrush
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 PyObject
* obj1
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self",(char *) "brush", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 (arg1
)->AddBrush(arg2
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 Py_INCREF(Py_None
); resultobj
= Py_None
;
17326 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17329 wxColour
*arg2
= 0 ;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 PyObject
* obj2
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self",(char *) "colour",(char *) "style", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17347 arg3
= (int) SWIG_AsInt(obj2
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17363 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17366 wxBrush
*arg2
= (wxBrush
*) 0 ;
17367 PyObject
* obj0
= 0 ;
17368 PyObject
* obj1
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self",(char *) "brush", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 (arg1
)->RemoveBrush(arg2
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 Py_INCREF(Py_None
); resultobj
= Py_None
;
17392 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17396 PyObject
* obj0
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (int)(arg1
)->GetCount();
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_FromInt((int)result
);
17418 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17421 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17423 return Py_BuildValue((char *)"");
17425 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
;
17427 wxColourDatabase
*result
;
17428 char *kwnames
[] = {
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17434 if (!wxPyCheckForApp()) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 result
= (wxColourDatabase
*)new wxColourDatabase();
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17448 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 Py_INCREF(Py_None
); resultobj
= Py_None
;
17473 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17476 wxString
*arg2
= 0 ;
17478 bool temp2
= False
;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "name", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17489 arg2
= wxString_in_helper(obj1
);
17490 if (arg2
== NULL
) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 wxColour
* resultptr
;
17502 resultptr
= new wxColour((wxColour
&) result
);
17503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17519 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17522 wxColour
*arg2
= 0 ;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self",(char *) "colour", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17558 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17561 wxString
*arg2
= 0 ;
17562 wxColour
*arg3
= 0 ;
17563 bool temp2
= False
;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 PyObject
* obj2
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self",(char *) "name",(char *) "colour", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17576 arg2
= wxString_in_helper(obj1
);
17577 if (arg2
== NULL
) SWIG_fail
;
17582 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 Py_INCREF(Py_None
); resultobj
= Py_None
;
17606 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17609 wxString
*arg2
= 0 ;
17613 bool temp2
= False
;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 PyObject
* obj2
= 0 ;
17617 PyObject
* obj3
= 0 ;
17618 PyObject
* obj4
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17627 arg2
= wxString_in_helper(obj1
);
17628 if (arg2
== NULL
) SWIG_fail
;
17631 arg3
= (int) SWIG_AsInt(obj2
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17633 arg4
= (int) SWIG_AsInt(obj3
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17635 arg5
= (int) SWIG_AsInt(obj4
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 Py_INCREF(Py_None
); resultobj
= Py_None
;
17659 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17662 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17664 return Py_BuildValue((char *)"");
17666 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxFontList
*arg1
= (wxFontList
*) 0 ;
17669 wxFont
*arg2
= (wxFont
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self",(char *) "font", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 (arg1
)->AddFont(arg2
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 Py_INCREF(Py_None
); resultobj
= Py_None
;
17695 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxFontList
*arg1
= (wxFontList
*) 0 ;
17702 bool arg6
= (bool) False
;
17703 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17705 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17707 bool temp7
= False
;
17708 PyObject
* obj0
= 0 ;
17709 PyObject
* obj1
= 0 ;
17710 PyObject
* obj2
= 0 ;
17711 PyObject
* obj3
= 0 ;
17712 PyObject
* obj4
= 0 ;
17713 PyObject
* obj5
= 0 ;
17714 PyObject
* obj6
= 0 ;
17715 PyObject
* obj7
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 arg2
= (int) SWIG_AsInt(obj1
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17725 arg3
= (int) SWIG_AsInt(obj2
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17727 arg4
= (int) SWIG_AsInt(obj3
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17729 arg5
= (int) SWIG_AsInt(obj4
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 arg6
= (bool) SWIG_AsBool(obj5
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17737 arg7
= wxString_in_helper(obj6
);
17738 if (arg7
== NULL
) SWIG_fail
;
17743 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17768 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxFontList
*arg1
= (wxFontList
*) 0 ;
17771 wxFont
*arg2
= (wxFont
*) 0 ;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self",(char *) "font", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 (arg1
)->RemoveFont(arg2
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 Py_INCREF(Py_None
); resultobj
= Py_None
;
17797 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxFontList
*arg1
= (wxFontList
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (int)(arg1
)->GetCount();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_FromInt((int)result
);
17823 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17826 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17828 return Py_BuildValue((char *)"");
17830 static int _wrap_TheFontList_set(PyObject
*_val
) {
17831 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17836 static PyObject
*_wrap_TheFontList_get() {
17839 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17844 static int _wrap_ThePenList_set(PyObject
*_val
) {
17845 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17850 static PyObject
*_wrap_ThePenList_get() {
17853 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17858 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17859 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17864 static PyObject
*_wrap_TheBrushList_get() {
17867 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17872 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17873 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17878 static PyObject
*_wrap_TheColourDatabase_get() {
17881 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17886 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17889 char *kwnames
[] = {
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (wxEffects
*)new wxEffects();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17908 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxEffects
*arg1
= (wxEffects
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17928 wxColour
* resultptr
;
17929 resultptr
= new wxColour((wxColour
&) result
);
17930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17938 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxEffects
*arg1
= (wxEffects
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17958 wxColour
* resultptr
;
17959 resultptr
= new wxColour((wxColour
&) result
);
17960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17968 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxEffects
*arg1
= (wxEffects
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17988 wxColour
* resultptr
;
17989 resultptr
= new wxColour((wxColour
&) result
);
17990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17998 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxEffects
*arg1
= (wxEffects
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18018 wxColour
* resultptr
;
18019 resultptr
= new wxColour((wxColour
&) result
);
18020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18028 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxEffects
*arg1
= (wxEffects
*) 0 ;
18032 PyObject
* obj0
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 wxColour
* resultptr
;
18049 resultptr
= new wxColour((wxColour
&) result
);
18050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18058 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxEffects
*arg1
= (wxEffects
*) 0 ;
18061 wxColour
*arg2
= 0 ;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self",(char *) "c", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18074 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 Py_INCREF(Py_None
); resultobj
= Py_None
;
18090 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxEffects
*arg1
= (wxEffects
*) 0 ;
18093 wxColour
*arg2
= 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self",(char *) "c", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 Py_INCREF(Py_None
); resultobj
= Py_None
;
18122 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
;
18124 wxEffects
*arg1
= (wxEffects
*) 0 ;
18125 wxColour
*arg2
= 0 ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self",(char *) "c", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 Py_INCREF(Py_None
); resultobj
= Py_None
;
18154 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxEffects
*arg1
= (wxEffects
*) 0 ;
18157 wxColour
*arg2
= 0 ;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj1
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "c", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 Py_INCREF(Py_None
); resultobj
= Py_None
;
18186 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxEffects
*arg1
= (wxEffects
*) 0 ;
18189 wxColour
*arg2
= 0 ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self",(char *) "c", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18202 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18206 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 Py_INCREF(Py_None
); resultobj
= Py_None
;
18218 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxEffects
*arg1
= (wxEffects
*) 0 ;
18221 wxColour
*arg2
= 0 ;
18222 wxColour
*arg3
= 0 ;
18223 wxColour
*arg4
= 0 ;
18224 wxColour
*arg5
= 0 ;
18225 wxColour
*arg6
= 0 ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 PyObject
* obj2
= 0 ;
18234 PyObject
* obj3
= 0 ;
18235 PyObject
* obj4
= 0 ;
18236 PyObject
* obj5
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18246 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18250 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18254 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18258 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18262 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 Py_INCREF(Py_None
); resultobj
= Py_None
;
18278 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18280 wxEffects
*arg1
= (wxEffects
*) 0 ;
18283 int arg4
= (int) 1 ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 PyObject
* obj2
= 0 ;
18288 PyObject
* obj3
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18299 if (arg2
== NULL
) {
18300 PyErr_SetString(PyExc_TypeError
,"null reference");
18305 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18308 arg4
= (int) SWIG_AsInt(obj3
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 Py_INCREF(Py_None
); resultobj
= Py_None
;
18325 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 wxEffects
*arg1
= (wxEffects
*) 0 ;
18330 wxBitmap
*arg4
= 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 PyObject
* obj2
= 0 ;
18336 PyObject
* obj3
= 0 ;
18337 char *kwnames
[] = {
18338 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18348 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18351 if (arg3
== NULL
) {
18352 PyErr_SetString(PyExc_TypeError
,"null reference");
18355 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18358 if (arg4
== NULL
) {
18359 PyErr_SetString(PyExc_TypeError
,"null reference");
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18378 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18381 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18383 return Py_BuildValue((char *)"");
18385 static PyMethodDef SwigMethods
[] = {
18386 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18392 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18409 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18415 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18434 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18446 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18473 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18475 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18490 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18498 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18506 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18512 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18540 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18554 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18578 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18587 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18607 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18644 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18652 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18659 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18681 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18683 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18691 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18792 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18794 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18796 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18797 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18800 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18802 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18807 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18809 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18810 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18811 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18813 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18815 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18816 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18820 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18821 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18823 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18824 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18825 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18826 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18827 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18828 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18829 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18830 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18831 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18832 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18833 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18834 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18836 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18838 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18840 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18842 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18843 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18844 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18845 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18846 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18847 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18848 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18849 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18850 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18851 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18852 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18853 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
18854 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18855 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18856 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18857 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18858 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18859 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
18860 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18861 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18862 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18863 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18864 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18865 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18866 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18867 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18868 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18869 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18870 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18871 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18872 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18873 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18874 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18875 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18876 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18877 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18878 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18880 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18882 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18883 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18884 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18885 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18886 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18887 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18888 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18889 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18890 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18891 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18892 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18893 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18894 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18895 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18896 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18897 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18898 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18899 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18900 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18901 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18902 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18903 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18904 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18905 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18906 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18907 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18908 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18909 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18910 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18911 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18916 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18918 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18919 return (void *)((wxWindow
*) ((wxControl
*) x
));
18921 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18922 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18924 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18925 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18927 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18928 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18930 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18931 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18933 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18934 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18936 static void *_p_wxPenTo_p_wxObject(void *x
) {
18937 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18939 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18940 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18942 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18943 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18945 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18946 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18948 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18949 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18951 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18954 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18955 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18957 static void *_p_wxIconTo_p_wxObject(void *x
) {
18958 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18960 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18961 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18963 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18964 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18966 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18967 return (void *)((wxObject
*) ((wxSizer
*) x
));
18969 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18970 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18972 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18975 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18976 return (void *)((wxObject
*) ((wxPenList
*) x
));
18978 static void *_p_wxEventTo_p_wxObject(void *x
) {
18979 return (void *)((wxObject
*) ((wxEvent
*) x
));
18981 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18982 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18984 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18985 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18987 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18988 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18990 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18991 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18993 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18994 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18996 static void *_p_wxDCTo_p_wxObject(void *x
) {
18997 return (void *)((wxObject
*) ((wxDC
*) x
));
18999 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19000 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19002 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19003 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19005 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19006 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19008 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19009 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19011 static void *_p_wxControlTo_p_wxObject(void *x
) {
19012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19014 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19015 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19017 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19018 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19020 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19021 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19023 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19024 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19026 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19027 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19029 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19030 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19032 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19033 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19035 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19036 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19038 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19039 return (void *)((wxObject
*) ((wxEffects
*) x
));
19041 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19042 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19044 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19047 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19048 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19050 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19053 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19056 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19059 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19062 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19065 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19068 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19071 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19074 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19077 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19080 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19083 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19086 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19089 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19092 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19095 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19098 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19099 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19101 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19102 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19104 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19105 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19107 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19108 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19110 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19111 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19113 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19114 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19116 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19117 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19119 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19120 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19122 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19123 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19125 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19126 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19128 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19129 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19131 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19132 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19134 static void *_p_wxImageTo_p_wxObject(void *x
) {
19135 return (void *)((wxObject
*) ((wxImage
*) x
));
19137 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19138 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19140 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19141 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19143 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19144 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19146 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19147 return (void *)((wxObject
*) ((wxImageList
*) x
));
19149 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19150 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19152 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19153 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19155 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19156 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19158 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19161 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19162 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19164 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19165 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19167 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19168 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19170 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19171 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19173 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19176 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19177 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19179 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19180 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19182 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19183 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19185 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19186 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19188 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19189 return (void *)((wxObject
*) ((wxMask
*) x
));
19191 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19192 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19194 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19195 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19197 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19198 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19200 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19201 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19203 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19204 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19206 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19207 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19209 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19210 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19212 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19213 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19215 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19216 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19218 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19219 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19221 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19222 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19224 static void *_p_wxFontTo_p_wxObject(void *x
) {
19225 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19227 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19228 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19230 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19231 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19233 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19236 static void *_p_wxColourTo_p_wxObject(void *x
) {
19237 return (void *)((wxObject
*) ((wxColour
*) x
));
19239 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19240 return (void *)((wxObject
*) ((wxFontList
*) x
));
19242 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19245 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19246 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19248 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19249 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19251 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19252 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19254 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19255 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19257 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19258 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19260 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19261 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19263 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19264 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19266 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19267 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19269 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19270 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19272 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19273 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19275 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19276 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19278 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19279 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19281 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19282 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19284 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19285 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19287 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19288 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19290 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19291 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19293 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19294 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19296 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19297 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19299 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19300 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19302 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19303 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19305 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19306 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19308 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}};
19309 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}};
19310 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}};
19311 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}};
19312 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}};
19313 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}};
19314 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}};
19315 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}};
19316 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}};
19317 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}};
19318 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}};
19319 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}};
19320 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}};
19321 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}};
19322 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}};
19323 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}};
19324 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}};
19325 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}};
19326 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}};
19327 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}};
19328 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}};
19329 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}};
19330 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}};
19331 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}};
19332 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}};
19333 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}};
19334 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}};
19335 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}};
19336 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}};
19337 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}};
19338 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}};
19339 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}};
19340 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}};
19341 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}};
19342 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}};
19343 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}};
19344 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}};
19345 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}};
19346 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}};
19347 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}};
19348 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}};
19349 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}};
19350 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}};
19351 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}};
19352 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}};
19353 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}};
19354 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}};
19355 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}};
19356 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}};
19357 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}};
19358 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}};
19359 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}};
19360 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}};
19361 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}};
19362 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}};
19364 static swig_type_info
*swig_types_initial
[] = {
19365 _swigt__p_wxPostScriptDC
,
19367 _swigt__p_wxColour
,
19369 _swigt__p_wxMirrorDC
,
19371 _swigt__p_wxPyFontEnumerator
,
19373 _swigt__p_wxIconLocation
,
19375 _swigt__p_wxMetaFileDC
,
19379 _swigt__p_wxWindow
,
19381 _swigt__p_wxMemoryDC
,
19382 _swigt__p_wxFontMapper
,
19383 _swigt__p_wxEffects
,
19384 _swigt__p_wxNativeEncodingInfo
,
19385 _swigt__p_wxPalette
,
19386 _swigt__p_wxBitmap
,
19387 _swigt__p_wxObject
,
19388 _swigt__p_wxRegionIterator
,
19390 _swigt__p_wxString
,
19391 _swigt__p_wxPrinterDC
,
19392 _swigt__p_wxIconBundle
,
19395 _swigt__p_wxScreenDC
,
19396 _swigt__p_wxCursor
,
19397 _swigt__p_wxClientDC
,
19398 _swigt__p_wxBufferedDC
,
19399 _swigt__p_wxImageList
,
19400 _swigt__p_unsigned_char
,
19401 _swigt__p_wxGDIObject
,
19403 _swigt__p_wxLocale
,
19404 _swigt__p_wxRegion
,
19405 _swigt__p_wxLanguageInfo
,
19406 _swigt__p_wxConfigBase
,
19407 _swigt__p_wxWindowDC
,
19408 _swigt__p_wxPrintData
,
19409 _swigt__p_wxBrushList
,
19410 _swigt__p_wxFontList
,
19412 _swigt__p_wxBufferedPaintDC
,
19413 _swigt__p_wxPaintDC
,
19414 _swigt__p_wxPenList
,
19416 _swigt__p_wxMetaFile
,
19417 _swigt__p_wxNativeFontInfo
,
19418 _swigt__p_wxEncodingConverter
,
19419 _swigt__p_wxColourDatabase
,
19424 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19426 static swig_const_info swig_const_table
[] = {
19436 SWIGEXPORT(void) SWIG_init(void) {
19437 static PyObject
*SWIG_globals
= 0;
19438 static int typeinit
= 0;
19441 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19442 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19443 d
= PyModule_GetDict(m
);
19446 for (i
= 0; swig_types_initial
[i
]; i
++) {
19447 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19451 SWIG_InstallConstants(d
,swig_const_table
);
19453 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19454 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19455 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19456 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19457 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19458 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19459 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19460 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19461 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19462 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19463 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19464 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19465 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19466 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19467 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19468 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19469 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19470 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19471 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19472 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19473 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19474 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19475 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19476 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19477 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19478 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19479 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19480 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19481 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19482 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19483 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19484 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19485 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19486 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19487 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19488 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19489 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19490 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19491 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19492 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19493 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19494 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19495 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19496 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19497 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19498 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19499 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19500 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19501 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19502 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19503 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19504 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19505 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19506 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19507 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19508 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19509 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19510 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19511 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19512 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19513 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19514 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19515 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19516 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19517 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19518 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19519 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19520 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19521 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19522 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19523 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19524 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19525 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19526 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19527 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19528 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19529 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19530 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19531 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19532 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19533 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19534 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19535 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19536 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19537 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19538 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19539 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19540 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19541 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19542 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19543 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19544 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19545 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19546 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19547 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19548 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19549 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19550 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19551 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19552 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19553 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19554 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19555 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19556 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19557 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19558 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19559 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19560 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19561 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19562 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19563 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19564 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19565 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19566 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19567 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19568 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19569 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19570 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19571 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19572 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19573 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19574 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19575 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19576 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19577 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19578 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19579 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19581 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19583 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19584 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19585 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19586 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19587 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19588 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19589 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19590 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19591 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19592 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19593 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19594 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19595 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19596 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19597 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19598 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19599 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19600 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19601 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19602 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19603 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19604 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19605 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19606 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19607 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19608 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19609 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19610 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19611 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19612 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19613 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19614 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19615 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19616 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19617 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19618 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19619 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19620 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19621 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19622 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19623 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19624 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19625 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19626 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19627 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19628 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19629 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19630 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19631 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19632 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19633 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19634 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19635 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19636 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19637 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19638 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19639 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19640 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19641 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19642 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19643 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19644 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19645 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19646 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19647 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19648 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19649 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19650 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19651 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19652 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19653 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19654 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19655 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19656 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19657 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19658 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19659 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19660 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19661 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19662 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19663 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19664 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19665 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19666 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19667 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19668 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19669 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19670 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19671 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19672 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19673 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19674 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19675 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19676 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19677 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19678 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19679 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19680 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19681 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19682 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19683 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19684 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19685 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19686 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19687 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19688 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19689 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19690 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19691 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19692 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19693 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19694 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19695 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19696 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19697 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19698 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19699 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19700 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19701 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19702 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19703 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19704 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19705 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19706 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19707 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19708 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19709 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19710 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19711 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19712 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19713 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19714 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19715 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19716 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19717 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19718 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19719 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19720 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19721 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19722 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19723 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19724 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19725 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19726 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19727 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19728 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19729 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19730 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19731 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19732 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19733 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19734 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19735 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19736 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19737 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19738 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19739 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19740 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19741 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19742 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19743 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19744 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19745 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19746 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19747 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19748 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19749 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19750 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19751 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19752 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19753 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19754 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19755 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19756 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19757 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19758 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19759 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19760 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19761 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19762 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19763 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19764 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19765 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19766 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19767 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19768 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19769 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19770 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19771 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19772 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19773 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19774 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19775 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19776 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19777 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19778 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19779 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19780 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19781 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19782 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19783 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19784 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19785 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19786 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19787 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19788 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19789 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19790 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19791 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19792 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19793 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19794 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19795 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19796 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19797 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19798 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19799 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19800 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19801 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19802 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19803 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19804 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19805 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19806 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19807 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19808 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19809 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19810 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19811 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19812 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19813 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19814 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19815 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19816 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19817 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19818 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19819 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19820 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19821 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19822 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19823 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19824 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19825 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19826 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19827 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19828 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19829 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19830 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19831 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19832 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19833 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19834 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19835 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19836 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19837 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19838 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19839 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19840 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19841 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19842 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19843 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19844 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19845 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19846 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19847 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19848 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19849 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19850 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19851 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19852 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19853 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19854 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19855 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19856 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19857 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19858 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19859 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19860 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19861 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19862 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19863 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19864 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19865 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19866 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19867 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19868 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19869 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19870 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19871 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19872 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19873 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19874 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19875 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19876 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19877 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19878 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19879 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19880 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19881 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19882 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19884 // Work around a chicken/egg problem in drawlist.cpp
19885 wxPyDrawList_SetAPIPtr();