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();
776 return wxArrayString2PyList_helper(*arr
);
778 return PyList_New(0);
780 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
781 wxArrayString
* arr
= self
->GetFacenames();
783 return wxArrayString2PyList_helper(*arr
);
785 return PyList_New(0);
789 wxLocale
*new_wxLocale(int language
,int flags
){
791 return new wxLocale();
793 return new wxLocale(language
, flags
);
796 #include "wx/wxPython/pydrawxxx.h"
798 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
800 self
->GetPixel(x
, y
, &col
);
803 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
805 self
->GetPixel(pt
, &col
);
809 SWIGSTATICINLINE(double)
810 SWIG_AsDouble(PyObject
*obj
)
812 if (PyNumber_Check(obj
))
813 return PyFloat_AsDouble(obj
);
815 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
816 obj
->ob_type
->tp_name
);
817 PyErr_SetObject(PyExc_TypeError
, errmsg
);
824 SWIGSTATICINLINE(int)
825 SWIG_CheckDouble(PyObject
* obj
)
828 if (PyErr_Occurred()) {
836 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
838 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
841 wxRect
wxDC_GetClippingRect(wxDC
*self
){
843 self
->GetClippingBox(rect
);
846 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
848 self
->GetPartialTextExtents(text
, widths
);
851 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
852 self
->SetLogicalOrigin(point
.x
, point
.y
);
854 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
855 self
->SetDeviceOrigin(point
.x
, point
.y
);
857 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
858 self
->CalcBoundingBox(point
.x
, point
.y
);
860 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
861 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
863 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
864 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
866 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
867 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
869 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
870 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
872 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
873 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
875 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
876 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
879 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
887 #include <wx/dcbuffer.h>
893 #include <wx/metafile.h>
897 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
898 self
->AddColour(name
, wxColour(red
, green
, blue
));
901 #include <wx/effects.h>
906 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
915 if (!wxPyCheckForApp()) SWIG_fail
;
916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
917 result
= (wxGDIObject
*)new wxGDIObject();
919 wxPyEndAllowThreads(__tstate
);
920 if (PyErr_Occurred()) SWIG_fail
;
922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
929 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
932 PyObject
* obj0
= 0 ;
934 (char *) "self", NULL
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
944 wxPyEndAllowThreads(__tstate
);
945 if (PyErr_Occurred()) SWIG_fail
;
947 Py_INCREF(Py_None
); resultobj
= Py_None
;
954 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
958 PyObject
* obj0
= 0 ;
960 (char *) "self", NULL
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 result
= (bool)(arg1
)->GetVisible();
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) SWIG_fail
;
974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
982 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
986 PyObject
* obj0
= 0 ;
987 PyObject
* obj1
= 0 ;
989 (char *) "self",(char *) "visible", NULL
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
995 arg2
= (bool) SWIG_AsBool(obj1
);
996 if (PyErr_Occurred()) SWIG_fail
;
998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
999 (arg1
)->SetVisible(arg2
);
1001 wxPyEndAllowThreads(__tstate
);
1002 if (PyErr_Occurred()) SWIG_fail
;
1004 Py_INCREF(Py_None
); resultobj
= Py_None
;
1011 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
*resultobj
;
1013 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1015 PyObject
* obj0
= 0 ;
1017 (char *) "self", NULL
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 result
= (bool)(arg1
)->IsNull();
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1039 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1042 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1044 return Py_BuildValue((char *)"");
1046 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
*resultobj
;
1048 byte arg1
= (byte
) 0 ;
1049 byte arg2
= (byte
) 0 ;
1050 byte arg3
= (byte
) 0 ;
1052 PyObject
* obj0
= 0 ;
1053 PyObject
* obj1
= 0 ;
1054 PyObject
* obj2
= 0 ;
1056 (char *) "red",(char *) "green",(char *) "blue", NULL
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1061 arg1
= (byte
) SWIG_AsUnsignedChar(obj0
);
1062 if (PyErr_Occurred()) SWIG_fail
;
1065 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1066 if (PyErr_Occurred()) SWIG_fail
;
1069 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1070 if (PyErr_Occurred()) SWIG_fail
;
1073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1074 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1076 wxPyEndAllowThreads(__tstate
);
1077 if (PyErr_Occurred()) SWIG_fail
;
1079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1086 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
*resultobj
;
1088 wxString
*arg1
= 0 ;
1090 bool temp1
= False
;
1091 PyObject
* obj0
= 0 ;
1093 (char *) "colorName", NULL
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1098 arg1
= wxString_in_helper(obj0
);
1099 if (arg1
== NULL
) SWIG_fail
;
1103 if (!wxPyCheckForApp()) SWIG_fail
;
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) SWIG_fail
;
1110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1125 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
*resultobj
;
1127 unsigned long arg1
;
1129 PyObject
* obj0
= 0 ;
1131 (char *) "colRGB", NULL
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1135 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 result
= (wxColour
*)new wxColour(arg1
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1151 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 wxColour
*arg1
= (wxColour
*) 0 ;
1154 PyObject
* obj0
= 0 ;
1156 (char *) "self", NULL
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) SWIG_fail
;
1169 Py_INCREF(Py_None
); resultobj
= Py_None
;
1176 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
*resultobj
;
1178 wxColour
*arg1
= (wxColour
*) 0 ;
1180 PyObject
* obj0
= 0 ;
1182 (char *) "self", NULL
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 result
= (byte
)(arg1
)->Red();
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) SWIG_fail
;
1195 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1202 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1203 PyObject
*resultobj
;
1204 wxColour
*arg1
= (wxColour
*) 0 ;
1206 PyObject
* obj0
= 0 ;
1208 (char *) "self", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1216 result
= (byte
)(arg1
)->Green();
1218 wxPyEndAllowThreads(__tstate
);
1219 if (PyErr_Occurred()) SWIG_fail
;
1221 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1228 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
*resultobj
;
1230 wxColour
*arg1
= (wxColour
*) 0 ;
1232 PyObject
* obj0
= 0 ;
1234 (char *) "self", NULL
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1242 result
= (byte
)(arg1
)->Blue();
1244 wxPyEndAllowThreads(__tstate
);
1245 if (PyErr_Occurred()) SWIG_fail
;
1247 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1254 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
*resultobj
;
1256 wxColour
*arg1
= (wxColour
*) 0 ;
1258 PyObject
* obj0
= 0 ;
1260 (char *) "self", NULL
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 result
= (bool)(arg1
)->Ok();
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) SWIG_fail
;
1274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1282 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
*resultobj
;
1284 wxColour
*arg1
= (wxColour
*) 0 ;
1288 PyObject
* obj0
= 0 ;
1289 PyObject
* obj1
= 0 ;
1290 PyObject
* obj2
= 0 ;
1291 PyObject
* obj3
= 0 ;
1293 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1299 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1301 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1303 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 (arg1
)->Set(arg2
,arg3
,arg4
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) SWIG_fail
;
1312 Py_INCREF(Py_None
); resultobj
= Py_None
;
1319 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
*resultobj
;
1321 wxColour
*arg1
= (wxColour
*) 0 ;
1322 unsigned long arg2
;
1323 PyObject
* obj0
= 0 ;
1324 PyObject
* obj1
= 0 ;
1326 (char *) "self",(char *) "colRGB", NULL
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1332 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) SWIG_fail
;
1341 Py_INCREF(Py_None
); resultobj
= Py_None
;
1348 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
*resultobj
;
1350 wxColour
*arg1
= (wxColour
*) 0 ;
1351 wxString
*arg2
= 0 ;
1352 bool temp2
= False
;
1353 PyObject
* obj0
= 0 ;
1354 PyObject
* obj1
= 0 ;
1356 (char *) "self",(char *) "colourName", NULL
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1363 arg2
= wxString_in_helper(obj1
);
1364 if (arg2
== NULL
) SWIG_fail
;
1368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1369 (arg1
)->InitFromName((wxString
const &)*arg2
);
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1374 Py_INCREF(Py_None
); resultobj
= Py_None
;
1389 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
*resultobj
;
1391 wxColour
*arg1
= (wxColour
*) 0 ;
1393 PyObject
* obj0
= 0 ;
1395 (char *) "self", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1403 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1405 wxPyEndAllowThreads(__tstate
);
1406 if (PyErr_Occurred()) SWIG_fail
;
1408 resultobj
= SWIG_FromLong((long)result
);
1415 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
*resultobj
;
1417 wxColour
*arg1
= (wxColour
*) 0 ;
1418 wxColour
*arg2
= 0 ;
1421 PyObject
* obj0
= 0 ;
1422 PyObject
* obj1
= 0 ;
1424 (char *) "self",(char *) "colour", NULL
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1450 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
*resultobj
;
1452 wxColour
*arg1
= (wxColour
*) 0 ;
1453 wxColour
*arg2
= 0 ;
1456 PyObject
* obj0
= 0 ;
1457 PyObject
* obj1
= 0 ;
1459 (char *) "self",(char *) "colour", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1485 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxColour
*arg1
= (wxColour
*) 0 ;
1489 PyObject
* obj0
= 0 ;
1491 (char *) "self", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 result
= (PyObject
*)wxColour_Get(arg1
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1511 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
*resultobj
;
1513 wxColour
*arg1
= (wxColour
*) 0 ;
1514 unsigned long result
;
1515 PyObject
* obj0
= 0 ;
1517 (char *) "self", NULL
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 result
= (unsigned long)wxColour_GetRGB(arg1
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1530 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1537 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1540 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1542 return Py_BuildValue((char *)"");
1544 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
*resultobj
;
1547 unsigned char *arg2
= (unsigned char *) 0 ;
1548 unsigned char *arg3
= (unsigned char *) 0 ;
1549 unsigned char *arg4
= (unsigned char *) 0 ;
1551 PyObject
* obj0
= 0 ;
1552 PyObject
* obj1
= 0 ;
1553 PyObject
* obj2
= 0 ;
1554 PyObject
* obj3
= 0 ;
1556 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1560 arg1
= (int) SWIG_AsInt(obj0
);
1561 if (PyErr_Occurred()) SWIG_fail
;
1562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1564 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1566 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1569 if (!wxPyCheckForApp()) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1583 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1585 wxPalette
*arg1
= (wxPalette
*) 0 ;
1586 PyObject
* obj0
= 0 ;
1588 (char *) "self", NULL
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 Py_INCREF(Py_None
); resultobj
= Py_None
;
1608 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
*resultobj
;
1610 wxPalette
*arg1
= (wxPalette
*) 0 ;
1615 PyObject
* obj0
= 0 ;
1616 PyObject
* obj1
= 0 ;
1617 PyObject
* obj2
= 0 ;
1618 PyObject
* obj3
= 0 ;
1620 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1626 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1628 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1630 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1639 resultobj
= SWIG_FromInt((int)result
);
1646 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
*resultobj
;
1648 wxPalette
*arg1
= (wxPalette
*) 0 ;
1650 byte
*arg3
= (byte
*) 0 ;
1651 byte
*arg4
= (byte
*) 0 ;
1652 byte
*arg5
= (byte
*) 0 ;
1657 PyObject
* obj0
= 0 ;
1658 PyObject
* obj1
= 0 ;
1660 (char *) "self",(char *) "pixel", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1669 arg2
= (int) SWIG_AsInt(obj1
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1682 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1683 resultobj
= t_output_helper(resultobj
,o
);
1686 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1687 resultobj
= t_output_helper(resultobj
,o
);
1690 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1691 resultobj
= t_output_helper(resultobj
,o
);
1699 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxPalette
*arg1
= (wxPalette
*) 0 ;
1703 PyObject
* obj0
= 0 ;
1705 (char *) "self", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= (bool)(arg1
)->Ok();
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1727 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1730 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1732 return Py_BuildValue((char *)"");
1734 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
*resultobj
;
1736 wxColour
*arg1
= 0 ;
1737 int arg2
= (int) 1 ;
1738 int arg3
= (int) wxSOLID
;
1741 PyObject
* obj0
= 0 ;
1742 PyObject
* obj1
= 0 ;
1743 PyObject
* obj2
= 0 ;
1745 (char *) "colour",(char *) "width",(char *) "style", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1751 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1754 arg2
= (int) SWIG_AsInt(obj1
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1758 arg3
= (int) SWIG_AsInt(obj2
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1762 if (!wxPyCheckForApp()) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1776 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxPen
*arg1
= (wxPen
*) 0 ;
1779 PyObject
* obj0
= 0 ;
1781 (char *) "self", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 Py_INCREF(Py_None
); resultobj
= Py_None
;
1801 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxPen
*arg1
= (wxPen
*) 0 ;
1805 PyObject
* obj0
= 0 ;
1807 (char *) "self", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= (int)(arg1
)->GetCap();
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 resultobj
= SWIG_FromInt((int)result
);
1827 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
*resultobj
;
1829 wxPen
*arg1
= (wxPen
*) 0 ;
1831 PyObject
* obj0
= 0 ;
1833 (char *) "self", NULL
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 result
= (arg1
)->GetColour();
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1847 wxColour
* resultptr
;
1848 resultptr
= new wxColour((wxColour
&) result
);
1849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1857 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
*resultobj
;
1859 wxPen
*arg1
= (wxPen
*) 0 ;
1861 PyObject
* obj0
= 0 ;
1863 (char *) "self", NULL
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 result
= (int)(arg1
)->GetJoin();
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= SWIG_FromInt((int)result
);
1883 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxPen
*arg1
= (wxPen
*) 0 ;
1887 PyObject
* obj0
= 0 ;
1889 (char *) "self", NULL
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 result
= (int)(arg1
)->GetStyle();
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) SWIG_fail
;
1902 resultobj
= SWIG_FromInt((int)result
);
1909 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxPen
*arg1
= (wxPen
*) 0 ;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "self", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 result
= (int)(arg1
)->GetWidth();
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 resultobj
= SWIG_FromInt((int)result
);
1935 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxPen
*arg1
= (wxPen
*) 0 ;
1939 PyObject
* obj0
= 0 ;
1941 (char *) "self", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 result
= (bool)(arg1
)->Ok();
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1963 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
*resultobj
;
1965 wxPen
*arg1
= (wxPen
*) 0 ;
1967 PyObject
* obj0
= 0 ;
1968 PyObject
* obj1
= 0 ;
1970 (char *) "self",(char *) "cap_style", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1976 arg2
= (int) SWIG_AsInt(obj1
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 (arg1
)->SetCap(arg2
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 Py_INCREF(Py_None
); resultobj
= Py_None
;
1992 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1994 wxPen
*arg1
= (wxPen
*) 0 ;
1995 wxColour
*arg2
= 0 ;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
2000 (char *) "self",(char *) "colour", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2008 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 (arg1
)->SetColour(*arg2
);
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2017 Py_INCREF(Py_None
); resultobj
= Py_None
;
2024 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
*resultobj
;
2026 wxPen
*arg1
= (wxPen
*) 0 ;
2028 PyObject
* obj0
= 0 ;
2029 PyObject
* obj1
= 0 ;
2031 (char *) "self",(char *) "join_style", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2037 arg2
= (int) SWIG_AsInt(obj1
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 (arg1
)->SetJoin(arg2
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2046 Py_INCREF(Py_None
); resultobj
= Py_None
;
2053 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
*resultobj
;
2055 wxPen
*arg1
= (wxPen
*) 0 ;
2057 PyObject
* obj0
= 0 ;
2058 PyObject
* obj1
= 0 ;
2060 (char *) "self",(char *) "style", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2066 arg2
= (int) SWIG_AsInt(obj1
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 (arg1
)->SetStyle(arg2
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2075 Py_INCREF(Py_None
); resultobj
= Py_None
;
2082 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2084 wxPen
*arg1
= (wxPen
*) 0 ;
2086 PyObject
* obj0
= 0 ;
2087 PyObject
* obj1
= 0 ;
2089 (char *) "self",(char *) "width", NULL
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2095 arg2
= (int) SWIG_AsInt(obj1
);
2096 if (PyErr_Occurred()) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 (arg1
)->SetWidth(arg2
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 Py_INCREF(Py_None
); resultobj
= Py_None
;
2111 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxPen
*arg1
= (wxPen
*) 0 ;
2115 wxDash
*arg3
= (wxDash
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2119 (char *) "self",(char *) "dashes", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2126 arg2
= PyList_Size(obj1
);
2127 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2128 if (arg3
== NULL
) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 (arg1
)->SetDashes(arg2
,arg3
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 Py_INCREF(Py_None
); resultobj
= Py_None
;
2139 if (arg3
) delete [] arg3
;
2144 if (arg3
) delete [] arg3
;
2150 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 wxPen
*arg1
= (wxPen
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "self", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2176 static PyObject
*_wrap_Pen__SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxPen
*arg1
= (wxPen
*) 0 ;
2179 PyObject
*arg2
= (PyObject
*) 0 ;
2180 PyObject
*arg3
= (PyObject
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2182 PyObject
* obj1
= 0 ;
2183 PyObject
* obj2
= 0 ;
2185 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 wxPen__SetDashes(arg1
,arg2
,arg3
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2200 Py_INCREF(Py_None
); resultobj
= Py_None
;
2207 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxPen
*arg1
= (wxPen
*) 0 ;
2210 wxPen
*arg2
= (wxPen
*) 0 ;
2212 PyObject
* obj0
= 0 ;
2213 PyObject
* obj1
= 0 ;
2215 (char *) "self",(char *) "other", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2239 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxPen
*arg1
= (wxPen
*) 0 ;
2242 wxPen
*arg2
= (wxPen
*) 0 ;
2244 PyObject
* obj0
= 0 ;
2245 PyObject
* obj1
= 0 ;
2247 (char *) "self",(char *) "other", NULL
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2271 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2274 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2276 return Py_BuildValue((char *)"");
2278 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxColour
*arg1
= 0 ;
2281 int arg2
= (int) wxSOLID
;
2284 PyObject
* obj0
= 0 ;
2285 PyObject
* obj1
= 0 ;
2287 (char *) "colour",(char *) "style", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2293 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2296 arg2
= (int) SWIG_AsInt(obj1
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2300 if (!wxPyCheckForApp()) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2314 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
*resultobj
;
2316 wxBrush
*arg1
= (wxBrush
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 Py_INCREF(Py_None
); resultobj
= Py_None
;
2339 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxBrush
*arg1
= (wxBrush
*) 0 ;
2342 wxColour
*arg2
= 0 ;
2344 PyObject
* obj0
= 0 ;
2345 PyObject
* obj1
= 0 ;
2347 (char *) "self",(char *) "col", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 (arg1
)->SetColour((wxColour
const &)*arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 Py_INCREF(Py_None
); resultobj
= Py_None
;
2371 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxBrush
*arg1
= (wxBrush
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2376 PyObject
* obj1
= 0 ;
2378 (char *) "self",(char *) "style", NULL
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 arg2
= (int) SWIG_AsInt(obj1
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 (arg1
)->SetStyle(arg2
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2393 Py_INCREF(Py_None
); resultobj
= Py_None
;
2400 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
*resultobj
;
2402 wxBrush
*arg1
= (wxBrush
*) 0 ;
2403 wxBitmap
*arg2
= 0 ;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2407 (char *) "self",(char *) "stipple", NULL
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2417 PyErr_SetString(PyExc_TypeError
,"null reference");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 Py_INCREF(Py_None
); resultobj
= Py_None
;
2434 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxBrush
*arg1
= (wxBrush
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2440 (char *) "self", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 result
= ((wxBrush
const *)arg1
)->GetColour();
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2454 wxColour
* resultptr
;
2455 resultptr
= new wxColour((wxColour
&) result
);
2456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2464 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
*resultobj
;
2466 wxBrush
*arg1
= (wxBrush
*) 0 ;
2468 PyObject
* obj0
= 0 ;
2470 (char *) "self", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 resultobj
= SWIG_FromInt((int)result
);
2490 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 wxBrush
*arg1
= (wxBrush
*) 0 ;
2494 PyObject
* obj0
= 0 ;
2496 (char *) "self", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2516 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
*resultobj
;
2518 wxBrush
*arg1
= (wxBrush
*) 0 ;
2520 PyObject
* obj0
= 0 ;
2522 (char *) "self", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 result
= (bool)(arg1
)->Ok();
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) SWIG_fail
;
2536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2544 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxBrush
*arg1
= (wxBrush
*) 0 ;
2548 PyObject
* obj0
= 0 ;
2550 (char *) "self", NULL
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 result
= (short)(arg1
)->MacGetTheme();
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2563 resultobj
= SWIG_FromShort((short)result
);
2570 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
*resultobj
;
2572 wxBrush
*arg1
= (wxBrush
*) 0 ;
2574 PyObject
* obj0
= 0 ;
2575 PyObject
* obj1
= 0 ;
2577 (char *) "self",(char *) "macThemeBrush", NULL
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2583 arg2
= (short) SWIG_AsShort(obj1
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 (arg1
)->MacSetTheme(arg2
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 Py_INCREF(Py_None
); resultobj
= Py_None
;
2599 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2602 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2604 return Py_BuildValue((char *)"");
2606 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxString
*arg1
= 0 ;
2609 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2611 bool temp1
= False
;
2612 PyObject
* obj0
= 0 ;
2613 PyObject
* obj1
= 0 ;
2615 (char *) "name",(char *) "type", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 arg1
= wxString_in_helper(obj0
);
2621 if (arg1
== NULL
) SWIG_fail
;
2625 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2629 if (!wxPyCheckForApp()) SWIG_fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2651 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2653 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2654 PyObject
* obj0
= 0 ;
2656 (char *) "self", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 Py_INCREF(Py_None
); resultobj
= Py_None
;
2676 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2680 int arg3
= (int) -1 ;
2682 PyObject
* obj0
= 0 ;
2683 PyObject
* obj1
= 0 ;
2684 PyObject
* obj2
= 0 ;
2686 (char *) "width",(char *) "height",(char *) "depth", NULL
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2690 arg1
= (int) SWIG_AsInt(obj0
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2692 arg2
= (int) SWIG_AsInt(obj1
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 arg3
= (int) SWIG_AsInt(obj2
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 if (!wxPyCheckForApp()) SWIG_fail
;
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2713 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
*resultobj
;
2717 PyObject
* obj0
= 0 ;
2719 (char *) "icon", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2727 PyErr_SetString(PyExc_TypeError
,"null reference");
2731 if (!wxPyCheckForApp()) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2745 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2748 int arg2
= (int) -1 ;
2750 PyObject
* obj0
= 0 ;
2751 PyObject
* obj1
= 0 ;
2753 (char *) "image",(char *) "depth", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2761 PyErr_SetString(PyExc_TypeError
,"null reference");
2765 arg2
= (int) SWIG_AsInt(obj1
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2769 if (!wxPyCheckForApp()) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2783 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 PyObject
*arg1
= (PyObject
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "listOfStrings", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2795 if (!wxPyCheckForApp()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2809 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2811 PyObject
*arg1
= (PyObject
*) 0 ;
2814 int arg4
= (int) 1 ;
2816 PyObject
* obj0
= 0 ;
2817 PyObject
* obj1
= 0 ;
2818 PyObject
* obj2
= 0 ;
2819 PyObject
* obj3
= 0 ;
2821 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2826 arg2
= (int) SWIG_AsInt(obj1
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2828 arg3
= (int) SWIG_AsInt(obj2
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 arg4
= (int) SWIG_AsInt(obj3
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 if (!wxPyCheckForApp()) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2849 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2853 PyObject
* obj0
= 0 ;
2855 (char *) "self", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= (bool)(arg1
)->Ok();
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2877 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2881 PyObject
* obj0
= 0 ;
2883 (char *) "self", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 result
= (int)(arg1
)->GetWidth();
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 resultobj
= SWIG_FromInt((int)result
);
2903 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2909 (char *) "self", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= (int)(arg1
)->GetHeight();
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2922 resultobj
= SWIG_FromInt((int)result
);
2929 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2935 (char *) "self", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 result
= (int)(arg1
)->GetDepth();
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= SWIG_FromInt((int)result
);
2955 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2957 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2959 PyObject
* obj0
= 0 ;
2961 (char *) "self", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
2965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 result
= wxBitmap_GetSize(arg1
);
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2976 resultptr
= new wxSize((wxSize
&) result
);
2977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2985 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2987 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2988 SwigValueWrapper
< wxImage
> result
;
2989 PyObject
* obj0
= 0 ;
2991 (char *) "self", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3005 wxImage
* resultptr
;
3006 resultptr
= new wxImage((wxImage
&) result
);
3007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3015 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3019 PyObject
* obj0
= 0 ;
3021 (char *) "self", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3041 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
*resultobj
;
3043 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3044 wxMask
*arg2
= (wxMask
*) 0 ;
3045 PyObject
* obj0
= 0 ;
3046 PyObject
* obj1
= 0 ;
3048 (char *) "self",(char *) "mask", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 (arg1
)->SetMask(arg2
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3063 Py_INCREF(Py_None
); resultobj
= Py_None
;
3070 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
;
3072 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3073 wxColour
*arg2
= 0 ;
3075 PyObject
* obj0
= 0 ;
3076 PyObject
* obj1
= 0 ;
3078 (char *) "self",(char *) "colour", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3095 Py_INCREF(Py_None
); resultobj
= Py_None
;
3102 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3106 SwigValueWrapper
< wxBitmap
> result
;
3108 PyObject
* obj0
= 0 ;
3109 PyObject
* obj1
= 0 ;
3111 (char *) "self",(char *) "rect", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3129 wxBitmap
* resultptr
;
3130 resultptr
= new wxBitmap((wxBitmap
&) result
);
3131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3139 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3142 wxString
*arg2
= 0 ;
3144 wxPalette
*arg4
= (wxPalette
*) NULL
;
3146 bool temp2
= False
;
3147 PyObject
* obj0
= 0 ;
3148 PyObject
* obj1
= 0 ;
3149 PyObject
* obj2
= 0 ;
3150 PyObject
* obj3
= 0 ;
3152 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3159 arg2
= wxString_in_helper(obj1
);
3160 if (arg2
== NULL
) SWIG_fail
;
3163 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3166 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3193 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3196 wxString
*arg2
= 0 ;
3199 bool temp2
= False
;
3200 PyObject
* obj0
= 0 ;
3201 PyObject
* obj1
= 0 ;
3202 PyObject
* obj2
= 0 ;
3204 (char *) "self",(char *) "name",(char *) "type", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 arg2
= wxString_in_helper(obj1
);
3212 if (arg2
== NULL
) SWIG_fail
;
3215 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3241 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3249 (char *) "self",(char *) "icon", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3259 PyErr_SetString(PyExc_TypeError
,"null reference");
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3278 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3282 PyObject
* obj0
= 0 ;
3283 PyObject
* obj1
= 0 ;
3285 (char *) "self",(char *) "height", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3291 arg2
= (int) SWIG_AsInt(obj1
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 (arg1
)->SetHeight(arg2
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3311 PyObject
* obj0
= 0 ;
3312 PyObject
* obj1
= 0 ;
3314 (char *) "self",(char *) "width", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3320 arg2
= (int) SWIG_AsInt(obj1
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 (arg1
)->SetWidth(arg2
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 Py_INCREF(Py_None
); resultobj
= Py_None
;
3336 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
;
3338 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3343 (char *) "self",(char *) "depth", NULL
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3349 arg2
= (int) SWIG_AsInt(obj1
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 (arg1
)->SetDepth(arg2
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 Py_INCREF(Py_None
); resultobj
= Py_None
;
3365 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3371 PyObject
* obj1
= 0 ;
3373 (char *) "self",(char *) "size", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3381 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 Py_INCREF(Py_None
); resultobj
= Py_None
;
3397 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3400 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3402 PyObject
* obj0
= 0 ;
3403 PyObject
* obj1
= 0 ;
3405 (char *) "self",(char *) "other", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3429 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3432 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3437 (char *) "self",(char *) "other", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3461 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3464 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3466 return Py_BuildValue((char *)"");
3468 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
*resultobj
;
3470 wxBitmap
*arg1
= 0 ;
3471 wxColour
const &arg2_defvalue
= wxNullColour
;
3472 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3475 PyObject
* obj0
= 0 ;
3476 PyObject
* obj1
= 0 ;
3478 (char *) "bitmap",(char *) "colour", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3486 PyErr_SetString(PyExc_TypeError
,"null reference");
3492 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3496 if (!wxPyCheckForApp()) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3510 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3513 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3515 return Py_BuildValue((char *)"");
3517 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxString
*arg1
= 0 ;
3521 int arg3
= (int) -1 ;
3522 int arg4
= (int) -1 ;
3524 bool temp1
= False
;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3527 PyObject
* obj2
= 0 ;
3528 PyObject
* obj3
= 0 ;
3530 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3535 arg1
= wxString_in_helper(obj0
);
3536 if (arg1
== NULL
) SWIG_fail
;
3539 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 arg3
= (int) SWIG_AsInt(obj2
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 arg4
= (int) SWIG_AsInt(obj3
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3550 if (!wxPyCheckForApp()) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3572 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxIcon
*arg1
= (wxIcon
*) 0 ;
3575 PyObject
* obj0
= 0 ;
3577 (char *) "self", NULL
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 Py_INCREF(Py_None
); resultobj
= Py_None
;
3597 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3606 if (!wxPyCheckForApp()) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (wxIcon
*)new wxIcon();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3620 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxIconLocation
*arg1
= 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "loc", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3634 PyErr_SetString(PyExc_TypeError
,"null reference");
3638 if (!wxPyCheckForApp()) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3652 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxBitmap
*arg1
= 0 ;
3656 PyObject
* obj0
= 0 ;
3658 (char *) "bmp", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3666 PyErr_SetString(PyExc_TypeError
,"null reference");
3670 if (!wxPyCheckForApp()) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3684 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 PyObject
*arg1
= (PyObject
*) 0 ;
3688 PyObject
* obj0
= 0 ;
3690 (char *) "listOfStrings", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3696 if (!wxPyCheckForApp()) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 result
= (wxIcon
*)new_wxIcon(arg1
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3710 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxIcon
*arg1
= (wxIcon
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (bool)(arg1
)->Ok();
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3738 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxIcon
*arg1
= (wxIcon
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3744 (char *) "self", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (int)(arg1
)->GetWidth();
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_FromInt((int)result
);
3764 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxIcon
*arg1
= (wxIcon
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3770 (char *) "self", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= (int)(arg1
)->GetHeight();
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 resultobj
= SWIG_FromInt((int)result
);
3790 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxIcon
*arg1
= (wxIcon
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3796 (char *) "self", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (int)(arg1
)->GetDepth();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_FromInt((int)result
);
3816 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxIcon
*arg1
= (wxIcon
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj1
= 0 ;
3823 (char *) "self",(char *) "w", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 arg2
= (int) SWIG_AsInt(obj1
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 (arg1
)->SetWidth(arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxIcon
*arg1
= (wxIcon
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3850 PyObject
* obj1
= 0 ;
3852 (char *) "self",(char *) "h", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3858 arg2
= (int) SWIG_AsInt(obj1
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 (arg1
)->SetHeight(arg2
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 Py_INCREF(Py_None
); resultobj
= Py_None
;
3874 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 wxIcon
*arg1
= (wxIcon
*) 0 ;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3881 (char *) "self",(char *) "d", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3887 arg2
= (int) SWIG_AsInt(obj1
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->SetDepth(arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxIcon
*arg1
= (wxIcon
*) 0 ;
3906 wxBitmap
*arg2
= 0 ;
3907 PyObject
* obj0
= 0 ;
3908 PyObject
* obj1
= 0 ;
3910 (char *) "self",(char *) "bmp", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3920 PyErr_SetString(PyExc_TypeError
,"null reference");
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3940 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3942 return Py_BuildValue((char *)"");
3944 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3947 int arg2
= (int) 0 ;
3948 wxIconLocation
*result
;
3949 bool temp1
= False
;
3950 PyObject
* obj0
= 0 ;
3951 PyObject
* obj1
= 0 ;
3953 (char *) "filename",(char *) "num", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3959 arg1
= wxString_in_helper(obj0
);
3960 if (arg1
== NULL
) SWIG_fail
;
3965 arg2
= (int) SWIG_AsInt(obj1
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
3990 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3993 PyObject
* obj0
= 0 ;
3995 (char *) "self", NULL
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 Py_INCREF(Py_None
); resultobj
= Py_None
;
4015 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4019 PyObject
* obj0
= 0 ;
4021 (char *) "self", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4043 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4045 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4046 wxString
*arg2
= 0 ;
4047 bool temp2
= False
;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4051 (char *) "self",(char *) "filename", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 arg2
= wxString_in_helper(obj1
);
4059 if (arg2
== NULL
) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetFileName((wxString
const &)*arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4084 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4088 PyObject
* obj0
= 0 ;
4090 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4100 result
= (wxString
*) &_result_ref
;
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4119 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4121 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4126 (char *) "self",(char *) "num", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4132 arg2
= (int) SWIG_AsInt(obj1
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 wxIconLocation_SetIndex(arg1
,arg2
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 Py_INCREF(Py_None
); resultobj
= Py_None
;
4148 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4152 PyObject
* obj0
= 0 ;
4154 (char *) "self", NULL
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (int)wxIconLocation_GetIndex(arg1
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_FromInt((int)result
);
4174 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4177 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4179 return Py_BuildValue((char *)"");
4181 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxIconBundle
*result
;
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (wxIconBundle
*)new wxIconBundle();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4203 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxString
*arg1
= 0 ;
4207 wxIconBundle
*result
;
4208 bool temp1
= False
;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4212 (char *) "file",(char *) "type", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 arg1
= wxString_in_helper(obj0
);
4218 if (arg1
== NULL
) SWIG_fail
;
4221 arg2
= (long) SWIG_AsLong(obj1
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4245 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4248 wxIconBundle
*result
;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "icon", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4259 PyErr_SetString(PyExc_TypeError
,"null reference");
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4276 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4279 PyObject
* obj0
= 0 ;
4281 (char *) "self", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 Py_INCREF(Py_None
); resultobj
= Py_None
;
4301 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4306 PyObject
* obj1
= 0 ;
4308 (char *) "self",(char *) "icon", NULL
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4318 PyErr_SetString(PyExc_TypeError
,"null reference");
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 Py_INCREF(Py_None
); resultobj
= Py_None
;
4335 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4338 wxString
*arg2
= 0 ;
4340 bool temp2
= False
;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4343 PyObject
* obj2
= 0 ;
4345 (char *) "self",(char *) "file",(char *) "type", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4352 arg2
= wxString_in_helper(obj1
);
4353 if (arg2
== NULL
) SWIG_fail
;
4356 arg3
= (long) SWIG_AsLong(obj2
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 Py_INCREF(Py_None
); resultobj
= Py_None
;
4380 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4389 (char *) "self",(char *) "size", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4403 result
= (wxIcon
*) &_result_ref
;
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 wxIcon
* resultptr
= new wxIcon(*result
);
4411 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4419 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4422 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4424 return Py_BuildValue((char *)"");
4426 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxString
*arg1
= (wxString
*) 0 ;
4430 int arg3
= (int) 0 ;
4431 int arg4
= (int) 0 ;
4433 bool temp1
= False
;
4434 PyObject
* obj0
= 0 ;
4435 PyObject
* obj1
= 0 ;
4436 PyObject
* obj2
= 0 ;
4437 PyObject
* obj3
= 0 ;
4439 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4444 arg1
= wxString_in_helper(obj0
);
4445 if (arg1
== NULL
) SWIG_fail
;
4448 arg2
= (long) SWIG_AsLong(obj1
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 arg3
= (int) SWIG_AsInt(obj2
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 arg4
= (int) SWIG_AsInt(obj3
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4459 if (!wxPyCheckForApp()) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4481 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxCursor
*arg1
= (wxCursor
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4486 (char *) "self", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 Py_INCREF(Py_None
); resultobj
= Py_None
;
4506 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4510 PyObject
* obj0
= 0 ;
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4516 arg1
= (int) SWIG_AsInt(obj0
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 if (!wxPyCheckForApp()) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (wxCursor
*)new wxCursor(arg1
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4533 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4537 PyObject
* obj0
= 0 ;
4539 (char *) "image", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4547 PyErr_SetString(PyExc_TypeError
,"null reference");
4551 if (!wxPyCheckForApp()) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4565 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxCursor
*arg1
= (wxCursor
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4571 (char *) "self", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (bool)(arg1
)->Ok();
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4593 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4596 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4598 return Py_BuildValue((char *)"");
4600 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 int arg1
= (int) 0 ;
4603 int arg2
= (int) 0 ;
4604 int arg3
= (int) 0 ;
4605 int arg4
= (int) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4609 PyObject
* obj2
= 0 ;
4610 PyObject
* obj3
= 0 ;
4612 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4617 arg1
= (int) SWIG_AsInt(obj0
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4621 arg2
= (int) SWIG_AsInt(obj1
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4625 arg3
= (int) SWIG_AsInt(obj2
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 arg4
= (int) SWIG_AsInt(obj3
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4633 if (!wxPyCheckForApp()) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4647 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxBitmap
*arg1
= 0 ;
4651 PyObject
* obj0
= 0 ;
4653 (char *) "bmp", NULL
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4661 PyErr_SetString(PyExc_TypeError
,"null reference");
4665 if (!wxPyCheckForApp()) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4679 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4681 wxBitmap
*arg1
= 0 ;
4682 wxColour
*arg2
= 0 ;
4683 int arg3
= (int) 0 ;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4688 PyObject
* obj2
= 0 ;
4690 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4698 PyErr_SetString(PyExc_TypeError
,"null reference");
4703 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4706 arg3
= (int) SWIG_AsInt(obj2
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4710 if (!wxPyCheckForApp()) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4724 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4727 wxPoint
*arg2
= (wxPoint
*) 0 ;
4728 int arg3
= (int) wxWINDING_RULE
;
4730 PyObject
* obj0
= 0 ;
4731 PyObject
* obj1
= 0 ;
4733 (char *) "points",(char *) "fillStyle", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4738 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4739 if (arg2
== NULL
) SWIG_fail
;
4742 arg3
= (int) SWIG_AsInt(obj1
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 if (!wxPyCheckForApp()) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4755 if (arg2
) delete [] arg2
;
4760 if (arg2
) delete [] arg2
;
4766 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
;
4768 wxRegion
*arg1
= (wxRegion
*) 0 ;
4769 PyObject
* obj0
= 0 ;
4771 (char *) "self", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 Py_INCREF(Py_None
); resultobj
= Py_None
;
4791 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxRegion
*arg1
= (wxRegion
*) 0 ;
4794 PyObject
* obj0
= 0 ;
4796 (char *) "self", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 Py_INCREF(Py_None
); resultobj
= Py_None
;
4816 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
;
4818 wxRegion
*arg1
= (wxRegion
*) 0 ;
4822 PyObject
* obj0
= 0 ;
4823 PyObject
* obj1
= 0 ;
4824 PyObject
* obj2
= 0 ;
4826 (char *) "self",(char *) "x",(char *) "y", NULL
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4832 arg2
= (int) SWIG_AsInt(obj1
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4834 arg3
= (int) SWIG_AsInt(obj2
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_FromInt((int)result
);
4850 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxRegion
*arg1
= (wxRegion
*) 0 ;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4859 (char *) "self",(char *) "pt", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_FromInt((int)result
);
4883 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxRegion
*arg1
= (wxRegion
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4890 PyObject
* obj1
= 0 ;
4892 (char *) "self",(char *) "rect", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= SWIG_FromInt((int)result
);
4916 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxRegion
*arg1
= (wxRegion
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4925 PyObject
* obj1
= 0 ;
4926 PyObject
* obj2
= 0 ;
4927 PyObject
* obj3
= 0 ;
4928 PyObject
* obj4
= 0 ;
4930 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4936 arg2
= (int) SWIG_AsInt(obj1
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4938 arg3
= (int) SWIG_AsInt(obj2
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4940 arg4
= (int) SWIG_AsInt(obj3
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4942 arg5
= (int) SWIG_AsInt(obj4
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= SWIG_FromInt((int)result
);
4958 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
;
4960 wxRegion
*arg1
= (wxRegion
*) 0 ;
4962 PyObject
* obj0
= 0 ;
4964 (char *) "self", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (arg1
)->GetBox();
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4979 resultptr
= new wxRect((wxRect
&) result
);
4980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4988 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxRegion
*arg1
= (wxRegion
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 PyObject
* obj2
= 0 ;
4999 PyObject
* obj3
= 0 ;
5000 PyObject
* obj4
= 0 ;
5002 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 arg2
= (int) SWIG_AsInt(obj1
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5010 arg3
= (int) SWIG_AsInt(obj2
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5012 arg4
= (int) SWIG_AsInt(obj3
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5014 arg5
= (int) SWIG_AsInt(obj4
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5032 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxRegion
*arg1
= (wxRegion
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5041 (char *) "self",(char *) "rect", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5049 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5067 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxRegion
*arg1
= (wxRegion
*) 0 ;
5070 wxRegion
*arg2
= 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5075 (char *) "self",(char *) "region", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5085 PyErr_SetString(PyExc_TypeError
,"null reference");
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5104 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxRegion
*arg1
= (wxRegion
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5110 (char *) "self", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (bool)(arg1
)->IsEmpty();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5132 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxRegion
*arg1
= (wxRegion
*) 0 ;
5140 PyObject
* obj0
= 0 ;
5141 PyObject
* obj1
= 0 ;
5142 PyObject
* obj2
= 0 ;
5143 PyObject
* obj3
= 0 ;
5144 PyObject
* obj4
= 0 ;
5146 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5152 arg2
= (int) SWIG_AsInt(obj1
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5154 arg3
= (int) SWIG_AsInt(obj2
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5156 arg4
= (int) SWIG_AsInt(obj3
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5158 arg5
= (int) SWIG_AsInt(obj4
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5176 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxRegion
*arg1
= (wxRegion
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "rect", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5193 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5211 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxRegion
*arg1
= (wxRegion
*) 0 ;
5214 wxRegion
*arg2
= 0 ;
5216 PyObject
* obj0
= 0 ;
5217 PyObject
* obj1
= 0 ;
5219 (char *) "self",(char *) "region", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5229 PyErr_SetString(PyExc_TypeError
,"null reference");
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxRegion
*arg1
= (wxRegion
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5258 PyObject
* obj2
= 0 ;
5259 PyObject
* obj3
= 0 ;
5260 PyObject
* obj4
= 0 ;
5262 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5268 arg2
= (int) SWIG_AsInt(obj1
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5270 arg3
= (int) SWIG_AsInt(obj2
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5272 arg4
= (int) SWIG_AsInt(obj3
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5274 arg5
= (int) SWIG_AsInt(obj4
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5292 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxRegion
*arg1
= (wxRegion
*) 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5301 (char *) "self",(char *) "rect", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5327 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxRegion
*arg1
= (wxRegion
*) 0 ;
5330 wxRegion
*arg2
= 0 ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5335 (char *) "self",(char *) "region", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5345 PyErr_SetString(PyExc_TypeError
,"null reference");
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5364 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxRegion
*arg1
= (wxRegion
*) 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5374 PyObject
* obj2
= 0 ;
5375 PyObject
* obj3
= 0 ;
5376 PyObject
* obj4
= 0 ;
5378 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 arg2
= (int) SWIG_AsInt(obj1
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5386 arg3
= (int) SWIG_AsInt(obj2
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5388 arg4
= (int) SWIG_AsInt(obj3
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5390 arg5
= (int) SWIG_AsInt(obj4
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5408 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxRegion
*arg1
= (wxRegion
*) 0 ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5417 (char *) "self",(char *) "rect", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5443 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxRegion
*arg1
= (wxRegion
*) 0 ;
5446 wxRegion
*arg2
= 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5451 (char *) "self",(char *) "region", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5461 PyErr_SetString(PyExc_TypeError
,"null reference");
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5480 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxRegion
*arg1
= (wxRegion
*) 0 ;
5483 SwigValueWrapper
< wxBitmap
> result
;
5484 PyObject
* obj0
= 0 ;
5486 (char *) "self", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (arg1
)->ConvertToBitmap();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 wxBitmap
* resultptr
;
5501 resultptr
= new wxBitmap((wxBitmap
&) result
);
5502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5510 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxRegion
*arg1
= (wxRegion
*) 0 ;
5513 wxBitmap
*arg2
= 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5518 (char *) "self",(char *) "bmp", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5528 PyErr_SetString(PyExc_TypeError
,"null reference");
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5547 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxRegion
*arg1
= (wxRegion
*) 0 ;
5550 wxBitmap
*arg2
= 0 ;
5551 wxColour
*arg3
= 0 ;
5552 int arg4
= (int) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5557 PyObject
* obj2
= 0 ;
5558 PyObject
* obj3
= 0 ;
5560 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5570 PyErr_SetString(PyExc_TypeError
,"null reference");
5575 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5578 arg4
= (int) SWIG_AsInt(obj3
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5597 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5600 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5602 return Py_BuildValue((char *)"");
5604 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxRegion
*arg1
= 0 ;
5607 wxRegionIterator
*result
;
5608 PyObject
* obj0
= 0 ;
5610 (char *) "region", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5618 PyErr_SetString(PyExc_TypeError
,"null reference");
5622 if (!wxPyCheckForApp()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5636 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 Py_INCREF(Py_None
); resultobj
= Py_None
;
5661 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5667 (char *) "self", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 result
= (int)(arg1
)->GetX();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_FromInt((int)result
);
5687 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5693 (char *) "self", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (int)(arg1
)->GetY();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_FromInt((int)result
);
5713 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5719 (char *) "self", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (int)(arg1
)->GetW();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_FromInt((int)result
);
5739 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5745 (char *) "self", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (int)(arg1
)->GetWidth();
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 resultobj
= SWIG_FromInt((int)result
);
5765 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5769 PyObject
* obj0
= 0 ;
5771 (char *) "self", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (int)(arg1
)->GetH();
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5784 resultobj
= SWIG_FromInt((int)result
);
5791 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5795 PyObject
* obj0
= 0 ;
5797 (char *) "self", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 result
= (int)(arg1
)->GetHeight();
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 resultobj
= SWIG_FromInt((int)result
);
5817 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (arg1
)->GetRect();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5838 resultptr
= new wxRect((wxRect
&) result
);
5839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5847 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5853 (char *) "self", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= (bool)(arg1
)->HaveRects();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5875 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 Py_INCREF(Py_None
); resultobj
= Py_None
;
5900 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxRegionIterator_Next(arg1
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 Py_INCREF(Py_None
); resultobj
= Py_None
;
5925 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5953 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5956 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5958 return Py_BuildValue((char *)"");
5960 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxNativeFontInfo
*result
;
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5982 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5987 (char *) "self", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 Py_INCREF(Py_None
); resultobj
= Py_None
;
6007 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6010 PyObject
* obj0
= 0 ;
6012 (char *) "self", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 Py_INCREF(Py_None
); resultobj
= Py_None
;
6032 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6039 (char *) "self",(char *) "font", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6049 PyErr_SetString(PyExc_TypeError
,"null reference");
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 Py_INCREF(Py_None
); resultobj
= Py_None
;
6066 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6072 (char *) "self", NULL
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= SWIG_FromInt((int)result
);
6092 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
;
6094 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6096 PyObject
* obj0
= 0 ;
6098 (char *) "self", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= SWIG_FromInt((int)result
);
6118 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6124 (char *) "self", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_FromInt((int)result
);
6144 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6172 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6178 (char *) "self", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6204 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6210 (char *) "self", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_FromInt((int)result
);
6230 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_FromInt((int)result
);
6256 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6263 (char *) "self",(char *) "pointsize", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 arg2
= (int) SWIG_AsInt(obj1
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 (arg1
)->SetPointSize(arg2
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 Py_INCREF(Py_None
); resultobj
= Py_None
;
6285 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
;
6287 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6289 PyObject
* obj0
= 0 ;
6290 PyObject
* obj1
= 0 ;
6292 (char *) "self",(char *) "style", NULL
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 Py_INCREF(Py_None
); resultobj
= Py_None
;
6314 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6321 (char *) "self",(char *) "weight", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6327 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 Py_INCREF(Py_None
); resultobj
= Py_None
;
6343 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6350 (char *) "self",(char *) "underlined", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6356 arg2
= (bool) SWIG_AsBool(obj1
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 (arg1
)->SetUnderlined(arg2
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 Py_INCREF(Py_None
); resultobj
= Py_None
;
6372 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6379 (char *) "self",(char *) "facename", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 wxString
* sptr
= wxString_in_helper(obj1
);
6387 if (sptr
== NULL
) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 (arg1
)->SetFaceName(arg2
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 Py_INCREF(Py_None
); resultobj
= Py_None
;
6405 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6412 (char *) "self",(char *) "family", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 Py_INCREF(Py_None
); resultobj
= Py_None
;
6434 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6441 (char *) "self",(char *) "encoding", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6466 wxString
*arg2
= 0 ;
6468 bool temp2
= False
;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6472 (char *) "self",(char *) "s", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 arg2
= wxString_in_helper(obj1
);
6480 if (arg2
== NULL
) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6507 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6511 PyObject
* obj0
= 0 ;
6513 (char *) "self", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6539 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= wxNativeFontInfo___str__(arg1
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6571 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6574 wxString
*arg2
= 0 ;
6576 bool temp2
= False
;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6580 (char *) "self",(char *) "s", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 arg2
= wxString_in_helper(obj1
);
6588 if (arg2
== NULL
) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6619 PyObject
* obj0
= 0 ;
6621 (char *) "self", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6647 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6650 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6652 return Py_BuildValue((char *)"");
6654 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
;
6656 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6657 wxString
*arg2
= (wxString
*) 0 ;
6658 bool temp2
= False
;
6659 PyObject
* obj0
= 0 ;
6660 PyObject
* obj1
= 0 ;
6662 (char *) "self",(char *) "facename", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6669 arg2
= wxString_in_helper(obj1
);
6670 if (arg2
== NULL
) SWIG_fail
;
6673 if (arg1
) (arg1
)->facename
= *arg2
;
6675 Py_INCREF(Py_None
); resultobj
= Py_None
;
6690 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
;
6692 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6694 PyObject
* obj0
= 0 ;
6696 (char *) "self", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6702 result
= (wxString
*)& ((arg1
)->facename
);
6706 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6708 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6717 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6724 (char *) "self",(char *) "encoding", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6730 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6732 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6734 Py_INCREF(Py_None
); resultobj
= Py_None
;
6741 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
;
6743 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6747 (char *) "self", NULL
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 result
= (int) ((arg1
)->encoding
);
6755 resultobj
= SWIG_FromInt((int)result
);
6762 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxNativeEncodingInfo
*result
;
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6784 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6786 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6787 PyObject
* obj0
= 0 ;
6789 (char *) "self", NULL
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 Py_INCREF(Py_None
); resultobj
= Py_None
;
6809 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6812 wxString
*arg2
= 0 ;
6814 bool temp2
= False
;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6818 (char *) "self",(char *) "s", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6825 arg2
= wxString_in_helper(obj1
);
6826 if (arg2
== NULL
) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6853 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6885 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6888 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6890 return Py_BuildValue((char *)"");
6892 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6895 wxNativeEncodingInfo
*result
;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "encoding", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6902 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6918 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxNativeEncodingInfo
*arg1
= 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "info", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6932 PyErr_SetString(PyExc_TypeError
,"null reference");
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6951 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxFontMapper
*result
;
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (wxFontMapper
*)new wxFontMapper();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6973 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6978 (char *) "self", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 Py_INCREF(Py_None
); resultobj
= Py_None
;
6998 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxFontMapper
*result
;
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (wxFontMapper
*)wxFontMapper::Get();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7020 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7022 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7023 wxFontMapper
*result
;
7024 PyObject
* obj0
= 0 ;
7026 (char *) "mapper", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7046 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7049 wxString
*arg2
= 0 ;
7050 bool arg3
= (bool) True
;
7052 bool temp2
= False
;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 PyObject
* obj2
= 0 ;
7057 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7064 arg2
= wxString_in_helper(obj1
);
7065 if (arg2
== NULL
) SWIG_fail
;
7069 arg3
= (bool) SWIG_AsBool(obj2
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_FromInt((int)result
);
7094 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7116 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7120 PyObject
* obj0
= 0 ;
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7126 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (int)wxFontMapper::GetEncoding(arg1
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= SWIG_FromInt((int)result
);
7142 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "encoding", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7152 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7174 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "encoding", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7184 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7206 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxString
*arg1
= 0 ;
7210 bool temp1
= False
;
7211 PyObject
* obj0
= 0 ;
7213 (char *) "name", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7218 arg1
= wxString_in_helper(obj0
);
7219 if (arg1
== NULL
) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_FromInt((int)result
);
7244 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7247 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj1
= 0 ;
7251 (char *) "self",(char *) "config", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 (arg1
)->SetConfig(arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 Py_INCREF(Py_None
); resultobj
= Py_None
;
7273 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7276 wxString
*arg2
= 0 ;
7277 bool temp2
= False
;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7281 (char *) "self",(char *) "prefix", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 arg2
= wxString_in_helper(obj1
);
7289 if (arg2
== NULL
) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7314 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= wxFontMapper::GetDefaultConfigPath();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7342 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7346 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7347 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7348 bool arg4
= (bool) True
;
7350 bool temp3
= False
;
7351 PyObject
* obj0
= 0 ;
7352 PyObject
* obj1
= 0 ;
7353 PyObject
* obj2
= 0 ;
7354 PyObject
* obj3
= 0 ;
7356 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7362 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7366 arg3
= wxString_in_helper(obj2
);
7367 if (arg3
== NULL
) SWIG_fail
;
7372 arg4
= (bool) SWIG_AsBool(obj3
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7397 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7401 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7404 bool temp3
= False
;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7407 PyObject
* obj2
= 0 ;
7409 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7419 arg3
= wxString_in_helper(obj2
);
7420 if (arg3
== NULL
) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7448 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7451 wxWindow
*arg2
= (wxWindow
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7455 (char *) "self",(char *) "parent", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->SetDialogParent(arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 Py_INCREF(Py_None
); resultobj
= Py_None
;
7477 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
*resultobj
;
7479 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7480 wxString
*arg2
= 0 ;
7481 bool temp2
= False
;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7485 (char *) "self",(char *) "title", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7492 arg2
= wxString_in_helper(obj1
);
7493 if (arg2
== NULL
) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 Py_INCREF(Py_None
); resultobj
= Py_None
;
7518 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7521 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7523 return Py_BuildValue((char *)"");
7525 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7531 bool arg5
= (bool) False
;
7532 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7533 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7534 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7536 bool temp6
= False
;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj2
= 0 ;
7540 PyObject
* obj3
= 0 ;
7541 PyObject
* obj4
= 0 ;
7542 PyObject
* obj5
= 0 ;
7543 PyObject
* obj6
= 0 ;
7545 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7549 arg1
= (int) SWIG_AsInt(obj0
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7551 arg2
= (int) SWIG_AsInt(obj1
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7553 arg3
= (int) SWIG_AsInt(obj2
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7555 arg4
= (int) SWIG_AsInt(obj3
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 arg5
= (bool) SWIG_AsBool(obj4
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7563 arg6
= wxString_in_helper(obj5
);
7564 if (arg6
== NULL
) SWIG_fail
;
7569 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7573 if (!wxPyCheckForApp()) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7595 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxFont
*arg1
= (wxFont
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 Py_INCREF(Py_None
); resultobj
= Py_None
;
7620 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxNativeFontInfo
*arg1
= 0 ;
7624 PyObject
* obj0
= 0 ;
7626 (char *) "info", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7634 PyErr_SetString(PyExc_TypeError
,"null reference");
7638 if (!wxPyCheckForApp()) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7652 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxString
*arg1
= 0 ;
7656 bool temp1
= False
;
7657 PyObject
* obj0
= 0 ;
7659 (char *) "info", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7664 arg1
= wxString_in_helper(obj0
);
7665 if (arg1
== NULL
) SWIG_fail
;
7669 if (!wxPyCheckForApp()) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7691 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7695 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7696 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7697 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7698 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7700 bool temp4
= False
;
7701 PyObject
* obj0
= 0 ;
7702 PyObject
* obj1
= 0 ;
7703 PyObject
* obj2
= 0 ;
7704 PyObject
* obj3
= 0 ;
7705 PyObject
* obj4
= 0 ;
7707 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7711 arg1
= (int) SWIG_AsInt(obj0
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7713 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 arg3
= (int) SWIG_AsInt(obj2
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7721 arg4
= wxString_in_helper(obj3
);
7722 if (arg4
== NULL
) SWIG_fail
;
7727 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 if (!wxPyCheckForApp()) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7753 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxFont
*arg1
= (wxFont
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (bool)((wxFont
const *)arg1
)->Ok();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7781 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxFont
*arg1
= (wxFont
*) 0 ;
7784 wxFont
*arg2
= (wxFont
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7789 (char *) "self",(char *) "other", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7813 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxFont
*arg1
= (wxFont
*) 0 ;
7816 wxFont
*arg2
= (wxFont
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "other", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7845 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxFont
*arg1
= (wxFont
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_FromInt((int)result
);
7871 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxFont
*arg1
= (wxFont
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= SWIG_FromInt((int)result
);
7897 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxFont
*arg1
= (wxFont
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7903 (char *) "self", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= SWIG_FromInt((int)result
);
7923 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxFont
*arg1
= (wxFont
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7929 (char *) "self", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_FromInt((int)result
);
7949 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxFont
*arg1
= (wxFont
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxFont
*arg1
= (wxFont
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= ((wxFont
const *)arg1
)->GetFaceName();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8009 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxFont
*arg1
= (wxFont
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_FromInt((int)result
);
8035 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxFont
*arg1
= (wxFont
*) 0 ;
8038 wxNativeFontInfo
*result
;
8039 PyObject
* obj0
= 0 ;
8041 (char *) "self", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8061 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxFont
*arg1
= (wxFont
*) 0 ;
8065 PyObject
* obj0
= 0 ;
8067 (char *) "self", NULL
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8089 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxFont
*arg1
= (wxFont
*) 0 ;
8093 PyObject
* obj0
= 0 ;
8095 (char *) "self", NULL
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8121 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxFont
*arg1
= (wxFont
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8153 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxFont
*arg1
= (wxFont
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8160 (char *) "self",(char *) "pointSize", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8166 arg2
= (int) SWIG_AsInt(obj1
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 (arg1
)->SetPointSize(arg2
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8182 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxFont
*arg1
= (wxFont
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8187 PyObject
* obj1
= 0 ;
8189 (char *) "self",(char *) "family", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8195 arg2
= (int) SWIG_AsInt(obj1
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 (arg1
)->SetFamily(arg2
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxFont
*arg1
= (wxFont
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8218 (char *) "self",(char *) "style", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 arg2
= (int) SWIG_AsInt(obj1
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 (arg1
)->SetStyle(arg2
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 Py_INCREF(Py_None
); resultobj
= Py_None
;
8240 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxFont
*arg1
= (wxFont
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8247 (char *) "self",(char *) "weight", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 arg2
= (int) SWIG_AsInt(obj1
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 (arg1
)->SetWeight(arg2
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 Py_INCREF(Py_None
); resultobj
= Py_None
;
8269 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxFont
*arg1
= (wxFont
*) 0 ;
8272 wxString
*arg2
= 0 ;
8273 bool temp2
= False
;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8277 (char *) "self",(char *) "faceName", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 arg2
= wxString_in_helper(obj1
);
8285 if (arg2
== NULL
) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 Py_INCREF(Py_None
); resultobj
= Py_None
;
8310 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxFont
*arg1
= (wxFont
*) 0 ;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8317 (char *) "self",(char *) "underlined", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8323 arg2
= (bool) SWIG_AsBool(obj1
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 (arg1
)->SetUnderlined(arg2
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 Py_INCREF(Py_None
); resultobj
= Py_None
;
8339 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxFont
*arg1
= (wxFont
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8344 PyObject
* obj1
= 0 ;
8346 (char *) "self",(char *) "encoding", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 Py_INCREF(Py_None
); resultobj
= Py_None
;
8368 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxFont
*arg1
= (wxFont
*) 0 ;
8371 wxNativeFontInfo
*arg2
= 0 ;
8372 PyObject
* obj0
= 0 ;
8373 PyObject
* obj1
= 0 ;
8375 (char *) "self",(char *) "info", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8385 PyErr_SetString(PyExc_TypeError
,"null reference");
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 Py_INCREF(Py_None
); resultobj
= Py_None
;
8402 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxFont
*arg1
= (wxFont
*) 0 ;
8405 wxString
*arg2
= 0 ;
8406 bool temp2
= False
;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8410 (char *) "self",(char *) "info", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8417 arg2
= wxString_in_helper(obj1
);
8418 if (arg2
== NULL
) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 Py_INCREF(Py_None
); resultobj
= Py_None
;
8443 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxFont
*arg1
= (wxFont
*) 0 ;
8446 wxString
*arg2
= 0 ;
8447 bool temp2
= False
;
8448 PyObject
* obj0
= 0 ;
8449 PyObject
* obj1
= 0 ;
8451 (char *) "self",(char *) "info", NULL
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8458 arg2
= wxString_in_helper(obj1
);
8459 if (arg2
== NULL
) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 Py_INCREF(Py_None
); resultobj
= Py_None
;
8484 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxFont
*arg1
= (wxFont
*) 0 ;
8488 PyObject
* obj0
= 0 ;
8490 (char *) "self", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8516 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 wxFont
*arg1
= (wxFont
*) 0 ;
8520 PyObject
* obj0
= 0 ;
8522 (char *) "self", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= ((wxFont
const *)arg1
)->GetStyleString();
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8548 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxFont
*arg1
= (wxFont
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= ((wxFont
const *)arg1
)->GetWeightString();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8580 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxFont
*arg1
= (wxFont
*) 0 ;
8583 bool arg2
= (bool) True
;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8587 (char *) "self",(char *) "no", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 arg2
= (bool) SWIG_AsBool(obj1
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 (arg1
)->SetNoAntiAliasing(arg2
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 Py_INCREF(Py_None
); resultobj
= Py_None
;
8611 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxFont
*arg1
= (wxFont
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8617 (char *) "self", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8639 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8648 if (!wxPyCheckForApp()) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (int)wxFont::GetDefaultEncoding();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_FromInt((int)result
);
8662 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8665 PyObject
* obj0
= 0 ;
8667 (char *) "encoding", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8671 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 if (!wxPyCheckForApp()) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8691 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8693 return Py_BuildValue((char *)"");
8695 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxPyFontEnumerator
*result
;
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8704 if (!wxPyCheckForApp()) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8718 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8746 PyObject
*arg2
= (PyObject
*) 0 ;
8747 PyObject
*arg3
= (PyObject
*) 0 ;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8751 PyObject
* obj2
= 0 ;
8752 PyObject
* obj3
= 0 ;
8754 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8762 arg4
= (bool) SWIG_AsBool(obj3
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8781 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8782 bool arg3
= (bool) False
;
8784 PyObject
* obj0
= 0 ;
8785 PyObject
* obj1
= 0 ;
8786 PyObject
* obj2
= 0 ;
8788 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8795 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8799 arg3
= (bool) SWIG_AsBool(obj2
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8818 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8821 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8822 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8824 bool temp2
= False
;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8828 (char *) "self",(char *) "facename", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 arg2
= wxString_in_helper(obj1
);
8837 if (arg2
== NULL
) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8865 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "self", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8891 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8895 PyObject
* obj0
= 0 ;
8897 (char *) "self", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8917 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8920 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8922 return Py_BuildValue((char *)"");
8924 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8931 (char *) "self",(char *) "Language", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 arg2
= (int) SWIG_AsInt(obj1
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8939 if (arg1
) (arg1
)->Language
= arg2
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8948 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8954 (char *) "self", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8960 result
= (int) ((arg1
)->Language
);
8962 resultobj
= SWIG_FromInt((int)result
);
8969 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8972 wxString
*arg2
= (wxString
*) 0 ;
8973 bool temp2
= False
;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8977 (char *) "self",(char *) "CanonicalName", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 arg2
= wxString_in_helper(obj1
);
8985 if (arg2
== NULL
) SWIG_fail
;
8988 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8990 Py_INCREF(Py_None
); resultobj
= Py_None
;
9005 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9017 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9032 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9035 wxString
*arg2
= (wxString
*) 0 ;
9036 bool temp2
= False
;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9040 (char *) "self",(char *) "Description", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg2
= wxString_in_helper(obj1
);
9048 if (arg2
== NULL
) SWIG_fail
;
9051 if (arg1
) (arg1
)->Description
= *arg2
;
9053 Py_INCREF(Py_None
); resultobj
= Py_None
;
9068 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "self", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9080 result
= (wxString
*)& ((arg1
)->Description
);
9084 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9086 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9095 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9098 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9100 return Py_BuildValue((char *)"");
9102 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 int arg1
= (int) -1 ;
9105 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9107 PyObject
* obj0
= 0 ;
9108 PyObject
* obj1
= 0 ;
9110 (char *) "language",(char *) "flags", NULL
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9115 arg1
= (int) SWIG_AsInt(obj0
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9119 arg2
= (int) SWIG_AsInt(obj1
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9136 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxLocale
*arg1
= (wxLocale
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "self", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 Py_INCREF(Py_None
); resultobj
= Py_None
;
9161 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9163 wxLocale
*arg1
= (wxLocale
*) 0 ;
9164 wxString
*arg2
= 0 ;
9165 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9166 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9167 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9168 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9169 bool arg5
= (bool) True
;
9170 bool arg6
= (bool) False
;
9172 bool temp2
= False
;
9173 bool temp3
= False
;
9174 bool temp4
= False
;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9177 PyObject
* obj2
= 0 ;
9178 PyObject
* obj3
= 0 ;
9179 PyObject
* obj4
= 0 ;
9180 PyObject
* obj5
= 0 ;
9182 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9189 arg2
= wxString_in_helper(obj1
);
9190 if (arg2
== NULL
) SWIG_fail
;
9195 arg3
= wxString_in_helper(obj2
);
9196 if (arg3
== NULL
) SWIG_fail
;
9202 arg4
= wxString_in_helper(obj3
);
9203 if (arg4
== NULL
) SWIG_fail
;
9208 arg5
= (bool) SWIG_AsBool(obj4
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 arg6
= (bool) SWIG_AsBool(obj5
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9255 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxLocale
*arg1
= (wxLocale
*) 0 ;
9258 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9259 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9265 (char *) "self",(char *) "language",(char *) "flags", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 arg2
= (int) SWIG_AsInt(obj1
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 arg3
= (int) SWIG_AsInt(obj2
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 result
= (int)wxLocale::GetSystemLanguage();
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= SWIG_FromInt((int)result
);
9317 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
;
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (int)wxLocale::GetSystemEncoding();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_FromInt((int)result
);
9339 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= wxLocale::GetSystemEncodingName();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9367 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9369 wxLocale
*arg1
= (wxLocale
*) 0 ;
9371 PyObject
* obj0
= 0 ;
9373 (char *) "self", NULL
9376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9395 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 wxLocale
*arg1
= (wxLocale
*) 0 ;
9399 PyObject
* obj0
= 0 ;
9401 (char *) "self", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= ((wxLocale
const *)arg1
)->GetLocale();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9427 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxLocale
*arg1
= (wxLocale
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9433 (char *) "self", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_FromInt((int)result
);
9453 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
;
9455 wxLocale
*arg1
= (wxLocale
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= ((wxLocale
const *)arg1
)->GetSysName();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9485 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxLocale
*arg1
= (wxLocale
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9517 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxString
*arg1
= 0 ;
9520 bool temp1
= False
;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "prefix", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9528 arg1
= wxString_in_helper(obj0
);
9529 if (arg1
== NULL
) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 Py_INCREF(Py_None
); resultobj
= Py_None
;
9554 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxLocale
*arg1
= (wxLocale
*) 0 ;
9557 wxString
*arg2
= 0 ;
9559 bool temp2
= False
;
9560 PyObject
* obj0
= 0 ;
9561 PyObject
* obj1
= 0 ;
9563 (char *) "self",(char *) "szDomain", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9570 arg2
= wxString_in_helper(obj1
);
9571 if (arg2
== NULL
) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9598 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxLocale
*arg1
= (wxLocale
*) 0 ;
9601 wxString
*arg2
= 0 ;
9603 bool temp2
= False
;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9607 (char *) "self",(char *) "szDomain", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 arg2
= wxString_in_helper(obj1
);
9615 if (arg2
== NULL
) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9645 wxLanguageInfo
*result
;
9646 PyObject
* obj0
= 0 ;
9648 (char *) "lang", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9652 arg1
= (int) SWIG_AsInt(obj0
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9668 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9672 PyObject
* obj0
= 0 ;
9674 (char *) "lang", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9678 arg1
= (int) SWIG_AsInt(obj0
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= wxLocale::GetLanguageName(arg1
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9700 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxString
*arg1
= 0 ;
9703 wxLanguageInfo
*result
;
9704 bool temp1
= False
;
9705 PyObject
* obj0
= 0 ;
9707 (char *) "locale", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9712 arg1
= wxString_in_helper(obj0
);
9713 if (arg1
== NULL
) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9738 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxLanguageInfo
*arg1
= 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "info", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9751 PyErr_SetString(PyExc_TypeError
,"null reference");
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 Py_INCREF(Py_None
); resultobj
= Py_None
;
9768 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxLocale
*arg1
= (wxLocale
*) 0 ;
9771 wxString
*arg2
= 0 ;
9772 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9773 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9775 bool temp2
= False
;
9776 bool temp3
= False
;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9779 PyObject
* obj2
= 0 ;
9781 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9788 arg2
= wxString_in_helper(obj1
);
9789 if (arg2
== NULL
) SWIG_fail
;
9794 arg3
= wxString_in_helper(obj2
);
9795 if (arg3
== NULL
) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9835 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxLocale
*arg1
= (wxLocale
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9841 (char *) "self", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9851 result
= (wxString
*) &_result_ref
;
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9861 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9870 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9873 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9875 return Py_BuildValue((char *)"");
9877 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (wxLocale
*)wxGetLocale();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9899 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9900 PyObject
*resultobj
;
9901 wxString
*arg1
= 0 ;
9903 bool temp1
= False
;
9904 PyObject
* obj0
= 0 ;
9906 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9908 arg1
= wxString_in_helper(obj0
);
9909 if (arg1
== NULL
) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= wxGetTranslation((wxString
const &)*arg1
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9940 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9941 PyObject
*resultobj
;
9942 wxString
*arg1
= 0 ;
9943 wxString
*arg2
= 0 ;
9946 bool temp1
= False
;
9947 bool temp2
= False
;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9952 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9954 arg1
= wxString_in_helper(obj0
);
9955 if (arg1
== NULL
) SWIG_fail
;
9959 arg2
= wxString_in_helper(obj1
);
9960 if (arg2
== NULL
) SWIG_fail
;
9963 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10001 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10006 argc
= PyObject_Length(args
);
10007 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10008 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10013 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10016 return _wrap_GetTranslation__SWIG_0(self
,args
);
10022 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10026 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10029 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10031 return _wrap_GetTranslation__SWIG_1(self
,args
);
10037 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10042 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxEncodingConverter
*result
;
10045 char *kwnames
[] = {
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10064 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 Py_INCREF(Py_None
); resultobj
= Py_None
;
10089 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10094 int arg4
= (int) wxCONVERT_STRICT
;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 PyObject
* obj2
= 0 ;
10099 PyObject
* obj3
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10107 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10109 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 arg4
= (int) SWIG_AsInt(obj3
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10131 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10134 wxString
*arg2
= 0 ;
10136 bool temp2
= False
;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self",(char *) "input", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 arg2
= wxString_in_helper(obj1
);
10148 if (arg2
== NULL
) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10179 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10182 int arg2
= (int) wxPLATFORM_CURRENT
;
10183 wxFontEncodingArray result
;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "enc",(char *) "platform", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10191 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 arg2
= (int) SWIG_AsInt(obj1
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= PyList_New(0);
10206 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10207 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10208 PyList_Append(resultobj
, number
);
10218 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10221 wxFontEncodingArray result
;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "enc", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10228 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= PyList_New(0);
10239 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10240 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10241 PyList_Append(resultobj
, number
);
10251 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "encIn",(char *) "encOut", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10263 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10265 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10286 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10288 return Py_BuildValue((char *)"");
10290 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxDC
*arg1
= (wxDC
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 Py_INCREF(Py_None
); resultobj
= Py_None
;
10315 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxDC
*arg1
= (wxDC
*) 0 ;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 (arg1
)->BeginDrawing();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 Py_INCREF(Py_None
); resultobj
= Py_None
;
10340 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxDC
*arg1
= (wxDC
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 (arg1
)->EndDrawing();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 Py_INCREF(Py_None
); resultobj
= Py_None
;
10365 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxDC
*arg1
= (wxDC
*) 0 ;
10370 wxColour
*arg4
= 0 ;
10371 int arg5
= (int) wxFLOOD_SURFACE
;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 PyObject
* obj2
= 0 ;
10377 PyObject
* obj3
= 0 ;
10378 PyObject
* obj4
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 arg2
= (int) SWIG_AsInt(obj1
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10388 arg3
= (int) SWIG_AsInt(obj2
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10392 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10395 arg5
= (int) SWIG_AsInt(obj4
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10414 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxDC
*arg1
= (wxDC
*) 0 ;
10417 wxPoint
*arg2
= 0 ;
10418 wxColour
*arg3
= 0 ;
10419 int arg4
= (int) wxFLOOD_SURFACE
;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 PyObject
* obj2
= 0 ;
10426 PyObject
* obj3
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10440 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10443 arg4
= (int) SWIG_AsInt(obj3
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10462 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxDC
*arg1
= (wxDC
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 PyObject
* obj1
= 0 ;
10470 PyObject
* obj2
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self",(char *) "x",(char *) "y", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10478 arg2
= (int) SWIG_AsInt(obj1
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10480 arg3
= (int) SWIG_AsInt(obj2
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10490 wxColour
* resultptr
;
10491 resultptr
= new wxColour((wxColour
&) result
);
10492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10500 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxDC
*arg1
= (wxDC
*) 0 ;
10503 wxPoint
*arg2
= 0 ;
10506 PyObject
* obj0
= 0 ;
10507 PyObject
* obj1
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self",(char *) "pt", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10527 wxColour
* resultptr
;
10528 resultptr
= new wxColour((wxColour
&) result
);
10529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10537 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxDC
*arg1
= (wxDC
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 PyObject
* obj3
= 0 ;
10548 PyObject
* obj4
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 arg2
= (int) SWIG_AsInt(obj1
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10558 arg3
= (int) SWIG_AsInt(obj2
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10560 arg4
= (int) SWIG_AsInt(obj3
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10562 arg5
= (int) SWIG_AsInt(obj4
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxDC
*arg1
= (wxDC
*) 0 ;
10581 wxPoint
*arg2
= 0 ;
10582 wxPoint
*arg3
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 PyObject
* obj2
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10601 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 Py_INCREF(Py_None
); resultobj
= Py_None
;
10617 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxDC
*arg1
= (wxDC
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 PyObject
* obj2
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self",(char *) "x",(char *) "y", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 arg2
= (int) SWIG_AsInt(obj1
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10634 arg3
= (int) SWIG_AsInt(obj2
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 (arg1
)->CrossHair(arg2
,arg3
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 Py_INCREF(Py_None
); resultobj
= Py_None
;
10650 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxDC
*arg1
= (wxDC
*) 0 ;
10653 wxPoint
*arg2
= 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self",(char *) "pt", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 Py_INCREF(Py_None
); resultobj
= Py_None
;
10682 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxDC
*arg1
= (wxDC
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 PyObject
* obj3
= 0 ;
10695 PyObject
* obj4
= 0 ;
10696 PyObject
* obj5
= 0 ;
10697 PyObject
* obj6
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10705 arg2
= (int) SWIG_AsInt(obj1
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10707 arg3
= (int) SWIG_AsInt(obj2
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10709 arg4
= (int) SWIG_AsInt(obj3
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10711 arg5
= (int) SWIG_AsInt(obj4
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10713 arg6
= (int) SWIG_AsInt(obj5
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10715 arg7
= (int) SWIG_AsInt(obj6
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 Py_INCREF(Py_None
); resultobj
= Py_None
;
10731 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxDC
*arg1
= (wxDC
*) 0 ;
10734 wxPoint
*arg2
= 0 ;
10735 wxPoint
*arg3
= 0 ;
10736 wxPoint
*arg4
= 0 ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 PyObject
* obj2
= 0 ;
10743 PyObject
* obj3
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10761 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 Py_INCREF(Py_None
); resultobj
= Py_None
;
10777 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxDC
*arg1
= (wxDC
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 PyObject
* obj2
= 0 ;
10787 PyObject
* obj3
= 0 ;
10788 PyObject
* obj4
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 arg2
= (int) SWIG_AsInt(obj1
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10798 arg3
= (int) SWIG_AsInt(obj2
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10800 arg4
= (int) SWIG_AsInt(obj3
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10802 arg5
= (int) SWIG_AsInt(obj4
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxDC
*arg1
= (wxDC
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self",(char *) "rect", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxDC
*arg1
= (wxDC
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 PyObject
* obj2
= 0 ;
10862 PyObject
* obj3
= 0 ;
10863 PyObject
* obj4
= 0 ;
10864 PyObject
* obj5
= 0 ;
10865 PyObject
* obj6
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10873 arg2
= (int) SWIG_AsInt(obj1
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10875 arg3
= (int) SWIG_AsInt(obj2
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10877 arg4
= (int) SWIG_AsInt(obj3
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10879 arg5
= (int) SWIG_AsInt(obj4
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10881 arg6
= (double) SWIG_AsDouble(obj5
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10883 arg7
= (double) SWIG_AsDouble(obj6
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 Py_INCREF(Py_None
); resultobj
= Py_None
;
10899 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxDC
*arg1
= (wxDC
*) 0 ;
10902 wxPoint
*arg2
= 0 ;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 PyObject
* obj2
= 0 ;
10911 PyObject
* obj3
= 0 ;
10912 PyObject
* obj4
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10922 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10926 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10928 arg4
= (double) SWIG_AsDouble(obj3
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10930 arg5
= (double) SWIG_AsDouble(obj4
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 Py_INCREF(Py_None
); resultobj
= Py_None
;
10946 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxDC
*arg1
= (wxDC
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 PyObject
* obj2
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self",(char *) "x",(char *) "y", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10961 arg2
= (int) SWIG_AsInt(obj1
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10963 arg3
= (int) SWIG_AsInt(obj2
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 (arg1
)->DrawPoint(arg2
,arg3
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 Py_INCREF(Py_None
); resultobj
= Py_None
;
10979 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxDC
*arg1
= (wxDC
*) 0 ;
10982 wxPoint
*arg2
= 0 ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "pt", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 Py_INCREF(Py_None
); resultobj
= Py_None
;
11011 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxDC
*arg1
= (wxDC
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 PyObject
* obj2
= 0 ;
11021 PyObject
* obj3
= 0 ;
11022 PyObject
* obj4
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11030 arg2
= (int) SWIG_AsInt(obj1
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11032 arg3
= (int) SWIG_AsInt(obj2
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11034 arg4
= (int) SWIG_AsInt(obj3
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11036 arg5
= (int) SWIG_AsInt(obj4
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 Py_INCREF(Py_None
); resultobj
= Py_None
;
11052 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxDC
*arg1
= (wxDC
*) 0 ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "rect", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11068 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11077 Py_INCREF(Py_None
); resultobj
= Py_None
;
11084 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxDC
*arg1
= (wxDC
*) 0 ;
11087 wxPoint
*arg2
= 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 PyObject
* obj2
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "pt",(char *) "sz", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11107 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11123 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxDC
*arg1
= (wxDC
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 PyObject
* obj3
= 0 ;
11135 PyObject
* obj4
= 0 ;
11136 PyObject
* obj5
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11144 arg2
= (int) SWIG_AsInt(obj1
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11146 arg3
= (int) SWIG_AsInt(obj2
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11148 arg4
= (int) SWIG_AsInt(obj3
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11150 arg5
= (int) SWIG_AsInt(obj4
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11152 arg6
= (double) SWIG_AsDouble(obj5
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 Py_INCREF(Py_None
); resultobj
= Py_None
;
11168 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxDC
*arg1
= (wxDC
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 PyObject
* obj2
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self",(char *) "r",(char *) "radius", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11188 arg3
= (double) SWIG_AsDouble(obj2
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxDC
*arg1
= (wxDC
*) 0 ;
11207 wxPoint
*arg2
= 0 ;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 PyObject
* obj2
= 0 ;
11215 PyObject
* obj3
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11229 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11231 arg4
= (double) SWIG_AsDouble(obj3
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxDC
*arg1
= (wxDC
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 PyObject
* obj1
= 0 ;
11255 PyObject
* obj2
= 0 ;
11256 PyObject
* obj3
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11264 arg2
= (int) SWIG_AsInt(obj1
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11266 arg3
= (int) SWIG_AsInt(obj2
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11268 arg4
= (int) SWIG_AsInt(obj3
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 Py_INCREF(Py_None
); resultobj
= Py_None
;
11284 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxDC
*arg1
= (wxDC
*) 0 ;
11287 wxPoint
*arg2
= 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 PyObject
* obj2
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self",(char *) "pt",(char *) "radius", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11304 arg3
= (int) SWIG_AsInt(obj2
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 Py_INCREF(Py_None
); resultobj
= Py_None
;
11320 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
;
11322 wxDC
*arg1
= (wxDC
*) 0 ;
11327 PyObject
* obj0
= 0 ;
11328 PyObject
* obj1
= 0 ;
11329 PyObject
* obj2
= 0 ;
11330 PyObject
* obj3
= 0 ;
11331 PyObject
* obj4
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 arg2
= (int) SWIG_AsInt(obj1
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11341 arg3
= (int) SWIG_AsInt(obj2
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11343 arg4
= (int) SWIG_AsInt(obj3
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11345 arg5
= (int) SWIG_AsInt(obj4
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 Py_INCREF(Py_None
); resultobj
= Py_None
;
11361 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxDC
*arg1
= (wxDC
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self",(char *) "rect", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 Py_INCREF(Py_None
); resultobj
= Py_None
;
11393 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxDC
*arg1
= (wxDC
*) 0 ;
11396 wxPoint
*arg2
= 0 ;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 PyObject
* obj2
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self",(char *) "pt",(char *) "sz", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11416 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 Py_INCREF(Py_None
); resultobj
= Py_None
;
11432 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxDC
*arg1
= (wxDC
*) 0 ;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 PyObject
* obj2
= 0 ;
11441 PyObject
* obj3
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11452 if (arg2
== NULL
) {
11453 PyErr_SetString(PyExc_TypeError
,"null reference");
11456 arg3
= (int) SWIG_AsInt(obj2
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11458 arg4
= (int) SWIG_AsInt(obj3
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 Py_INCREF(Py_None
); resultobj
= Py_None
;
11474 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
;
11476 wxDC
*arg1
= (wxDC
*) 0 ;
11478 wxPoint
*arg3
= 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self",(char *) "icon",(char *) "pt", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11493 if (arg2
== NULL
) {
11494 PyErr_SetString(PyExc_TypeError
,"null reference");
11499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11515 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 wxDC
*arg1
= (wxDC
*) 0 ;
11518 wxBitmap
*arg2
= 0 ;
11521 bool arg5
= (bool) False
;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11524 PyObject
* obj2
= 0 ;
11525 PyObject
* obj3
= 0 ;
11526 PyObject
* obj4
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11537 if (arg2
== NULL
) {
11538 PyErr_SetString(PyExc_TypeError
,"null reference");
11541 arg3
= (int) SWIG_AsInt(obj2
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11543 arg4
= (int) SWIG_AsInt(obj3
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 arg5
= (bool) SWIG_AsBool(obj4
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 Py_INCREF(Py_None
); resultobj
= Py_None
;
11563 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
;
11565 wxDC
*arg1
= (wxDC
*) 0 ;
11566 wxBitmap
*arg2
= 0 ;
11567 wxPoint
*arg3
= 0 ;
11568 bool arg4
= (bool) False
;
11570 PyObject
* obj0
= 0 ;
11571 PyObject
* obj1
= 0 ;
11572 PyObject
* obj2
= 0 ;
11573 PyObject
* obj3
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11584 if (arg2
== NULL
) {
11585 PyErr_SetString(PyExc_TypeError
,"null reference");
11590 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11593 arg4
= (bool) SWIG_AsBool(obj3
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 Py_INCREF(Py_None
); resultobj
= Py_None
;
11610 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxDC
*arg1
= (wxDC
*) 0 ;
11613 wxString
*arg2
= 0 ;
11616 bool temp2
= False
;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 PyObject
* obj2
= 0 ;
11620 PyObject
* obj3
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11629 arg2
= wxString_in_helper(obj1
);
11630 if (arg2
== NULL
) SWIG_fail
;
11633 arg3
= (int) SWIG_AsInt(obj2
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11635 arg4
= (int) SWIG_AsInt(obj3
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 Py_INCREF(Py_None
); resultobj
= Py_None
;
11659 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxDC
*arg1
= (wxDC
*) 0 ;
11662 wxString
*arg2
= 0 ;
11663 wxPoint
*arg3
= 0 ;
11664 bool temp2
= False
;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 PyObject
* obj2
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self",(char *) "text",(char *) "pt", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11677 arg2
= wxString_in_helper(obj1
);
11678 if (arg2
== NULL
) SWIG_fail
;
11683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 Py_INCREF(Py_None
); resultobj
= Py_None
;
11707 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxDC
*arg1
= (wxDC
*) 0 ;
11710 wxString
*arg2
= 0 ;
11714 bool temp2
= False
;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 PyObject
* obj3
= 0 ;
11719 PyObject
* obj4
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11728 arg2
= wxString_in_helper(obj1
);
11729 if (arg2
== NULL
) SWIG_fail
;
11732 arg3
= (int) SWIG_AsInt(obj2
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11734 arg4
= (int) SWIG_AsInt(obj3
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11736 arg5
= (double) SWIG_AsDouble(obj4
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 Py_INCREF(Py_None
); resultobj
= Py_None
;
11760 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxDC
*arg1
= (wxDC
*) 0 ;
11763 wxString
*arg2
= 0 ;
11764 wxPoint
*arg3
= 0 ;
11766 bool temp2
= False
;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 PyObject
* obj2
= 0 ;
11771 PyObject
* obj3
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11780 arg2
= wxString_in_helper(obj1
);
11781 if (arg2
== NULL
) SWIG_fail
;
11786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11788 arg4
= (double) SWIG_AsDouble(obj3
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 Py_INCREF(Py_None
); resultobj
= Py_None
;
11812 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxDC
*arg1
= (wxDC
*) 0 ;
11819 wxDC
*arg6
= (wxDC
*) 0 ;
11822 int arg9
= (int) wxCOPY
;
11823 bool arg10
= (bool) False
;
11824 int arg11
= (int) -1 ;
11825 int arg12
= (int) -1 ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 PyObject
* obj2
= 0 ;
11830 PyObject
* obj3
= 0 ;
11831 PyObject
* obj4
= 0 ;
11832 PyObject
* obj5
= 0 ;
11833 PyObject
* obj6
= 0 ;
11834 PyObject
* obj7
= 0 ;
11835 PyObject
* obj8
= 0 ;
11836 PyObject
* obj9
= 0 ;
11837 PyObject
* obj10
= 0 ;
11838 PyObject
* obj11
= 0 ;
11839 char *kwnames
[] = {
11840 (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
11843 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
;
11844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11846 arg2
= (int) SWIG_AsInt(obj1
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11848 arg3
= (int) SWIG_AsInt(obj2
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11850 arg4
= (int) SWIG_AsInt(obj3
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11852 arg5
= (int) SWIG_AsInt(obj4
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11854 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11856 arg7
= (int) SWIG_AsInt(obj6
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11858 arg8
= (int) SWIG_AsInt(obj7
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 arg9
= (int) SWIG_AsInt(obj8
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 arg10
= (bool) SWIG_AsBool(obj9
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11869 arg11
= (int) SWIG_AsInt(obj10
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 arg12
= (int) SWIG_AsInt(obj11
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11892 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxDC
*arg1
= (wxDC
*) 0 ;
11895 wxPoint
*arg2
= 0 ;
11897 wxDC
*arg4
= (wxDC
*) 0 ;
11898 wxPoint
*arg5
= 0 ;
11899 int arg6
= (int) wxCOPY
;
11900 bool arg7
= (bool) False
;
11901 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11902 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11908 PyObject
* obj0
= 0 ;
11909 PyObject
* obj1
= 0 ;
11910 PyObject
* obj2
= 0 ;
11911 PyObject
* obj3
= 0 ;
11912 PyObject
* obj4
= 0 ;
11913 PyObject
* obj5
= 0 ;
11914 PyObject
* obj6
= 0 ;
11915 PyObject
* obj7
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11929 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11931 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11935 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11938 arg6
= (int) SWIG_AsInt(obj5
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 arg7
= (bool) SWIG_AsBool(obj6
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11948 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11967 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxDC
*arg1
= (wxDC
*) 0 ;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 PyObject
* obj2
= 0 ;
11977 PyObject
* obj3
= 0 ;
11978 PyObject
* obj4
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11986 arg2
= (int) SWIG_AsInt(obj1
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11988 arg3
= (int) SWIG_AsInt(obj2
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11990 arg4
= (int) SWIG_AsInt(obj3
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11992 arg5
= (int) SWIG_AsInt(obj4
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 Py_INCREF(Py_None
); resultobj
= Py_None
;
12008 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxDC
*arg1
= (wxDC
*) 0 ;
12011 wxPoint
*arg2
= 0 ;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 PyObject
* obj2
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self",(char *) "pt",(char *) "sz", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12031 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 Py_INCREF(Py_None
); resultobj
= Py_None
;
12047 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxDC
*arg1
= (wxDC
*) 0 ;
12050 wxRegion
*arg2
= 0 ;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self",(char *) "region", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12063 if (arg2
== NULL
) {
12064 PyErr_SetString(PyExc_TypeError
,"null reference");
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 Py_INCREF(Py_None
); resultobj
= Py_None
;
12081 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxDC
*arg1
= (wxDC
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 PyObject
* obj1
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self",(char *) "rect", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12097 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 Py_INCREF(Py_None
); resultobj
= Py_None
;
12113 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxDC
*arg1
= (wxDC
*) 0 ;
12117 wxPoint
*arg3
= (wxPoint
*) 0 ;
12118 int arg4
= (int) 0 ;
12119 int arg5
= (int) 0 ;
12120 PyObject
* obj0
= 0 ;
12121 PyObject
* obj1
= 0 ;
12122 PyObject
* obj2
= 0 ;
12123 PyObject
* obj3
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12133 if (arg3
== NULL
) SWIG_fail
;
12136 arg4
= (int) SWIG_AsInt(obj2
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 arg5
= (int) SWIG_AsInt(obj3
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 Py_INCREF(Py_None
); resultobj
= Py_None
;
12152 if (arg3
) delete [] arg3
;
12157 if (arg3
) delete [] arg3
;
12163 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxDC
*arg1
= (wxDC
*) 0 ;
12167 wxPoint
*arg3
= (wxPoint
*) 0 ;
12168 int arg4
= (int) 0 ;
12169 int arg5
= (int) 0 ;
12170 int arg6
= (int) wxODDEVEN_RULE
;
12171 PyObject
* obj0
= 0 ;
12172 PyObject
* obj1
= 0 ;
12173 PyObject
* obj2
= 0 ;
12174 PyObject
* obj3
= 0 ;
12175 PyObject
* obj4
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12185 if (arg3
== NULL
) SWIG_fail
;
12188 arg4
= (int) SWIG_AsInt(obj2
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 arg5
= (int) SWIG_AsInt(obj3
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12196 arg6
= (int) SWIG_AsInt(obj4
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 Py_INCREF(Py_None
); resultobj
= Py_None
;
12208 if (arg3
) delete [] arg3
;
12213 if (arg3
) delete [] arg3
;
12219 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxDC
*arg1
= (wxDC
*) 0 ;
12222 wxString
*arg2
= 0 ;
12224 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12225 int arg5
= (int) -1 ;
12226 bool temp2
= False
;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 PyObject
* obj2
= 0 ;
12231 PyObject
* obj3
= 0 ;
12232 PyObject
* obj4
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12241 arg2
= wxString_in_helper(obj1
);
12242 if (arg2
== NULL
) SWIG_fail
;
12247 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12250 arg4
= (int) SWIG_AsInt(obj3
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 arg5
= (int) SWIG_AsInt(obj4
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxDC
*arg1
= (wxDC
*) 0 ;
12282 wxString
*arg2
= 0 ;
12283 wxBitmap
*arg3
= 0 ;
12285 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12286 int arg6
= (int) -1 ;
12288 bool temp2
= False
;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 PyObject
* obj2
= 0 ;
12293 PyObject
* obj3
= 0 ;
12294 PyObject
* obj4
= 0 ;
12295 PyObject
* obj5
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12304 arg2
= wxString_in_helper(obj1
);
12305 if (arg2
== NULL
) SWIG_fail
;
12308 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12311 if (arg3
== NULL
) {
12312 PyErr_SetString(PyExc_TypeError
,"null reference");
12317 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12320 arg5
= (int) SWIG_AsInt(obj4
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 arg6
= (int) SWIG_AsInt(obj5
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12335 wxRect
* resultptr
;
12336 resultptr
= new wxRect((wxRect
&) result
);
12337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12353 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxDC
*arg1
= (wxDC
*) 0 ;
12357 wxPoint
*arg3
= (wxPoint
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self",(char *) "points", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12369 if (arg3
== NULL
) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 (arg1
)->DrawSpline(arg2
,arg3
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 Py_INCREF(Py_None
); resultobj
= Py_None
;
12380 if (arg3
) delete [] arg3
;
12385 if (arg3
) delete [] arg3
;
12391 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxDC
*arg1
= (wxDC
*) 0 ;
12394 PyObject
* obj0
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 Py_INCREF(Py_None
); resultobj
= Py_None
;
12416 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxDC
*arg1
= (wxDC
*) 0 ;
12419 wxString
*arg2
= 0 ;
12421 bool temp2
= False
;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self",(char *) "message", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12432 arg2
= wxString_in_helper(obj1
);
12433 if (arg2
== NULL
) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12460 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxDC
*arg1
= (wxDC
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 Py_INCREF(Py_None
); resultobj
= Py_None
;
12485 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxDC
*arg1
= (wxDC
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->StartPage();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxDC
*arg1
= (wxDC
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12535 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxDC
*arg1
= (wxDC
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 PyObject
* obj1
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self",(char *) "font", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12551 if (arg2
== NULL
) {
12552 PyErr_SetString(PyExc_TypeError
,"null reference");
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->SetFont((wxFont
const &)*arg2
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxDC
*arg1
= (wxDC
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "pen", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12585 if (arg2
== NULL
) {
12586 PyErr_SetString(PyExc_TypeError
,"null reference");
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetPen((wxPen
const &)*arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 Py_INCREF(Py_None
); resultobj
= Py_None
;
12603 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxDC
*arg1
= (wxDC
*) 0 ;
12606 wxBrush
*arg2
= 0 ;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self",(char *) "brush", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12619 if (arg2
== NULL
) {
12620 PyErr_SetString(PyExc_TypeError
,"null reference");
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxDC
*arg1
= (wxDC
*) 0 ;
12640 wxBrush
*arg2
= 0 ;
12641 PyObject
* obj0
= 0 ;
12642 PyObject
* obj1
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self",(char *) "brush", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12653 if (arg2
== NULL
) {
12654 PyErr_SetString(PyExc_TypeError
,"null reference");
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 Py_INCREF(Py_None
); resultobj
= Py_None
;
12671 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxDC
*arg1
= (wxDC
*) 0 ;
12675 PyObject
* obj0
= 0 ;
12676 PyObject
* obj1
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self",(char *) "mode", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 arg2
= (int) SWIG_AsInt(obj1
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->SetBackgroundMode(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxDC
*arg1
= (wxDC
*) 0 ;
12703 wxPalette
*arg2
= 0 ;
12704 PyObject
* obj0
= 0 ;
12705 PyObject
* obj1
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self",(char *) "palette", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12716 if (arg2
== NULL
) {
12717 PyErr_SetString(PyExc_TypeError
,"null reference");
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxDC
*arg1
= (wxDC
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->DestroyClippingRegion();
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 Py_INCREF(Py_None
); resultobj
= Py_None
;
12759 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxDC
*arg1
= (wxDC
*) 0 ;
12762 int *arg2
= (int *) 0 ;
12763 int *arg3
= (int *) 0 ;
12764 int *arg4
= (int *) 0 ;
12765 int *arg5
= (int *) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 char *kwnames
[] = {
12772 (char *) "self", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 Py_INCREF(Py_None
); resultobj
= Py_None
;
12791 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12792 resultobj
= t_output_helper(resultobj
,o
);
12795 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12796 resultobj
= t_output_helper(resultobj
,o
);
12799 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12800 resultobj
= t_output_helper(resultobj
,o
);
12803 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12804 resultobj
= t_output_helper(resultobj
,o
);
12812 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxDC
*arg1
= (wxDC
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= wxDC_GetClippingRect(arg1
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12832 wxRect
* resultptr
;
12833 resultptr
= new wxRect((wxRect
&) result
);
12834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12842 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxDC
*arg1
= (wxDC
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_FromInt((int)result
);
12868 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxDC
*arg1
= (wxDC
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_FromInt((int)result
);
12894 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxDC
*arg1
= (wxDC
*) 0 ;
12897 wxString
*arg2
= 0 ;
12898 int *arg3
= (int *) 0 ;
12899 int *arg4
= (int *) 0 ;
12900 bool temp2
= False
;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self",(char *) "string", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12915 arg2
= wxString_in_helper(obj1
);
12916 if (arg2
== NULL
) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 Py_INCREF(Py_None
); resultobj
= Py_None
;
12928 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12929 resultobj
= t_output_helper(resultobj
,o
);
12932 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12933 resultobj
= t_output_helper(resultobj
,o
);
12949 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxDC
*arg1
= (wxDC
*) 0 ;
12952 wxString
*arg2
= 0 ;
12953 int *arg3
= (int *) 0 ;
12954 int *arg4
= (int *) 0 ;
12955 int *arg5
= (int *) 0 ;
12956 int *arg6
= (int *) 0 ;
12957 wxFont
*arg7
= (wxFont
*) NULL
;
12958 bool temp2
= False
;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self",(char *) "string",(char *) "font", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12978 arg2
= wxString_in_helper(obj1
);
12979 if (arg2
== NULL
) SWIG_fail
;
12983 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 Py_INCREF(Py_None
); resultobj
= Py_None
;
12995 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12996 resultobj
= t_output_helper(resultobj
,o
);
12999 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13000 resultobj
= t_output_helper(resultobj
,o
);
13003 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13004 resultobj
= t_output_helper(resultobj
,o
);
13007 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13008 resultobj
= t_output_helper(resultobj
,o
);
13024 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxDC
*arg1
= (wxDC
*) 0 ;
13027 wxString
*arg2
= 0 ;
13028 int *arg3
= (int *) 0 ;
13029 int *arg4
= (int *) 0 ;
13030 int *arg5
= (int *) 0 ;
13031 wxFont
*arg6
= (wxFont
*) NULL
;
13032 bool temp2
= False
;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 PyObject
* obj2
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self",(char *) "text",(char *) "font", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13050 arg2
= wxString_in_helper(obj1
);
13051 if (arg2
== NULL
) SWIG_fail
;
13055 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 Py_INCREF(Py_None
); resultobj
= Py_None
;
13067 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13068 resultobj
= t_output_helper(resultobj
,o
);
13071 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13072 resultobj
= t_output_helper(resultobj
,o
);
13075 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13076 resultobj
= t_output_helper(resultobj
,o
);
13092 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
;
13094 wxDC
*arg1
= (wxDC
*) 0 ;
13095 wxString
*arg2
= 0 ;
13097 bool temp2
= False
;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "self",(char *) "text", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg2
= wxString_in_helper(obj1
);
13109 if (arg2
== NULL
) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= PyList_New(0);
13122 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13123 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13124 PyList_Append(resultobj
, val
);
13142 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxDC
*arg1
= (wxDC
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (arg1
)->GetSize();
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 wxSize
* resultptr
;
13163 resultptr
= new wxSize((wxSize
&) result
);
13164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13172 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxDC
*arg1
= (wxDC
*) 0 ;
13175 int *arg2
= (int *) 0 ;
13176 int *arg3
= (int *) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 (arg1
)->GetSize(arg2
,arg3
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 Py_INCREF(Py_None
); resultobj
= Py_None
;
13198 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13199 resultobj
= t_output_helper(resultobj
,o
);
13202 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13203 resultobj
= t_output_helper(resultobj
,o
);
13211 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxDC
*arg1
= (wxDC
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 wxSize
* resultptr
;
13232 resultptr
= new wxSize((wxSize
&) result
);
13233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13241 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxDC
*arg1
= (wxDC
*) 0 ;
13244 int *arg2
= (int *) 0 ;
13245 int *arg3
= (int *) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 Py_INCREF(Py_None
); resultobj
= Py_None
;
13267 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13268 resultobj
= t_output_helper(resultobj
,o
);
13271 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13272 resultobj
= t_output_helper(resultobj
,o
);
13280 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxDC
*arg1
= (wxDC
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self",(char *) "x", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 arg2
= (int) SWIG_AsInt(obj1
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_FromInt((int)result
);
13310 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxDC
*arg1
= (wxDC
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "y", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13324 arg2
= (int) SWIG_AsInt(obj1
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_FromInt((int)result
);
13340 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
;
13342 wxDC
*arg1
= (wxDC
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self",(char *) "x", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 arg2
= (int) SWIG_AsInt(obj1
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= SWIG_FromInt((int)result
);
13370 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxDC
*arg1
= (wxDC
*) 0 ;
13375 PyObject
* obj0
= 0 ;
13376 PyObject
* obj1
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self",(char *) "y", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13384 arg2
= (int) SWIG_AsInt(obj1
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= SWIG_FromInt((int)result
);
13400 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxDC
*arg1
= (wxDC
*) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self",(char *) "x", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13414 arg2
= (int) SWIG_AsInt(obj1
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_FromInt((int)result
);
13430 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxDC
*arg1
= (wxDC
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "y", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13444 arg2
= (int) SWIG_AsInt(obj1
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_FromInt((int)result
);
13460 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxDC
*arg1
= (wxDC
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 PyObject
* obj1
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "self",(char *) "x", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 arg2
= (int) SWIG_AsInt(obj1
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_FromInt((int)result
);
13490 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxDC
*arg1
= (wxDC
*) 0 ;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self",(char *) "y", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13504 arg2
= (int) SWIG_AsInt(obj1
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_FromInt((int)result
);
13520 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxDC
*arg1
= (wxDC
*) 0 ;
13524 PyObject
* obj0
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13548 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
;
13550 wxDC
*arg1
= (wxDC
*) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13576 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxDC
*arg1
= (wxDC
*) 0 ;
13580 PyObject
* obj0
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= SWIG_FromInt((int)result
);
13602 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxDC
*arg1
= (wxDC
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= ((wxDC
const *)arg1
)->GetPPI();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 wxSize
* resultptr
;
13623 resultptr
= new wxSize((wxSize
&) result
);
13624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13632 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxDC
*arg1
= (wxDC
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 result
= (bool)((wxDC
const *)arg1
)->Ok();
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13660 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxDC
*arg1
= (wxDC
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_FromInt((int)result
);
13686 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxDC
*arg1
= (wxDC
*) 0 ;
13690 PyObject
* obj0
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13702 result
= (wxBrush
*) &_result_ref
;
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 wxBrush
* resultptr
= new wxBrush(*result
);
13710 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13718 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxDC
*arg1
= (wxDC
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13734 result
= (wxBrush
*) &_result_ref
;
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13741 wxBrush
* resultptr
= new wxBrush(*result
);
13742 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13750 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxDC
*arg1
= (wxDC
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13766 result
= (wxFont
*) &_result_ref
;
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13773 wxFont
* resultptr
= new wxFont(*result
);
13774 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13782 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxDC
*arg1
= (wxDC
*) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13798 result
= (wxPen
*) &_result_ref
;
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13805 wxPen
* resultptr
= new wxPen(*result
);
13806 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13814 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxDC
*arg1
= (wxDC
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13830 result
= (wxColour
*) &_result_ref
;
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13843 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxDC
*arg1
= (wxDC
*) 0 ;
13847 PyObject
* obj0
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13859 result
= (wxColour
*) &_result_ref
;
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13872 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxDC
*arg1
= (wxDC
*) 0 ;
13875 wxColour
*arg2
= 0 ;
13877 PyObject
* obj0
= 0 ;
13878 PyObject
* obj1
= 0 ;
13879 char *kwnames
[] = {
13880 (char *) "self",(char *) "colour", NULL
13883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 Py_INCREF(Py_None
); resultobj
= Py_None
;
13904 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxDC
*arg1
= (wxDC
*) 0 ;
13907 wxColour
*arg2
= 0 ;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self",(char *) "colour", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13920 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13929 Py_INCREF(Py_None
); resultobj
= Py_None
;
13936 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxDC
*arg1
= (wxDC
*) 0 ;
13940 PyObject
* obj0
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_FromInt((int)result
);
13962 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxDC
*arg1
= (wxDC
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 PyObject
* obj1
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self",(char *) "mode", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13975 arg2
= (int) SWIG_AsInt(obj1
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 (arg1
)->SetMapMode(arg2
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 Py_INCREF(Py_None
); resultobj
= Py_None
;
13991 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxDC
*arg1
= (wxDC
*) 0 ;
13994 double *arg2
= (double *) 0 ;
13995 double *arg3
= (double *) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 Py_INCREF(Py_None
); resultobj
= Py_None
;
14017 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14018 resultobj
= t_output_helper(resultobj
,o
);
14021 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14022 resultobj
= t_output_helper(resultobj
,o
);
14030 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxDC
*arg1
= (wxDC
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 PyObject
* obj1
= 0 ;
14037 PyObject
* obj2
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self",(char *) "x",(char *) "y", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14045 arg2
= (double) SWIG_AsDouble(obj1
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14047 arg3
= (double) SWIG_AsDouble(obj2
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 (arg1
)->SetUserScale(arg2
,arg3
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 Py_INCREF(Py_None
); resultobj
= Py_None
;
14063 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxDC
*arg1
= (wxDC
*) 0 ;
14066 double *arg2
= (double *) 0 ;
14067 double *arg3
= (double *) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 (arg1
)->GetLogicalScale(arg2
,arg3
);
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14090 resultobj
= t_output_helper(resultobj
,o
);
14093 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14094 resultobj
= t_output_helper(resultobj
,o
);
14102 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
;
14104 wxDC
*arg1
= (wxDC
*) 0 ;
14107 PyObject
* obj0
= 0 ;
14108 PyObject
* obj1
= 0 ;
14109 PyObject
* obj2
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self",(char *) "x",(char *) "y", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14117 arg2
= (double) SWIG_AsDouble(obj1
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14119 arg3
= (double) SWIG_AsDouble(obj2
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 (arg1
)->SetLogicalScale(arg2
,arg3
);
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 Py_INCREF(Py_None
); resultobj
= Py_None
;
14135 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxDC
*arg1
= (wxDC
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14155 wxPoint
* resultptr
;
14156 resultptr
= new wxPoint((wxPoint
&) result
);
14157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14165 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxDC
*arg1
= (wxDC
*) 0 ;
14168 int *arg2
= (int *) 0 ;
14169 int *arg3
= (int *) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 Py_INCREF(Py_None
); resultobj
= Py_None
;
14191 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14192 resultobj
= t_output_helper(resultobj
,o
);
14195 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14196 resultobj
= t_output_helper(resultobj
,o
);
14204 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxDC
*arg1
= (wxDC
*) 0 ;
14209 PyObject
* obj0
= 0 ;
14210 PyObject
* obj1
= 0 ;
14211 PyObject
* obj2
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self",(char *) "x",(char *) "y", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14219 arg2
= (int) SWIG_AsInt(obj1
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14221 arg3
= (int) SWIG_AsInt(obj2
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 Py_INCREF(Py_None
); resultobj
= Py_None
;
14237 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxDC
*arg1
= (wxDC
*) 0 ;
14240 wxPoint
*arg2
= 0 ;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "point", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxDC
*arg1
= (wxDC
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 wxPoint
* resultptr
;
14290 resultptr
= new wxPoint((wxPoint
&) result
);
14291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14299 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxDC
*arg1
= (wxDC
*) 0 ;
14302 int *arg2
= (int *) 0 ;
14303 int *arg3
= (int *) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 Py_INCREF(Py_None
); resultobj
= Py_None
;
14325 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14326 resultobj
= t_output_helper(resultobj
,o
);
14329 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14330 resultobj
= t_output_helper(resultobj
,o
);
14338 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxDC
*arg1
= (wxDC
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 PyObject
* obj1
= 0 ;
14345 PyObject
* obj2
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self",(char *) "x",(char *) "y", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14353 arg2
= (int) SWIG_AsInt(obj1
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14355 arg3
= (int) SWIG_AsInt(obj2
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14364 Py_INCREF(Py_None
); resultobj
= Py_None
;
14371 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxDC
*arg1
= (wxDC
*) 0 ;
14374 wxPoint
*arg2
= 0 ;
14376 PyObject
* obj0
= 0 ;
14377 PyObject
* obj1
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self",(char *) "point", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 Py_INCREF(Py_None
); resultobj
= Py_None
;
14403 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxDC
*arg1
= (wxDC
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 PyObject
* obj2
= 0 ;
14411 char *kwnames
[] = {
14412 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14418 arg2
= (bool) SWIG_AsBool(obj1
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14420 arg3
= (bool) SWIG_AsBool(obj2
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 Py_INCREF(Py_None
); resultobj
= Py_None
;
14436 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxDC
*arg1
= (wxDC
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_FromInt((int)result
);
14462 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxDC
*arg1
= (wxDC
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self",(char *) "function", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 arg2
= (int) SWIG_AsInt(obj1
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 (arg1
)->SetLogicalFunction(arg2
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 Py_INCREF(Py_None
); resultobj
= Py_None
;
14491 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxDC
*arg1
= (wxDC
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 PyObject
* obj1
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "opt", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 arg2
= (bool) SWIG_AsBool(obj1
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 (arg1
)->SetOptimization(arg2
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxDC
*arg1
= (wxDC
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (bool)(arg1
)->GetOptimization();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14548 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxDC
*arg1
= (wxDC
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 PyObject
* obj2
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self",(char *) "x",(char *) "y", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 arg2
= (int) SWIG_AsInt(obj1
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14565 arg3
= (int) SWIG_AsInt(obj2
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 Py_INCREF(Py_None
); resultobj
= Py_None
;
14581 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxDC
*arg1
= (wxDC
*) 0 ;
14584 wxPoint
*arg2
= 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "point", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxDC
*arg1
= (wxDC
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 (arg1
)->ResetBoundingBox();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 Py_INCREF(Py_None
); resultobj
= Py_None
;
14638 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxDC
*arg1
= (wxDC
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (int)((wxDC
const *)arg1
)->MinX();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_FromInt((int)result
);
14664 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxDC
*arg1
= (wxDC
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (int)((wxDC
const *)arg1
)->MaxX();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_FromInt((int)result
);
14690 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxDC
*arg1
= (wxDC
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (int)((wxDC
const *)arg1
)->MinY();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= SWIG_FromInt((int)result
);
14716 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxDC
*arg1
= (wxDC
*) 0 ;
14720 PyObject
* obj0
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "self", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (int)((wxDC
const *)arg1
)->MaxY();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= SWIG_FromInt((int)result
);
14742 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxDC
*arg1
= (wxDC
*) 0 ;
14745 int *arg2
= (int *) 0 ;
14746 int *arg3
= (int *) 0 ;
14747 int *arg4
= (int *) 0 ;
14748 int *arg5
= (int *) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 Py_INCREF(Py_None
); resultobj
= Py_None
;
14774 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14775 resultobj
= t_output_helper(resultobj
,o
);
14778 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14779 resultobj
= t_output_helper(resultobj
,o
);
14782 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14783 resultobj
= t_output_helper(resultobj
,o
);
14786 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14787 resultobj
= t_output_helper(resultobj
,o
);
14795 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxDC
*arg1
= (wxDC
*) 0 ;
14798 PyObject
*arg2
= (PyObject
*) 0 ;
14799 PyObject
*arg3
= (PyObject
*) 0 ;
14800 PyObject
*arg4
= (PyObject
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 PyObject
* obj1
= 0 ;
14804 PyObject
* obj2
= 0 ;
14805 PyObject
* obj3
= 0 ;
14806 char *kwnames
[] = {
14807 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= result
;
14830 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxDC
*arg1
= (wxDC
*) 0 ;
14833 PyObject
*arg2
= (PyObject
*) 0 ;
14834 PyObject
*arg3
= (PyObject
*) 0 ;
14835 PyObject
*arg4
= (PyObject
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 PyObject
* obj2
= 0 ;
14840 PyObject
* obj3
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= result
;
14865 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
;
14867 wxDC
*arg1
= (wxDC
*) 0 ;
14868 PyObject
*arg2
= (PyObject
*) 0 ;
14869 PyObject
*arg3
= (PyObject
*) 0 ;
14870 PyObject
*arg4
= (PyObject
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 PyObject
* obj2
= 0 ;
14875 PyObject
* obj3
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= result
;
14900 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxDC
*arg1
= (wxDC
*) 0 ;
14903 PyObject
*arg2
= (PyObject
*) 0 ;
14904 PyObject
*arg3
= (PyObject
*) 0 ;
14905 PyObject
*arg4
= (PyObject
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 PyObject
* obj2
= 0 ;
14910 PyObject
* obj3
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= result
;
14935 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxDC
*arg1
= (wxDC
*) 0 ;
14938 PyObject
*arg2
= (PyObject
*) 0 ;
14939 PyObject
*arg3
= (PyObject
*) 0 ;
14940 PyObject
*arg4
= (PyObject
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 PyObject
* obj2
= 0 ;
14945 PyObject
* obj3
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= result
;
14970 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxDC
*arg1
= (wxDC
*) 0 ;
14973 PyObject
*arg2
= (PyObject
*) 0 ;
14974 PyObject
*arg3
= (PyObject
*) 0 ;
14975 PyObject
*arg4
= (PyObject
*) 0 ;
14976 PyObject
*arg5
= (PyObject
*) 0 ;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 PyObject
* obj2
= 0 ;
14981 PyObject
* obj3
= 0 ;
14982 PyObject
* obj4
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= result
;
15008 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15011 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15013 return Py_BuildValue((char *)"");
15015 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxMemoryDC
*result
;
15018 char *kwnames
[] = {
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15024 if (!wxPyCheckForApp()) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (wxMemoryDC
*)new wxMemoryDC();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15038 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxDC
*arg1
= (wxDC
*) 0 ;
15041 wxMemoryDC
*result
;
15042 PyObject
* obj0
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "oldDC", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 if (!wxPyCheckForApp()) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15065 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15068 wxBitmap
*arg2
= 0 ;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self",(char *) "bitmap", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15081 if (arg2
== NULL
) {
15082 PyErr_SetString(PyExc_TypeError
,"null reference");
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15102 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15104 return Py_BuildValue((char *)"");
15106 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15107 PyObject
*resultobj
;
15108 wxDC
*arg1
= (wxDC
*) 0 ;
15109 wxBitmap
*arg2
= 0 ;
15110 wxBufferedDC
*result
;
15111 PyObject
* obj0
= 0 ;
15112 PyObject
* obj1
= 0 ;
15114 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15120 if (arg2
== NULL
) {
15121 PyErr_SetString(PyExc_TypeError
,"null reference");
15125 if (!wxPyCheckForApp()) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15139 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15140 PyObject
*resultobj
;
15141 wxDC
*arg1
= (wxDC
*) 0 ;
15143 wxBufferedDC
*result
;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15148 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15156 if (!wxPyCheckForApp()) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15170 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15175 argc
= PyObject_Length(args
);
15176 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15177 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15183 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15193 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15201 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15209 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15218 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15221 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15226 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15231 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15232 PyObject
*resultobj
;
15233 wxDC
*arg1
= (wxDC
*) 0 ;
15235 wxBufferedDC
*result
;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15240 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15245 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15248 if (!wxPyCheckForApp()) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15262 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 Py_INCREF(Py_None
); resultobj
= Py_None
;
15287 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15289 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self", NULL
15295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15315 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15317 return Py_BuildValue((char *)"");
15319 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxWindow
*arg1
= (wxWindow
*) 0 ;
15322 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15323 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15324 wxBufferedPaintDC
*result
;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "window",(char *) "buffer", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15338 if (arg2
== NULL
) {
15339 PyErr_SetString(PyExc_TypeError
,"null reference");
15344 if (!wxPyCheckForApp()) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15358 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15361 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15363 return Py_BuildValue((char *)"");
15365 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxScreenDC
*result
;
15368 char *kwnames
[] = {
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15374 if (!wxPyCheckForApp()) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (wxScreenDC
*)new wxScreenDC();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15388 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15391 wxWindow
*arg2
= (wxWindow
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 PyObject
* obj1
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self",(char *) "window", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15420 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15423 wxRect
*arg2
= (wxRect
*) NULL
;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self",(char *) "rect", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15454 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15458 PyObject
* obj0
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "self", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (bool)(arg1
)->EndDrawingOnTop();
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15482 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15485 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15487 return Py_BuildValue((char *)"");
15489 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxWindow
*arg1
= (wxWindow
*) 0 ;
15492 wxClientDC
*result
;
15493 PyObject
* obj0
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "win", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15502 if (!wxPyCheckForApp()) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (wxClientDC
*)new wxClientDC(arg1
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15516 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15519 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15521 return Py_BuildValue((char *)"");
15523 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxWindow
*arg1
= (wxWindow
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "win", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15536 if (!wxPyCheckForApp()) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15550 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15553 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15555 return Py_BuildValue((char *)"");
15557 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxWindow
*arg1
= (wxWindow
*) 0 ;
15560 wxWindowDC
*result
;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "win", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 if (!wxPyCheckForApp()) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15584 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15587 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15589 return Py_BuildValue((char *)"");
15591 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15595 wxMirrorDC
*result
;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 char *kwnames
[] = {
15599 (char *) "dc",(char *) "mirror", NULL
15602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15606 if (arg1
== NULL
) {
15607 PyErr_SetString(PyExc_TypeError
,"null reference");
15610 arg2
= (bool) SWIG_AsBool(obj1
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 if (!wxPyCheckForApp()) SWIG_fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15627 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15630 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15632 return Py_BuildValue((char *)"");
15634 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxPrintData
*arg1
= 0 ;
15637 wxPostScriptDC
*result
;
15638 PyObject
* obj0
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "printData", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15647 if (arg1
== NULL
) {
15648 PyErr_SetString(PyExc_TypeError
,"null reference");
15652 if (!wxPyCheckForApp()) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15666 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15669 wxPrintData
*result
;
15670 PyObject
* obj0
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15682 result
= (wxPrintData
*) &_result_ref
;
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15695 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15698 wxPrintData
*arg2
= 0 ;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "self",(char *) "data", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15711 if (arg2
== NULL
) {
15712 PyErr_SetString(PyExc_TypeError
,"null reference");
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 Py_INCREF(Py_None
); resultobj
= Py_None
;
15729 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "ppi", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15738 arg1
= (int) SWIG_AsInt(obj0
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 wxPostScriptDC::SetResolution(arg1
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 Py_INCREF(Py_None
); resultobj
= Py_None
;
15754 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15757 char *kwnames
[] = {
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (int)wxPostScriptDC::GetResolution();
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= SWIG_FromInt((int)result
);
15776 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15779 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15781 return Py_BuildValue((char *)"");
15783 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15786 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15787 wxMetaFile
*result
;
15788 bool temp1
= False
;
15789 PyObject
* obj0
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "filename", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15797 arg1
= wxString_in_helper(obj0
);
15798 if (arg1
== NULL
) SWIG_fail
;
15803 if (!wxPyCheckForApp()) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15825 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 Py_INCREF(Py_None
); resultobj
= Py_None
;
15850 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (bool)(arg1
)->Ok();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15878 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
;
15880 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15881 int arg2
= (int) 0 ;
15882 int arg3
= (int) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 PyObject
* obj2
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self",(char *) "width",(char *) "height", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15895 arg2
= (int) SWIG_AsInt(obj1
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 arg3
= (int) SWIG_AsInt(obj2
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15918 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (arg1
)->GetSize();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15938 wxSize
* resultptr
;
15939 resultptr
= new wxSize((wxSize
&) result
);
15940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15948 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (int)(arg1
)->GetWidth();
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= SWIG_FromInt((int)result
);
15974 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 result
= (int)(arg1
)->GetHeight();
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= SWIG_FromInt((int)result
);
16000 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16003 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16005 return Py_BuildValue((char *)"");
16007 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16010 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16011 int arg2
= (int) 0 ;
16012 int arg3
= (int) 0 ;
16013 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16014 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16015 wxMetaFileDC
*result
;
16016 bool temp1
= False
;
16017 bool temp4
= False
;
16018 PyObject
* obj0
= 0 ;
16019 PyObject
* obj1
= 0 ;
16020 PyObject
* obj2
= 0 ;
16021 PyObject
* obj3
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16029 arg1
= wxString_in_helper(obj0
);
16030 if (arg1
== NULL
) SWIG_fail
;
16035 arg2
= (int) SWIG_AsInt(obj1
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16039 arg3
= (int) SWIG_AsInt(obj2
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16044 arg4
= wxString_in_helper(obj3
);
16045 if (arg4
== NULL
) SWIG_fail
;
16050 if (!wxPyCheckForApp()) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16080 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16083 wxMetaFile
*result
;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (wxMetaFile
*)(arg1
)->Close();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16106 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16109 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16111 return Py_BuildValue((char *)"");
16113 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxPrintData
*arg1
= 0 ;
16116 wxPrinterDC
*result
;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "printData", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16126 if (arg1
== NULL
) {
16127 PyErr_SetString(PyExc_TypeError
,"null reference");
16131 if (!wxPyCheckForApp()) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16145 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16148 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16150 return Py_BuildValue((char *)"");
16152 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16156 int arg3
= (int) True
;
16157 int arg4
= (int) 1 ;
16158 wxImageList
*result
;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 PyObject
* obj2
= 0 ;
16162 PyObject
* obj3
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16168 arg1
= (int) SWIG_AsInt(obj0
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16170 arg2
= (int) SWIG_AsInt(obj1
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 arg3
= (int) SWIG_AsInt(obj2
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 arg4
= (int) SWIG_AsInt(obj3
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16181 if (!wxPyCheckForApp()) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= wxPyMake_wxObject(result
, 1);
16197 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxImageList
*arg1
= (wxImageList
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 Py_INCREF(Py_None
); resultobj
= Py_None
;
16222 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxImageList
*arg1
= (wxImageList
*) 0 ;
16225 wxBitmap
*arg2
= 0 ;
16226 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16227 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 PyObject
* obj2
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16242 if (arg2
== NULL
) {
16243 PyErr_SetString(PyExc_TypeError
,"null reference");
16247 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16250 if (arg3
== NULL
) {
16251 PyErr_SetString(PyExc_TypeError
,"null reference");
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= SWIG_FromInt((int)result
);
16269 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxImageList
*arg1
= (wxImageList
*) 0 ;
16272 wxBitmap
*arg2
= 0 ;
16273 wxColour
*arg3
= 0 ;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 PyObject
* obj2
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16289 if (arg2
== NULL
) {
16290 PyErr_SetString(PyExc_TypeError
,"null reference");
16295 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= SWIG_FromInt((int)result
);
16311 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxImageList
*arg1
= (wxImageList
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "icon", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16328 if (arg2
== NULL
) {
16329 PyErr_SetString(PyExc_TypeError
,"null reference");
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= SWIG_FromInt((int)result
);
16346 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxImageList
*arg1
= (wxImageList
*) 0 ;
16350 wxBitmap
*arg3
= 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 PyObject
* obj2
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 arg2
= (int) SWIG_AsInt(obj1
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16364 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16367 if (arg3
== NULL
) {
16368 PyErr_SetString(PyExc_TypeError
,"null reference");
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16387 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxImageList
*arg1
= (wxImageList
*) 0 ;
16394 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16395 bool arg7
= (bool) (bool)False
;
16397 PyObject
* obj0
= 0 ;
16398 PyObject
* obj1
= 0 ;
16399 PyObject
* obj2
= 0 ;
16400 PyObject
* obj3
= 0 ;
16401 PyObject
* obj4
= 0 ;
16402 PyObject
* obj5
= 0 ;
16403 PyObject
* obj6
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16411 arg2
= (int) SWIG_AsInt(obj1
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16413 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16416 if (arg3
== NULL
) {
16417 PyErr_SetString(PyExc_TypeError
,"null reference");
16420 arg4
= (int) SWIG_AsInt(obj3
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16422 arg5
= (int) SWIG_AsInt(obj4
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 arg6
= (int) SWIG_AsInt(obj5
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16429 arg7
= (bool const) SWIG_AsBool(obj6
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16448 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxImageList
*arg1
= (wxImageList
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (int)(arg1
)->GetImageCount();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= SWIG_FromInt((int)result
);
16474 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxImageList
*arg1
= (wxImageList
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self",(char *) "index", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 arg2
= (int) SWIG_AsInt(obj1
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (bool)(arg1
)->Remove(arg2
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16506 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxImageList
*arg1
= (wxImageList
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)(arg1
)->RemoveAll();
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16534 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 wxImageList
*arg1
= (wxImageList
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "index", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16553 arg2
= (int) SWIG_AsInt(obj1
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 Py_INCREF(Py_None
); resultobj
= Py_None
;
16564 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16565 resultobj
= t_output_helper(resultobj
,o
);
16568 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16569 resultobj
= t_output_helper(resultobj
,o
);
16577 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16580 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16582 return Py_BuildValue((char *)"");
16584 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16585 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16590 static PyObject
*_wrap_NORMAL_FONT_get() {
16593 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16598 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16599 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16604 static PyObject
*_wrap_SMALL_FONT_get() {
16607 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16612 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16613 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16618 static PyObject
*_wrap_ITALIC_FONT_get() {
16621 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16626 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16627 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16632 static PyObject
*_wrap_SWISS_FONT_get() {
16635 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16640 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16641 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16646 static PyObject
*_wrap_RED_PEN_get() {
16649 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16654 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16655 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16660 static PyObject
*_wrap_CYAN_PEN_get() {
16663 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16668 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16669 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16674 static PyObject
*_wrap_GREEN_PEN_get() {
16677 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16682 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16683 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16688 static PyObject
*_wrap_BLACK_PEN_get() {
16691 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16696 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16697 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16702 static PyObject
*_wrap_WHITE_PEN_get() {
16705 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16710 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16711 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16716 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16719 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16724 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16725 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16730 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16733 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16738 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16739 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16744 static PyObject
*_wrap_GREY_PEN_get() {
16747 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16752 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16753 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16758 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16761 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16766 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16767 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16772 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16775 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16780 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16781 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16786 static PyObject
*_wrap_BLUE_BRUSH_get() {
16789 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16794 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16795 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16800 static PyObject
*_wrap_GREEN_BRUSH_get() {
16803 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16808 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16809 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16814 static PyObject
*_wrap_WHITE_BRUSH_get() {
16817 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16822 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16823 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16828 static PyObject
*_wrap_BLACK_BRUSH_get() {
16831 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16836 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16837 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16842 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16845 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16850 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16851 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16856 static PyObject
*_wrap_CYAN_BRUSH_get() {
16859 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16864 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16865 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16870 static PyObject
*_wrap_RED_BRUSH_get() {
16873 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16878 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16879 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16884 static PyObject
*_wrap_GREY_BRUSH_get() {
16887 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16892 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16893 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16898 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16901 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16906 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16907 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16912 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16915 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16920 static int _wrap_BLACK_set(PyObject
*_val
) {
16921 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16926 static PyObject
*_wrap_BLACK_get() {
16929 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16934 static int _wrap_WHITE_set(PyObject
*_val
) {
16935 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16940 static PyObject
*_wrap_WHITE_get() {
16943 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16948 static int _wrap_RED_set(PyObject
*_val
) {
16949 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16954 static PyObject
*_wrap_RED_get() {
16957 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16962 static int _wrap_BLUE_set(PyObject
*_val
) {
16963 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16968 static PyObject
*_wrap_BLUE_get() {
16971 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16976 static int _wrap_GREEN_set(PyObject
*_val
) {
16977 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16982 static PyObject
*_wrap_GREEN_get() {
16985 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16990 static int _wrap_CYAN_set(PyObject
*_val
) {
16991 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16996 static PyObject
*_wrap_CYAN_get() {
16999 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17004 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
17005 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17010 static PyObject
*_wrap_LIGHT_GREY_get() {
17013 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17018 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
17019 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17024 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17027 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17032 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
17033 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17038 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17041 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17046 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
17047 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17052 static PyObject
*_wrap_CROSS_CURSOR_get() {
17055 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17060 static int _wrap_NullBitmap_set(PyObject
*_val
) {
17061 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17066 static PyObject
*_wrap_NullBitmap_get() {
17069 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17074 static int _wrap_NullIcon_set(PyObject
*_val
) {
17075 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17080 static PyObject
*_wrap_NullIcon_get() {
17083 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17088 static int _wrap_NullCursor_set(PyObject
*_val
) {
17089 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17094 static PyObject
*_wrap_NullCursor_get() {
17097 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17102 static int _wrap_NullPen_set(PyObject
*_val
) {
17103 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17108 static PyObject
*_wrap_NullPen_get() {
17111 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17116 static int _wrap_NullBrush_set(PyObject
*_val
) {
17117 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17122 static PyObject
*_wrap_NullBrush_get() {
17125 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17130 static int _wrap_NullPalette_set(PyObject
*_val
) {
17131 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17136 static PyObject
*_wrap_NullPalette_get() {
17139 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17144 static int _wrap_NullFont_set(PyObject
*_val
) {
17145 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17150 static PyObject
*_wrap_NullFont_get() {
17153 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17158 static int _wrap_NullColour_set(PyObject
*_val
) {
17159 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17164 static PyObject
*_wrap_NullColour_get() {
17167 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17172 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxPenList
*arg1
= (wxPenList
*) 0 ;
17175 wxPen
*arg2
= (wxPen
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "pen", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 (arg1
)->AddPen(arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 Py_INCREF(Py_None
); resultobj
= Py_None
;
17201 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxPenList
*arg1
= (wxPenList
*) 0 ;
17204 wxColour
*arg2
= 0 ;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 PyObject
* obj2
= 0 ;
17212 PyObject
* obj3
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17224 arg3
= (int) SWIG_AsInt(obj2
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17226 arg4
= (int) SWIG_AsInt(obj3
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17242 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxPenList
*arg1
= (wxPenList
*) 0 ;
17245 wxPen
*arg2
= (wxPen
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self",(char *) "pen", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 (arg1
)->RemovePen(arg2
);
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 Py_INCREF(Py_None
); resultobj
= Py_None
;
17271 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxPenList
*arg1
= (wxPenList
*) 0 ;
17275 PyObject
* obj0
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 result
= (int)(arg1
)->GetCount();
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_FromInt((int)result
);
17297 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17300 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17302 return Py_BuildValue((char *)"");
17304 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17307 wxBrush
*arg2
= (wxBrush
*) 0 ;
17308 PyObject
* obj0
= 0 ;
17309 PyObject
* obj1
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self",(char *) "brush", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 (arg1
)->AddBrush(arg2
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 Py_INCREF(Py_None
); resultobj
= Py_None
;
17333 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17336 wxColour
*arg2
= 0 ;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 PyObject
* obj2
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "self",(char *) "colour",(char *) "style", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17354 arg3
= (int) SWIG_AsInt(obj2
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17370 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17373 wxBrush
*arg2
= (wxBrush
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self",(char *) "brush", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->RemoveBrush(arg2
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 Py_INCREF(Py_None
); resultobj
= Py_None
;
17399 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (int)(arg1
)->GetCount();
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= SWIG_FromInt((int)result
);
17425 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17428 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17430 return Py_BuildValue((char *)"");
17432 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 wxColourDatabase
*result
;
17435 char *kwnames
[] = {
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17441 if (!wxPyCheckForApp()) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (wxColourDatabase
*)new wxColourDatabase();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17455 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 Py_INCREF(Py_None
); resultobj
= Py_None
;
17480 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17483 wxString
*arg2
= 0 ;
17485 bool temp2
= False
;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "name", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17496 arg2
= wxString_in_helper(obj1
);
17497 if (arg2
== NULL
) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17508 wxColour
* resultptr
;
17509 resultptr
= new wxColour((wxColour
&) result
);
17510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17526 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17529 wxColour
*arg2
= 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "colour", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17565 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17568 wxString
*arg2
= 0 ;
17569 wxColour
*arg3
= 0 ;
17570 bool temp2
= False
;
17572 PyObject
* obj0
= 0 ;
17573 PyObject
* obj1
= 0 ;
17574 PyObject
* obj2
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self",(char *) "name",(char *) "colour", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17583 arg2
= wxString_in_helper(obj1
);
17584 if (arg2
== NULL
) SWIG_fail
;
17589 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 Py_INCREF(Py_None
); resultobj
= Py_None
;
17613 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17616 wxString
*arg2
= 0 ;
17620 bool temp2
= False
;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 PyObject
* obj2
= 0 ;
17624 PyObject
* obj3
= 0 ;
17625 PyObject
* obj4
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 arg2
= wxString_in_helper(obj1
);
17635 if (arg2
== NULL
) SWIG_fail
;
17638 arg3
= (int) SWIG_AsInt(obj2
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17640 arg4
= (int) SWIG_AsInt(obj3
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17642 arg5
= (int) SWIG_AsInt(obj4
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 Py_INCREF(Py_None
); resultobj
= Py_None
;
17666 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17669 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17671 return Py_BuildValue((char *)"");
17673 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxFontList
*arg1
= (wxFontList
*) 0 ;
17676 wxFont
*arg2
= (wxFont
*) 0 ;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self",(char *) "font", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 (arg1
)->AddFont(arg2
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 Py_INCREF(Py_None
); resultobj
= Py_None
;
17702 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxFontList
*arg1
= (wxFontList
*) 0 ;
17709 bool arg6
= (bool) False
;
17710 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17712 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17714 bool temp7
= False
;
17715 PyObject
* obj0
= 0 ;
17716 PyObject
* obj1
= 0 ;
17717 PyObject
* obj2
= 0 ;
17718 PyObject
* obj3
= 0 ;
17719 PyObject
* obj4
= 0 ;
17720 PyObject
* obj5
= 0 ;
17721 PyObject
* obj6
= 0 ;
17722 PyObject
* obj7
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 arg2
= (int) SWIG_AsInt(obj1
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17732 arg3
= (int) SWIG_AsInt(obj2
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17734 arg4
= (int) SWIG_AsInt(obj3
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17736 arg5
= (int) SWIG_AsInt(obj4
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 arg6
= (bool) SWIG_AsBool(obj5
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17744 arg7
= wxString_in_helper(obj6
);
17745 if (arg7
== NULL
) SWIG_fail
;
17750 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17775 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxFontList
*arg1
= (wxFontList
*) 0 ;
17778 wxFont
*arg2
= (wxFont
*) 0 ;
17779 PyObject
* obj0
= 0 ;
17780 PyObject
* obj1
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self",(char *) "font", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 (arg1
)->RemoveFont(arg2
);
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 Py_INCREF(Py_None
); resultobj
= Py_None
;
17804 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxFontList
*arg1
= (wxFontList
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (int)(arg1
)->GetCount();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= SWIG_FromInt((int)result
);
17830 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17833 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17835 return Py_BuildValue((char *)"");
17837 static int _wrap_TheFontList_set(PyObject
*_val
) {
17838 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17843 static PyObject
*_wrap_TheFontList_get() {
17846 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17851 static int _wrap_ThePenList_set(PyObject
*_val
) {
17852 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17857 static PyObject
*_wrap_ThePenList_get() {
17860 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17865 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17866 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17871 static PyObject
*_wrap_TheBrushList_get() {
17874 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17879 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17880 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17885 static PyObject
*_wrap_TheColourDatabase_get() {
17888 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17893 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17896 char *kwnames
[] = {
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 result
= (wxEffects
*)new wxEffects();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17915 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxEffects
*arg1
= (wxEffects
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17935 wxColour
* resultptr
;
17936 resultptr
= new wxColour((wxColour
&) result
);
17937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17945 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxEffects
*arg1
= (wxEffects
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 wxColour
* resultptr
;
17966 resultptr
= new wxColour((wxColour
&) result
);
17967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17975 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxEffects
*arg1
= (wxEffects
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17995 wxColour
* resultptr
;
17996 resultptr
= new wxColour((wxColour
&) result
);
17997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18005 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxEffects
*arg1
= (wxEffects
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18025 wxColour
* resultptr
;
18026 resultptr
= new wxColour((wxColour
&) result
);
18027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18035 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxEffects
*arg1
= (wxEffects
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 wxColour
* resultptr
;
18056 resultptr
= new wxColour((wxColour
&) result
);
18057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18065 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxEffects
*arg1
= (wxEffects
*) 0 ;
18068 wxColour
*arg2
= 0 ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "c", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18081 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18087 wxPyEndAllowThreads(__tstate
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 Py_INCREF(Py_None
); resultobj
= Py_None
;
18097 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxEffects
*arg1
= (wxEffects
*) 0 ;
18100 wxColour
*arg2
= 0 ;
18102 PyObject
* obj0
= 0 ;
18103 PyObject
* obj1
= 0 ;
18104 char *kwnames
[] = {
18105 (char *) "self",(char *) "c", NULL
18108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 Py_INCREF(Py_None
); resultobj
= Py_None
;
18129 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18131 wxEffects
*arg1
= (wxEffects
*) 0 ;
18132 wxColour
*arg2
= 0 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 char *kwnames
[] = {
18137 (char *) "self",(char *) "c", NULL
18140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 Py_INCREF(Py_None
); resultobj
= Py_None
;
18161 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxEffects
*arg1
= (wxEffects
*) 0 ;
18164 wxColour
*arg2
= 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self",(char *) "c", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18177 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 Py_INCREF(Py_None
); resultobj
= Py_None
;
18193 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxEffects
*arg1
= (wxEffects
*) 0 ;
18196 wxColour
*arg2
= 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "c", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 Py_INCREF(Py_None
); resultobj
= Py_None
;
18225 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxEffects
*arg1
= (wxEffects
*) 0 ;
18228 wxColour
*arg2
= 0 ;
18229 wxColour
*arg3
= 0 ;
18230 wxColour
*arg4
= 0 ;
18231 wxColour
*arg5
= 0 ;
18232 wxColour
*arg6
= 0 ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 PyObject
* obj2
= 0 ;
18241 PyObject
* obj3
= 0 ;
18242 PyObject
* obj4
= 0 ;
18243 PyObject
* obj5
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18257 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18261 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18265 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18269 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 Py_INCREF(Py_None
); resultobj
= Py_None
;
18285 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxEffects
*arg1
= (wxEffects
*) 0 ;
18290 int arg4
= (int) 1 ;
18292 PyObject
* obj0
= 0 ;
18293 PyObject
* obj1
= 0 ;
18294 PyObject
* obj2
= 0 ;
18295 PyObject
* obj3
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18306 if (arg2
== NULL
) {
18307 PyErr_SetString(PyExc_TypeError
,"null reference");
18312 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18315 arg4
= (int) SWIG_AsInt(obj3
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 Py_INCREF(Py_None
); resultobj
= Py_None
;
18332 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxEffects
*arg1
= (wxEffects
*) 0 ;
18337 wxBitmap
*arg4
= 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 PyObject
* obj2
= 0 ;
18343 PyObject
* obj3
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18353 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18355 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18358 if (arg3
== NULL
) {
18359 PyErr_SetString(PyExc_TypeError
,"null reference");
18362 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18365 if (arg4
== NULL
) {
18366 PyErr_SetString(PyExc_TypeError
,"null reference");
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18385 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18388 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18390 return Py_BuildValue((char *)"");
18392 static PyMethodDef SwigMethods
[] = {
18393 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18399 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18416 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18422 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18441 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18453 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18480 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18482 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18497 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18505 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18513 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18519 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18547 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18561 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18585 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18594 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18614 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18651 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18659 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18666 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18688 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18690 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18698 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18784 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18792 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18794 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18796 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18797 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18800 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18802 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
},
18807 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18809 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18810 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18811 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18813 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18815 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18816 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18820 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18821 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18823 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18824 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18825 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18826 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18827 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18828 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18829 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18830 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18831 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18832 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18833 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18834 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18836 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18838 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18840 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18842 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18843 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18844 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18845 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18846 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18847 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18848 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18849 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18850 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18851 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18852 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18853 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18854 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18855 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18856 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18857 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18858 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18859 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18860 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
18861 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18862 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18863 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18864 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18865 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18866 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
18867 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18868 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18869 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18870 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18871 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18872 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18873 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18874 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18875 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18876 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18877 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18878 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18880 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18882 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18883 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18884 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18885 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18886 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18887 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18888 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18889 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18890 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18891 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18892 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18893 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18894 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18895 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18896 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18897 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18898 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18899 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18900 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18901 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18902 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18903 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18904 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18905 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18906 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18907 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18908 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18909 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18910 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18911 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18912 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18913 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18914 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18915 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18916 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18917 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18918 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18923 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18925 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18926 return (void *)((wxWindow
*) ((wxControl
*) x
));
18928 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18929 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18931 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18932 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18934 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18935 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18937 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18938 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18940 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18941 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18943 static void *_p_wxPenTo_p_wxObject(void *x
) {
18944 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18946 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18947 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18949 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18950 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18952 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18953 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18955 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18958 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18961 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18964 static void *_p_wxIconTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18967 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18970 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18973 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) ((wxSizer
*) x
));
18976 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18979 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18982 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) ((wxPenList
*) x
));
18985 static void *_p_wxEventTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) ((wxEvent
*) x
));
18988 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18991 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18994 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18997 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19000 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19003 static void *_p_wxDCTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) ((wxDC
*) x
));
19006 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19009 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19012 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19015 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19018 static void *_p_wxControlTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19021 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19024 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19027 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19030 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19033 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19036 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19039 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19042 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19045 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) ((wxEffects
*) x
));
19048 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19051 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19054 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19057 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19060 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19063 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19066 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19069 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19072 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19075 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19078 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19081 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19084 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19087 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19090 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19093 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19096 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19099 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19102 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19105 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19108 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19111 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19114 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19117 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19120 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19123 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19126 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19129 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19132 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19135 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19138 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19141 static void *_p_wxImageTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) ((wxImage
*) x
));
19144 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19147 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19150 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19153 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) ((wxImageList
*) x
));
19156 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19159 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19162 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19165 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19168 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19171 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19174 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19177 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19180 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19183 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19184 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19186 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19187 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19189 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19190 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19192 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19193 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19195 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19196 return (void *)((wxObject
*) ((wxMask
*) x
));
19198 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19201 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19202 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19204 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19205 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19207 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19208 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19210 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19211 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19213 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19214 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19216 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19219 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19220 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19222 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19223 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19225 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19226 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19228 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19231 static void *_p_wxFontTo_p_wxObject(void *x
) {
19232 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19234 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19235 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19237 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19238 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19240 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19243 static void *_p_wxColourTo_p_wxObject(void *x
) {
19244 return (void *)((wxObject
*) ((wxColour
*) x
));
19246 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19247 return (void *)((wxObject
*) ((wxFontList
*) x
));
19249 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19252 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19253 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19255 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19256 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19258 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19259 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19261 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19262 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19264 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19265 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19267 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19268 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19270 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19271 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19273 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19274 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19276 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19277 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19279 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19280 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19282 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19283 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19285 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19286 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19288 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19289 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19291 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19292 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19294 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19295 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19297 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19298 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19300 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19301 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19303 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19304 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19306 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19307 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19309 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19310 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19312 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19313 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19315 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}};
19316 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}};
19317 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}};
19318 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}};
19319 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}};
19320 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}};
19321 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}};
19322 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}};
19323 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}};
19324 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}};
19325 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}};
19326 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}};
19327 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}};
19328 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}};
19329 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}};
19330 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}};
19331 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}};
19332 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}};
19333 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}};
19334 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}};
19335 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}};
19336 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}};
19337 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}};
19338 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}};
19339 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}};
19340 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}};
19341 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}};
19342 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}};
19343 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}};
19344 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}};
19345 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}};
19346 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}};
19347 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}};
19348 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}};
19349 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}};
19350 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}};
19351 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}};
19352 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}};
19353 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}};
19354 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}};
19355 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}};
19356 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}};
19357 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}};
19358 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}};
19359 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}};
19360 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}};
19361 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}};
19362 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}};
19363 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}};
19364 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}};
19365 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}};
19366 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}};
19367 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}};
19368 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}};
19369 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}};
19371 static swig_type_info
*swig_types_initial
[] = {
19372 _swigt__p_wxPostScriptDC
,
19374 _swigt__p_wxColour
,
19376 _swigt__p_wxMirrorDC
,
19378 _swigt__p_wxPyFontEnumerator
,
19380 _swigt__p_wxIconLocation
,
19382 _swigt__p_wxMetaFileDC
,
19386 _swigt__p_wxWindow
,
19388 _swigt__p_wxMemoryDC
,
19389 _swigt__p_wxFontMapper
,
19390 _swigt__p_wxEffects
,
19391 _swigt__p_wxNativeEncodingInfo
,
19392 _swigt__p_wxPalette
,
19393 _swigt__p_wxBitmap
,
19394 _swigt__p_wxObject
,
19395 _swigt__p_wxRegionIterator
,
19397 _swigt__p_wxString
,
19398 _swigt__p_wxPrinterDC
,
19399 _swigt__p_wxIconBundle
,
19402 _swigt__p_wxScreenDC
,
19403 _swigt__p_wxCursor
,
19404 _swigt__p_wxClientDC
,
19405 _swigt__p_wxBufferedDC
,
19406 _swigt__p_wxImageList
,
19407 _swigt__p_unsigned_char
,
19408 _swigt__p_wxGDIObject
,
19410 _swigt__p_wxLocale
,
19411 _swigt__p_wxRegion
,
19412 _swigt__p_wxLanguageInfo
,
19413 _swigt__p_wxConfigBase
,
19414 _swigt__p_wxWindowDC
,
19415 _swigt__p_wxPrintData
,
19416 _swigt__p_wxBrushList
,
19417 _swigt__p_wxFontList
,
19419 _swigt__p_wxBufferedPaintDC
,
19420 _swigt__p_wxPaintDC
,
19421 _swigt__p_wxPenList
,
19423 _swigt__p_wxMetaFile
,
19424 _swigt__p_wxNativeFontInfo
,
19425 _swigt__p_wxEncodingConverter
,
19426 _swigt__p_wxColourDatabase
,
19431 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19433 static swig_const_info swig_const_table
[] = {
19443 SWIGEXPORT(void) SWIG_init(void) {
19444 static PyObject
*SWIG_globals
= 0;
19445 static int typeinit
= 0;
19448 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19449 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19450 d
= PyModule_GetDict(m
);
19453 for (i
= 0; swig_types_initial
[i
]; i
++) {
19454 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19458 SWIG_InstallConstants(d
,swig_const_table
);
19460 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19461 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19462 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19463 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19464 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19465 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19466 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19467 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19468 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19469 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19470 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19471 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19472 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19473 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19474 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19475 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19476 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19477 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19478 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19479 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19480 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19481 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19482 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19483 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19484 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19485 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19486 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19487 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19488 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19489 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19490 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19491 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19492 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19493 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19494 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19495 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19496 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19497 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19498 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19499 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19500 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19501 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19502 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19503 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19504 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19505 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19506 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19507 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19508 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19509 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19510 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19511 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19512 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19513 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19514 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19515 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19516 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19517 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19518 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19519 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19520 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19521 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19522 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19523 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19524 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19525 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19526 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19527 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19528 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19529 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19530 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19531 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19532 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19533 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19534 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19535 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19536 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19537 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19538 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19539 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19540 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19541 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19542 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19543 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19544 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19545 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19546 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19547 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19548 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19549 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19550 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19551 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19552 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19553 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19554 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19555 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19556 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19557 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19558 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19559 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19560 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19561 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19562 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19563 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19564 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19565 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19566 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19567 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19568 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19569 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19570 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19571 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19572 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19573 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19574 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19575 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19576 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19577 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19578 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19579 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19580 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19581 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19582 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19583 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19584 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19585 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19586 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19588 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19590 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19591 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19592 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19593 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19594 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19595 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19596 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19597 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19598 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19599 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19600 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19601 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19602 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19603 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19604 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19605 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19606 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19607 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19608 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19609 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19610 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19611 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19612 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19613 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19614 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19615 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19616 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19617 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19618 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19619 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19620 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19621 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19622 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19623 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19624 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19625 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19626 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19627 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19628 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19629 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19630 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19631 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19632 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19633 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19634 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19635 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19636 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19637 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19638 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19639 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19640 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19641 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19642 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19643 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19644 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19645 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19646 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19647 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19648 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19649 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19650 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19651 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19652 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19653 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19654 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19655 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19656 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19657 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19658 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19659 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19660 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19661 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19662 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19663 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19664 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19665 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19666 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19667 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19668 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19669 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19670 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19671 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19672 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19673 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19674 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19675 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19676 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19677 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19678 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19679 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19680 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19681 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19682 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19683 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19684 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19685 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19686 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19687 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19688 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19689 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19690 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19691 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19692 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19693 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19694 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19695 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19696 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19697 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19698 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19699 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19700 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19701 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19702 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19703 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19704 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19705 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19706 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19707 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19708 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19709 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19710 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19711 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19712 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19713 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19714 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19715 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19716 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19717 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19718 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19719 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19720 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19721 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19722 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19723 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19724 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19725 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19726 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19727 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19728 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19729 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19730 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19731 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19732 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19733 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19734 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19735 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19736 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19737 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19738 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19739 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19740 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19741 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19742 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19743 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19744 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19745 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19746 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19747 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19748 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19749 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19750 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19751 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19752 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19753 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19754 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19755 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19756 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19757 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19758 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19759 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19760 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19761 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19762 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19763 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19764 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19765 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19766 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19767 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19768 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19769 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19770 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19771 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19772 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19773 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19774 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19775 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19776 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19777 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19778 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19779 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19780 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19781 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19782 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19783 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19784 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19785 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19786 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19787 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19788 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19789 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19790 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19791 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19792 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19793 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19794 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19795 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19796 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19797 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19798 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19799 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19800 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19801 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19802 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19803 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19804 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19805 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19806 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19807 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19808 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19809 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19810 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19811 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19812 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19813 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19814 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19815 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19816 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19817 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19818 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19819 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19820 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19821 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19822 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19823 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19824 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19825 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19826 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19827 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19828 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19829 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19830 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19831 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19832 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19833 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19834 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19835 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19836 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19837 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19838 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19839 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19840 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19841 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19842 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19843 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19844 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19845 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19846 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19847 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19848 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19849 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19850 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19851 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19852 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19853 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19854 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19855 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19856 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19857 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19858 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19859 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19860 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19861 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19862 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19863 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19864 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19865 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19866 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19867 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19868 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19869 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19870 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19871 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19872 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19873 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19874 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19875 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19876 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19877 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19878 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19879 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19880 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19881 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19882 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19883 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19884 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19885 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19886 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19887 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19888 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19889 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19891 // Work around a chicken/egg problem in drawlist.cpp
19892 wxPyDrawList_SetAPIPtr();