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_wxConfigBase swig_types[40]
250 #define SWIGTYPE_p_wxLanguageInfo swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(long)
367 SWIG_AsLong(PyObject
* obj
)
369 if (PyNumber_Check(obj
))
370 return PyInt_AsLong(obj
);
372 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
373 obj
->ob_type
->tp_name
);
374 PyErr_SetObject(PyExc_TypeError
, errmsg
);
381 SWIGSTATICINLINE(unsigned long)
382 SWIG_AsUnsignedLong(PyObject
* obj
)
384 if (PyLong_Check(obj
)) {
385 return PyLong_AsUnsignedLong(obj
);
387 long i
= SWIG_AsLong(obj
);
388 if ( !PyErr_Occurred() && (i
< 0)) {
389 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
396 SWIGSTATICINLINE(unsigned char)
397 SWIG_AsUnsignedChar(PyObject
*obj
)
399 return swig_numeric_cast(unsigned char,
400 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
401 "unsigned char", UCHAR_MAX
));
405 SWIGSTATICINLINE(int)
406 SWIG_CheckUnsignedChar(PyObject
* obj
)
408 SWIG_AsUnsignedChar(obj
);
409 if (PyErr_Occurred()) {
418 SWIGSTATICINLINE(int)
419 SWIG_CheckUnsignedLong(PyObject
* obj
)
421 SWIG_AsUnsignedLong(obj
);
422 if (PyErr_Occurred()) {
430 PyObject
*wxColour_Get(wxColour
*self
){
431 PyObject
* rv
= PyTuple_New(3);
437 green
= self
->Green();
440 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
441 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
442 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
445 unsigned long wxColour_GetRGB(wxColour
*self
){
446 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
449 SWIGSTATICINLINE(PyObject
* )
450 SWIG_FromUnsignedLong(unsigned long value
)
452 return (value
> LONG_MAX
) ?
453 PyLong_FromUnsignedLong(value
)
454 : PyInt_FromLong(swig_numeric_cast(long,value
));
458 SWIGSTATICINLINE(long)
459 SWIG_CheckLongInRange(long value
, const char* type
,
460 long min_value
, long max_value
)
462 if (!PyErr_Occurred()) {
463 if (value
< min_value
) {
465 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
466 value
, type
, min_value
);
468 PyErr_SetObject(PyExc_OverflowError
, err
);
470 } else if (value
> max_value
) {
472 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
473 value
, type
, max_value
);
474 PyErr_SetObject(PyExc_OverflowError
, err
);
482 #if INT_MAX != LONG_MAX
483 SWIGSTATICINLINE(int)
484 SWIG_AsInt(PyObject
*obj
)
486 return swig_numeric_cast(int,
487 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
488 "int", INT_MIN
, INT_MAX
));
491 #define SWIG_AsInt SWIG_AsLong
495 SWIGSTATICINLINE(int)
496 SWIG_CheckInt(PyObject
* obj
)
499 if (PyErr_Occurred()) {
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
534 PyObject
*wxPen_GetDashes(wxPen
*self
){
536 int count
= self
->GetDashes(&dashes
);
537 bool blocked
= wxPyBeginBlockThreads();
538 PyObject
* retval
= PyList_New(0);
539 for (int x
=0; x
<count
; x
++)
540 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
541 wxPyEndBlockThreads(blocked
);
544 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
545 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
553 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
557 m_dash
= new wxDash
[nb_dashes
];
558 for (int i
=0; i
<nb_dashes
; i
++) {
561 wxPen::SetDashes(nb_dashes
, m_dash
);
565 #include <wx/image.h>
567 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
568 char** cArray
= NULL
;
571 if (!PyList_Check(listOfStrings
)) {
572 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
575 count
= PyList_Size(listOfStrings
);
576 cArray
= new char*[count
];
578 for(int x
=0; x
<count
; x
++) {
579 // TODO: Need some validation and error checking here
580 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
586 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
587 char** cArray
= NULL
;
590 cArray
= ConvertListOfStrings(listOfStrings
);
593 bmp
= new wxBitmap(cArray
);
597 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
600 PyString_AsStringAndSize(bits
, &buf
, &length
);
601 return new wxBitmap(buf
, width
, height
, depth
);
603 wxBitmap
*new_wxBitmap__SWIG_0(int width
,int height
,int depth
){
604 return new wxBitmap(width
, height
, depth
);
606 wxBitmap
*new_wxBitmap__SWIG_1(wxSize
const &size
,int depth
){
607 return new wxBitmap(size
.x
, size
.y
, depth
);
609 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
610 wxSize
size(self
->GetWidth(), self
->GetHeight());
613 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
614 wxMask
*mask
= new wxMask(*self
, colour
);
617 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
618 self
->SetWidth(size
.x
);
619 self
->SetHeight(size
.y
);
621 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
622 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
623 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
625 return new wxMask(bitmap
, *wxBLACK
);
627 return new wxMask(bitmap
, colour
);
630 #include <wx/iconbndl.h>
632 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
633 wxIcon
* icon
= new wxIcon();
634 icon
->CopyFromBitmap(bmp
);
637 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
638 char** cArray
= NULL
;
641 cArray
= ConvertListOfStrings(listOfStrings
);
644 icon
= new wxIcon(cArray
);
648 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
652 return new wxIconLocation(*filename
);
655 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
662 int wxIconLocation_GetIndex(wxIconLocation
*self
){
670 SWIGSTATICINLINE(int)
671 SWIG_CheckLong(PyObject
* obj
)
674 if (PyErr_Occurred()) {
682 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
684 wxCHECK_MSG(False
, NULL
,
685 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
687 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
692 void wxRegionIterator_Next(wxRegionIterator
*self
){
695 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
696 return self
->operator bool();
699 #include <wx/fontutil.h>
700 #include <wx/fontmap.h>
701 #include <wx/fontenum.h>
703 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
704 return self
->ToString();
707 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
708 static wxNativeEncodingInfo info
;
709 if ( wxGetNativeFontEncoding(encoding
, &info
) )
715 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
716 wxFontEncoding alt_enc
;
717 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
718 return PyInt_FromLong(alt_enc
);
724 wxFont
*new_wxFont(wxString
const &info
){
725 wxNativeFontInfo nfi
;
726 nfi
.FromString(info
);
727 return new wxFont(nfi
);
729 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
730 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
732 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
733 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
735 class wxPyFontEnumerator
: public wxFontEnumerator
{
737 wxPyFontEnumerator() {}
738 ~wxPyFontEnumerator() {}
740 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
741 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
746 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
747 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
750 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
751 wxArrayString
* arr
= self
->GetEncodings();
752 return wxArrayString2PyList_helper(*arr
);
754 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
755 wxArrayString
* arr
= self
->GetFacenames();
756 return wxArrayString2PyList_helper(*arr
);
761 #include "wx/wxPython/pydrawxxx.h"
763 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
765 self
->GetPixel(x
, y
, &col
);
768 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
770 self
->GetPixel(pt
, &col
);
774 SWIGSTATICINLINE(double)
775 SWIG_AsDouble(PyObject
*obj
)
777 if (PyNumber_Check(obj
))
778 return PyFloat_AsDouble(obj
);
780 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
781 obj
->ob_type
->tp_name
);
782 PyErr_SetObject(PyExc_TypeError
, errmsg
);
789 SWIGSTATICINLINE(int)
790 SWIG_CheckDouble(PyObject
* obj
)
793 if (PyErr_Occurred()) {
801 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
803 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
806 wxRect
wxDC_GetClippingRect(wxDC
*self
){
808 self
->GetClippingBox(rect
);
811 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
813 self
->GetPartialTextExtents(text
, widths
);
816 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
817 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
819 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
820 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
822 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
823 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
825 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
826 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
828 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
829 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
831 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
832 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
835 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
843 //-=-=-=-=-=-=-=-=-=-=-
846 // Use the standard wxBufferedDC
847 #include <wx/dcbuffer.h>
851 // Or, temporarily put a set of classes here similar to the old buffered DC
852 // classes until the real ones can be fixed to work "correctly" again.
854 class wxBufferedDC
: public wxMemoryDC
862 wxBufferedDC() : m_dc( 0 ) {}
864 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
865 : m_dc( dc
), m_buffer( buffer
)
867 SelectObject( m_buffer
);
870 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
871 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
873 SelectObject( m_buffer
);
882 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
883 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
884 _T("wxBufferedDC already initialised") );
887 SelectObject( m_buffer
);
890 void Init( wxDC
*dc
, const wxSize
&area
) {
891 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
892 _T("wxBufferedDC already initialised") );
894 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
895 SelectObject( m_buffer
);
899 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
900 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
906 class wxBufferedPaintDC
: public wxBufferedDC
912 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
913 : m_paintdc( window
)
915 window
->PrepareDC( m_paintdc
);
917 if( buffer
!= wxNullBitmap
)
918 Init( &m_paintdc
, buffer
);
920 Init( &m_paintdc
, window
->GetClientSize() );
923 ~wxBufferedPaintDC() {
929 //-=-=-=-=-=-=-=-=-=-=-
935 class wxMetaFile
: public wxObject
{
937 wxMetaFile(const wxString
&)
938 { wxPyRaiseNotImplemented(); }
941 class wxMetaFileDC
: public wxClientDC
{
943 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
944 { wxPyRaiseNotImplemented(); }
949 class wxPrinterDC
: public wxClientDC
{
951 wxPrinterDC(const wxPrintData
&)
952 { wxPyRaiseNotImplemented(); }
954 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
955 // { wxPyRaiseNotImplemented(); }
960 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
961 self
->AddColour(name
, wxColour(red
, green
, blue
));
964 #include <wx/effects.h>
969 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 result
= (wxGDIObject
*)new wxGDIObject();
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) SWIG_fail
;
984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
991 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
994 PyObject
* obj0
= 0 ;
996 (char *) "self", NULL
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1006 wxPyEndAllowThreads(__tstate
);
1007 if (PyErr_Occurred()) SWIG_fail
;
1009 Py_INCREF(Py_None
); resultobj
= Py_None
;
1016 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
*resultobj
;
1018 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1020 PyObject
* obj0
= 0 ;
1022 (char *) "self", NULL
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1030 result
= (bool)(arg1
)->GetVisible();
1032 wxPyEndAllowThreads(__tstate
);
1033 if (PyErr_Occurred()) SWIG_fail
;
1036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1044 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
*resultobj
;
1046 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1048 PyObject
* obj0
= 0 ;
1049 PyObject
* obj1
= 0 ;
1051 (char *) "self",(char *) "visible", NULL
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1057 arg2
= (bool) SWIG_AsBool(obj1
);
1058 if (PyErr_Occurred()) SWIG_fail
;
1060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1061 (arg1
)->SetVisible(arg2
);
1063 wxPyEndAllowThreads(__tstate
);
1064 if (PyErr_Occurred()) SWIG_fail
;
1066 Py_INCREF(Py_None
); resultobj
= Py_None
;
1073 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
*resultobj
;
1075 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1077 PyObject
* obj0
= 0 ;
1079 (char *) "self", NULL
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1087 result
= (bool)(arg1
)->IsNull();
1089 wxPyEndAllowThreads(__tstate
);
1090 if (PyErr_Occurred()) SWIG_fail
;
1093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1101 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1104 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1106 return Py_BuildValue((char *)"");
1108 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
*resultobj
;
1110 unsigned char arg1
= (unsigned char) 0 ;
1111 unsigned char arg2
= (unsigned char) 0 ;
1112 unsigned char arg3
= (unsigned char) 0 ;
1114 PyObject
* obj0
= 0 ;
1115 PyObject
* obj1
= 0 ;
1116 PyObject
* obj2
= 0 ;
1118 (char *) "red",(char *) "green",(char *) "blue", NULL
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1123 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1127 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1128 if (PyErr_Occurred()) SWIG_fail
;
1131 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1132 if (PyErr_Occurred()) SWIG_fail
;
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) SWIG_fail
;
1141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1148 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
*resultobj
;
1150 wxString
*arg1
= 0 ;
1152 bool temp1
= False
;
1153 PyObject
* obj0
= 0 ;
1155 (char *) "colorName", NULL
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1160 arg1
= wxString_in_helper(obj0
);
1161 if (arg1
== NULL
) SWIG_fail
;
1165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1168 wxPyEndAllowThreads(__tstate
);
1169 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1186 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
*resultobj
;
1188 unsigned long arg1
;
1190 PyObject
* obj0
= 0 ;
1192 (char *) "colRGB", NULL
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1196 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1197 if (PyErr_Occurred()) SWIG_fail
;
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 result
= (wxColour
*)new wxColour(arg1
);
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) SWIG_fail
;
1205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1212 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
*resultobj
;
1214 wxColour
*arg1
= (wxColour
*) 0 ;
1215 PyObject
* obj0
= 0 ;
1217 (char *) "self", NULL
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1230 Py_INCREF(Py_None
); resultobj
= Py_None
;
1237 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
*resultobj
;
1239 wxColour
*arg1
= (wxColour
*) 0 ;
1240 unsigned char result
;
1241 PyObject
* obj0
= 0 ;
1243 (char *) "self", NULL
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 result
= (unsigned char)(arg1
)->Red();
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1256 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1263 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
*resultobj
;
1265 wxColour
*arg1
= (wxColour
*) 0 ;
1266 unsigned char result
;
1267 PyObject
* obj0
= 0 ;
1269 (char *) "self", NULL
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 result
= (unsigned char)(arg1
)->Green();
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) SWIG_fail
;
1282 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1289 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
*resultobj
;
1291 wxColour
*arg1
= (wxColour
*) 0 ;
1292 unsigned char result
;
1293 PyObject
* obj0
= 0 ;
1295 (char *) "self", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 result
= (unsigned char)(arg1
)->Blue();
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1315 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
*resultobj
;
1317 wxColour
*arg1
= (wxColour
*) 0 ;
1319 PyObject
* obj0
= 0 ;
1321 (char *) "self", NULL
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 result
= (bool)(arg1
)->Ok();
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) SWIG_fail
;
1335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1343 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
*resultobj
;
1345 wxColour
*arg1
= (wxColour
*) 0 ;
1346 unsigned char arg2
;
1347 unsigned char arg3
;
1348 unsigned char arg4
;
1349 PyObject
* obj0
= 0 ;
1350 PyObject
* obj1
= 0 ;
1351 PyObject
* obj2
= 0 ;
1352 PyObject
* obj3
= 0 ;
1354 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1360 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1362 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1363 if (PyErr_Occurred()) SWIG_fail
;
1364 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1365 if (PyErr_Occurred()) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 (arg1
)->Set(arg2
,arg3
,arg4
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 Py_INCREF(Py_None
); resultobj
= Py_None
;
1380 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxColour
*arg1
= (wxColour
*) 0 ;
1383 unsigned long arg2
;
1384 PyObject
* obj0
= 0 ;
1385 PyObject
* obj1
= 0 ;
1387 (char *) "self",(char *) "colRGB", NULL
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1393 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1394 if (PyErr_Occurred()) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1402 Py_INCREF(Py_None
); resultobj
= Py_None
;
1409 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
*resultobj
;
1411 wxColour
*arg1
= (wxColour
*) 0 ;
1412 wxString
*arg2
= 0 ;
1413 bool temp2
= False
;
1414 PyObject
* obj0
= 0 ;
1415 PyObject
* obj1
= 0 ;
1417 (char *) "self",(char *) "colourName", NULL
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1424 arg2
= wxString_in_helper(obj1
);
1425 if (arg2
== NULL
) SWIG_fail
;
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 (arg1
)->InitFromName((wxString
const &)*arg2
);
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) SWIG_fail
;
1435 Py_INCREF(Py_None
); resultobj
= Py_None
;
1450 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
*resultobj
;
1452 wxColour
*arg1
= (wxColour
*) 0 ;
1454 PyObject
* obj0
= 0 ;
1456 (char *) "self", NULL
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= SWIG_FromLong((long)result
);
1476 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
*resultobj
;
1478 wxColour
*arg1
= (wxColour
*) 0 ;
1479 wxColour
*arg2
= 0 ;
1482 PyObject
* obj0
= 0 ;
1483 PyObject
* obj1
= 0 ;
1485 (char *) "self",(char *) "colour", NULL
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1493 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1511 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
*resultobj
;
1513 wxColour
*arg1
= (wxColour
*) 0 ;
1514 wxColour
*arg2
= 0 ;
1517 PyObject
* obj0
= 0 ;
1518 PyObject
* obj1
= 0 ;
1520 (char *) "self",(char *) "colour", NULL
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1528 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1534 wxPyEndAllowThreads(__tstate
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1546 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxColour
*arg1
= (wxColour
*) 0 ;
1550 PyObject
* obj0
= 0 ;
1552 (char *) "self", NULL
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 result
= (PyObject
*)wxColour_Get(arg1
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1572 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
*resultobj
;
1574 wxColour
*arg1
= (wxColour
*) 0 ;
1575 unsigned long result
;
1576 PyObject
* obj0
= 0 ;
1578 (char *) "self", NULL
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 result
= (unsigned long)wxColour_GetRGB(arg1
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) SWIG_fail
;
1591 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1598 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1601 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1603 return Py_BuildValue((char *)"");
1605 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
*resultobj
;
1608 unsigned char *arg2
= (unsigned char *) 0 ;
1609 unsigned char *arg3
= (unsigned char *) 0 ;
1610 unsigned char *arg4
= (unsigned char *) 0 ;
1612 PyObject
* obj0
= 0 ;
1613 PyObject
* obj1
= 0 ;
1614 PyObject
* obj2
= 0 ;
1615 PyObject
* obj3
= 0 ;
1617 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1621 arg1
= (int) SWIG_AsInt(obj0
);
1622 if (PyErr_Occurred()) SWIG_fail
;
1623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1625 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1627 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1643 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxPalette
*arg1
= (wxPalette
*) 0 ;
1646 PyObject
* obj0
= 0 ;
1648 (char *) "self", NULL
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 Py_INCREF(Py_None
); resultobj
= Py_None
;
1668 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxPalette
*arg1
= (wxPalette
*) 0 ;
1675 PyObject
* obj0
= 0 ;
1676 PyObject
* obj1
= 0 ;
1677 PyObject
* obj2
= 0 ;
1678 PyObject
* obj3
= 0 ;
1680 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1686 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1687 if (PyErr_Occurred()) SWIG_fail
;
1688 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1690 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1699 resultobj
= SWIG_FromInt((int)result
);
1706 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
*resultobj
;
1708 wxPalette
*arg1
= (wxPalette
*) 0 ;
1710 byte
*arg3
= (byte
*) 0 ;
1711 byte
*arg4
= (byte
*) 0 ;
1712 byte
*arg5
= (byte
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1720 (char *) "self",(char *) "pixel", NULL
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1729 arg2
= (int) SWIG_AsInt(obj1
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1742 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1743 resultobj
= t_output_helper(resultobj
,o
);
1746 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1747 resultobj
= t_output_helper(resultobj
,o
);
1750 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1751 resultobj
= t_output_helper(resultobj
,o
);
1759 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxPalette
*arg1
= (wxPalette
*) 0 ;
1763 PyObject
* obj0
= 0 ;
1765 (char *) "self", NULL
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 result
= (bool)(arg1
)->Ok();
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1787 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1790 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1792 return Py_BuildValue((char *)"");
1794 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxColour
*arg1
= 0 ;
1797 int arg2
= (int) 1 ;
1798 int arg3
= (int) wxSOLID
;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1803 PyObject
* obj2
= 0 ;
1805 (char *) "colour",(char *) "width",(char *) "style", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1811 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1814 arg2
= (int) SWIG_AsInt(obj1
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1818 arg3
= (int) SWIG_AsInt(obj2
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1835 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxPen
*arg1
= (wxPen
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "self", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 Py_INCREF(Py_None
); resultobj
= Py_None
;
1860 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
*resultobj
;
1862 wxPen
*arg1
= (wxPen
*) 0 ;
1864 PyObject
* obj0
= 0 ;
1866 (char *) "self", NULL
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 result
= (int)(arg1
)->GetCap();
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= SWIG_FromInt((int)result
);
1886 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
*resultobj
;
1888 wxPen
*arg1
= (wxPen
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1892 (char *) "self", NULL
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (arg1
)->GetColour();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1906 wxColour
* resultptr
;
1907 resultptr
= new wxColour((wxColour
&) result
);
1908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1916 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
*resultobj
;
1918 wxPen
*arg1
= (wxPen
*) 0 ;
1920 PyObject
* obj0
= 0 ;
1922 (char *) "self", NULL
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 result
= (int)(arg1
)->GetJoin();
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1935 resultobj
= SWIG_FromInt((int)result
);
1942 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1944 wxPen
*arg1
= (wxPen
*) 0 ;
1946 PyObject
* obj0
= 0 ;
1948 (char *) "self", NULL
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 result
= (int)(arg1
)->GetStyle();
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 resultobj
= SWIG_FromInt((int)result
);
1968 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1970 wxPen
*arg1
= (wxPen
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1974 (char *) "self", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (int)(arg1
)->GetWidth();
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= SWIG_FromInt((int)result
);
1994 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxPen
*arg1
= (wxPen
*) 0 ;
1998 PyObject
* obj0
= 0 ;
2000 (char *) "self", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (bool)(arg1
)->Ok();
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2022 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
*resultobj
;
2024 wxPen
*arg1
= (wxPen
*) 0 ;
2026 PyObject
* obj0
= 0 ;
2027 PyObject
* obj1
= 0 ;
2029 (char *) "self",(char *) "cap_style", NULL
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2035 arg2
= (int) SWIG_AsInt(obj1
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 (arg1
)->SetCap(arg2
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 Py_INCREF(Py_None
); resultobj
= Py_None
;
2051 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
*resultobj
;
2053 wxPen
*arg1
= (wxPen
*) 0 ;
2054 wxColour
*arg2
= 0 ;
2056 PyObject
* obj0
= 0 ;
2057 PyObject
* obj1
= 0 ;
2059 (char *) "self",(char *) "colour", NULL
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 (arg1
)->SetColour(*arg2
);
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 Py_INCREF(Py_None
); resultobj
= Py_None
;
2083 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
*resultobj
;
2085 wxPen
*arg1
= (wxPen
*) 0 ;
2087 PyObject
* obj0
= 0 ;
2088 PyObject
* obj1
= 0 ;
2090 (char *) "self",(char *) "join_style", NULL
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2096 arg2
= (int) SWIG_AsInt(obj1
);
2097 if (PyErr_Occurred()) SWIG_fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 (arg1
)->SetJoin(arg2
);
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2105 Py_INCREF(Py_None
); resultobj
= Py_None
;
2112 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxPen
*arg1
= (wxPen
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2119 (char *) "self",(char *) "style", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2125 arg2
= (int) SWIG_AsInt(obj1
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 (arg1
)->SetStyle(arg2
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 Py_INCREF(Py_None
); resultobj
= Py_None
;
2141 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxPen
*arg1
= (wxPen
*) 0 ;
2145 PyObject
* obj0
= 0 ;
2146 PyObject
* obj1
= 0 ;
2148 (char *) "self",(char *) "width", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2154 arg2
= (int) SWIG_AsInt(obj1
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 (arg1
)->SetWidth(arg2
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 Py_INCREF(Py_None
); resultobj
= Py_None
;
2170 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxPen
*arg1
= (wxPen
*) 0 ;
2174 wxDash
*arg3
= (wxDash
*) 0 ;
2175 PyObject
* obj0
= 0 ;
2176 PyObject
* obj1
= 0 ;
2178 (char *) "self",(char *) "dashes", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2185 arg2
= PyList_Size(obj1
);
2186 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2187 if (arg3
== NULL
) SWIG_fail
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 (arg1
)->SetDashes(arg2
,arg3
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2196 Py_INCREF(Py_None
); resultobj
= Py_None
;
2198 if (arg3
) delete [] arg3
;
2203 if (arg3
) delete [] arg3
;
2209 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxPen
*arg1
= (wxPen
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2235 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
*resultobj
;
2237 wxPen
*arg1
= (wxPen
*) 0 ;
2238 wxPen
*arg2
= (wxPen
*) 0 ;
2240 PyObject
* obj0
= 0 ;
2241 PyObject
* obj1
= 0 ;
2243 (char *) "self",(char *) "other", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2267 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
*resultobj
;
2269 wxPen
*arg1
= (wxPen
*) 0 ;
2270 wxPen
*arg2
= (wxPen
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2273 PyObject
* obj1
= 0 ;
2275 (char *) "self",(char *) "other", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2299 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxPen
*arg1
= (wxPen
*) 0 ;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "self", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2318 resultobj
= SWIG_FromInt((int)result
);
2325 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2328 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2330 return Py_BuildValue((char *)"");
2332 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxColour
*arg1
= 0 ;
2335 int arg2
= (int) 1 ;
2336 int arg3
= (int) wxSOLID
;
2339 PyObject
* obj0
= 0 ;
2340 PyObject
* obj1
= 0 ;
2341 PyObject
* obj2
= 0 ;
2343 (char *) "colour",(char *) "width",(char *) "style", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2349 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2352 arg2
= (int) SWIG_AsInt(obj1
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2356 arg3
= (int) SWIG_AsInt(obj2
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2373 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2376 PyObject
* obj0
= 0 ;
2378 (char *) "self", NULL
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2391 Py_INCREF(Py_None
); resultobj
= Py_None
;
2398 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2402 wxDash
*arg3
= (wxDash
*) 0 ;
2403 PyObject
* obj0
= 0 ;
2404 PyObject
* obj1
= 0 ;
2406 (char *) "self",(char *) "dashes", NULL
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 arg2
= PyList_Size(obj1
);
2414 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2415 if (arg3
== NULL
) SWIG_fail
;
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 (arg1
)->SetDashes(arg2
,arg3
);
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2424 Py_INCREF(Py_None
); resultobj
= Py_None
;
2426 if (arg3
) delete [] arg3
;
2431 if (arg3
) delete [] arg3
;
2437 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2440 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2442 return Py_BuildValue((char *)"");
2444 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxColour
*arg1
= 0 ;
2447 int arg2
= (int) wxSOLID
;
2450 PyObject
* obj0
= 0 ;
2451 PyObject
* obj1
= 0 ;
2453 (char *) "colour",(char *) "style", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2459 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2462 arg2
= (int) SWIG_AsInt(obj1
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2479 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxBrush
*arg1
= (wxBrush
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "self", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 Py_INCREF(Py_None
); resultobj
= Py_None
;
2504 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxBrush
*arg1
= (wxBrush
*) 0 ;
2507 wxColour
*arg2
= 0 ;
2509 PyObject
* obj0
= 0 ;
2510 PyObject
* obj1
= 0 ;
2512 (char *) "self",(char *) "col", NULL
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2520 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 (arg1
)->SetColour((wxColour
const &)*arg2
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxBrush
*arg1
= (wxBrush
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2541 PyObject
* obj1
= 0 ;
2543 (char *) "self",(char *) "style", NULL
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2549 arg2
= (int) SWIG_AsInt(obj1
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 (arg1
)->SetStyle(arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 Py_INCREF(Py_None
); resultobj
= Py_None
;
2565 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxBrush
*arg1
= (wxBrush
*) 0 ;
2568 wxBitmap
*arg2
= 0 ;
2569 PyObject
* obj0
= 0 ;
2570 PyObject
* obj1
= 0 ;
2572 (char *) "self",(char *) "stipple", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2582 PyErr_SetString(PyExc_TypeError
,"null reference");
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 Py_INCREF(Py_None
); resultobj
= Py_None
;
2599 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxBrush
*arg1
= (wxBrush
*) 0 ;
2603 PyObject
* obj0
= 0 ;
2605 (char *) "self", NULL
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= ((wxBrush
const *)arg1
)->GetColour();
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2619 wxColour
* resultptr
;
2620 resultptr
= new wxColour((wxColour
&) result
);
2621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2629 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxBrush
*arg1
= (wxBrush
*) 0 ;
2633 PyObject
* obj0
= 0 ;
2635 (char *) "self", NULL
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) SWIG_fail
;
2648 resultobj
= SWIG_FromInt((int)result
);
2655 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxBrush
*arg1
= (wxBrush
*) 0 ;
2659 PyObject
* obj0
= 0 ;
2661 (char *) "self", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2681 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxBrush
*arg1
= (wxBrush
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (bool)(arg1
)->Ok();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2709 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2712 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2714 return Py_BuildValue((char *)"");
2716 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
*resultobj
;
2718 wxString
*arg1
= 0 ;
2719 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2721 bool temp1
= False
;
2722 PyObject
* obj0
= 0 ;
2723 PyObject
* obj1
= 0 ;
2725 (char *) "name",(char *) "type", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2730 arg1
= wxString_in_helper(obj0
);
2731 if (arg1
== NULL
) SWIG_fail
;
2735 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2760 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "self", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2778 Py_INCREF(Py_None
); resultobj
= Py_None
;
2785 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
*resultobj
;
2789 PyObject
* obj0
= 0 ;
2791 (char *) "icon", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2799 PyErr_SetString(PyExc_TypeError
,"null reference");
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2816 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2819 int arg2
= (int) -1 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2824 (char *) "image",(char *) "depth", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2832 PyErr_SetString(PyExc_TypeError
,"null reference");
2836 arg2
= (int) SWIG_AsInt(obj1
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2853 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
*resultobj
;
2855 PyObject
*arg1
= (PyObject
*) 0 ;
2857 PyObject
* obj0
= 0 ;
2859 (char *) "listOfStrings", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2878 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 PyObject
*arg1
= (PyObject
*) 0 ;
2883 int arg4
= (int) 1 ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2887 PyObject
* obj2
= 0 ;
2888 PyObject
* obj3
= 0 ;
2890 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2895 arg2
= (int) SWIG_AsInt(obj1
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2897 arg3
= (int) SWIG_AsInt(obj2
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2900 arg4
= (int) SWIG_AsInt(obj3
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2917 static PyObject
*_wrap_new_EmptyBitmap__SWIG_0(PyObject
*self
, PyObject
*args
) {
2918 PyObject
*resultobj
;
2921 int arg3
= (int) -1 ;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2925 PyObject
* obj2
= 0 ;
2927 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_EmptyBitmap",&obj0
,&obj1
,&obj2
)) goto fail
;
2928 arg1
= (int) SWIG_AsInt(obj0
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2930 arg2
= (int) SWIG_AsInt(obj1
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 arg3
= (int) SWIG_AsInt(obj2
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (wxBitmap
*)new_wxBitmap__SWIG_0(arg1
,arg2
,arg3
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2950 static PyObject
*_wrap_new_EmptyBitmap__SWIG_1(PyObject
*self
, PyObject
*args
) {
2951 PyObject
*resultobj
;
2953 int arg2
= (int) -1 ;
2956 PyObject
* obj0
= 0 ;
2957 PyObject
* obj1
= 0 ;
2959 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_EmptyBitmap",&obj0
,&obj1
)) goto fail
;
2962 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
2965 arg2
= (int) SWIG_AsInt(obj1
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= (wxBitmap
*)new_wxBitmap__SWIG_1((wxSize
const &)*arg1
,arg2
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2982 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
) {
2987 argc
= PyObject_Length(args
);
2988 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2991 if ((argc
>= 1) && (argc
<= 2)) {
2994 _v
= wxPySimple_typecheck(argv
[0], wxT("wxSize"), 2);
2998 return _wrap_new_EmptyBitmap__SWIG_1(self
,args
);
3000 _v
= SWIG_CheckInt(argv
[1]);
3002 return _wrap_new_EmptyBitmap__SWIG_1(self
,args
);
3006 if ((argc
>= 2) && (argc
<= 3)) {
3008 _v
= SWIG_CheckInt(argv
[0]);
3010 _v
= SWIG_CheckInt(argv
[1]);
3013 return _wrap_new_EmptyBitmap__SWIG_0(self
,args
);
3015 _v
= SWIG_CheckInt(argv
[2]);
3017 return _wrap_new_EmptyBitmap__SWIG_0(self
,args
);
3023 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_EmptyBitmap'");
3028 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3032 PyObject
* obj0
= 0 ;
3034 (char *) "self", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 result
= (bool)(arg1
)->Ok();
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3056 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3060 PyObject
* obj0
= 0 ;
3062 (char *) "self", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (int)(arg1
)->GetWidth();
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3075 resultobj
= SWIG_FromInt((int)result
);
3082 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3086 PyObject
* obj0
= 0 ;
3088 (char *) "self", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= (int)(arg1
)->GetHeight();
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 resultobj
= SWIG_FromInt((int)result
);
3108 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3112 PyObject
* obj0
= 0 ;
3114 (char *) "self", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= (int)(arg1
)->GetDepth();
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= SWIG_FromInt((int)result
);
3134 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3140 (char *) "self", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= wxBitmap_GetSize(arg1
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3155 resultptr
= new wxSize((wxSize
&) result
);
3156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3164 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3167 SwigValueWrapper
< wxImage
> result
;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "self", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 wxImage
* resultptr
;
3185 resultptr
= new wxImage((wxImage
&) result
);
3186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3194 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
*resultobj
;
3196 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3198 PyObject
* obj0
= 0 ;
3200 (char *) "self", NULL
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3220 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3223 wxMask
*arg2
= (wxMask
*) 0 ;
3224 PyObject
* obj0
= 0 ;
3225 PyObject
* obj1
= 0 ;
3227 (char *) "self",(char *) "mask", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 (arg1
)->SetMask(arg2
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3242 Py_INCREF(Py_None
); resultobj
= Py_None
;
3249 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3251 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3252 wxColour
*arg2
= 0 ;
3254 PyObject
* obj0
= 0 ;
3255 PyObject
* obj1
= 0 ;
3257 (char *) "self",(char *) "colour", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3285 SwigValueWrapper
< wxBitmap
> result
;
3287 PyObject
* obj0
= 0 ;
3288 PyObject
* obj1
= 0 ;
3290 (char *) "self",(char *) "rect", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3308 wxBitmap
* resultptr
;
3309 resultptr
= new wxBitmap((wxBitmap
&) result
);
3310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3318 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
;
3320 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3321 wxString
*arg2
= 0 ;
3323 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3325 bool temp2
= False
;
3326 PyObject
* obj0
= 0 ;
3327 PyObject
* obj1
= 0 ;
3328 PyObject
* obj2
= 0 ;
3329 PyObject
* obj3
= 0 ;
3331 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3338 arg2
= wxString_in_helper(obj1
);
3339 if (arg2
== NULL
) SWIG_fail
;
3342 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3372 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3375 wxString
*arg2
= 0 ;
3378 bool temp2
= False
;
3379 PyObject
* obj0
= 0 ;
3380 PyObject
* obj1
= 0 ;
3381 PyObject
* obj2
= 0 ;
3383 (char *) "self",(char *) "name",(char *) "type", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3390 arg2
= wxString_in_helper(obj1
);
3391 if (arg2
== NULL
) SWIG_fail
;
3394 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3420 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3428 (char *) "self",(char *) "icon", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3438 PyErr_SetString(PyExc_TypeError
,"null reference");
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3457 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3464 (char *) "self",(char *) "height", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 arg2
= (int) SWIG_AsInt(obj1
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 (arg1
)->SetHeight(arg2
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "width", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 arg2
= (int) SWIG_AsInt(obj1
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->SetWidth(arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3515 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3519 PyObject
* obj0
= 0 ;
3520 PyObject
* obj1
= 0 ;
3522 (char *) "self",(char *) "depth", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3528 arg2
= (int) SWIG_AsInt(obj1
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 (arg1
)->SetDepth(arg2
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 Py_INCREF(Py_None
); resultobj
= Py_None
;
3544 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3550 PyObject
* obj1
= 0 ;
3552 (char *) "self",(char *) "size", NULL
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 Py_INCREF(Py_None
); resultobj
= Py_None
;
3576 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3578 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3579 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3584 (char *) "self",(char *) "other", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3608 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3611 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 (char *) "self",(char *) "other", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3640 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3643 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3645 return Py_BuildValue((char *)"");
3647 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
*resultobj
;
3649 wxBitmap
*arg1
= 0 ;
3650 wxColour
const &arg2_defvalue
= wxNullColour
;
3651 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3657 (char *) "bitmap",(char *) "colour", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3665 PyErr_SetString(PyExc_TypeError
,"null reference");
3671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3688 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3691 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3693 return Py_BuildValue((char *)"");
3695 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxString
*arg1
= 0 ;
3699 int arg3
= (int) -1 ;
3700 int arg4
= (int) -1 ;
3702 bool temp1
= False
;
3703 PyObject
* obj0
= 0 ;
3704 PyObject
* obj1
= 0 ;
3705 PyObject
* obj2
= 0 ;
3706 PyObject
* obj3
= 0 ;
3708 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3713 arg1
= wxString_in_helper(obj0
);
3714 if (arg1
== NULL
) SWIG_fail
;
3717 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 arg3
= (int) SWIG_AsInt(obj2
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3724 arg4
= (int) SWIG_AsInt(obj3
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3749 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxIcon
*arg1
= (wxIcon
*) 0 ;
3752 PyObject
* obj0
= 0 ;
3754 (char *) "self", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= (wxIcon
*)new wxIcon();
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3796 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxIconLocation
*arg1
= 0 ;
3800 PyObject
* obj0
= 0 ;
3802 (char *) "loc", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3810 PyErr_SetString(PyExc_TypeError
,"null reference");
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3827 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxBitmap
*arg1
= 0 ;
3831 PyObject
* obj0
= 0 ;
3833 (char *) "bmp", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3841 PyErr_SetString(PyExc_TypeError
,"null reference");
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3858 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 PyObject
*arg1
= (PyObject
*) 0 ;
3862 PyObject
* obj0
= 0 ;
3864 (char *) "listOfStrings", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxIcon
*)new_wxIcon(arg1
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3883 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxIcon
*arg1
= (wxIcon
*) 0 ;
3886 wxString
*arg2
= 0 ;
3889 bool temp2
= False
;
3890 PyObject
* obj0
= 0 ;
3891 PyObject
* obj1
= 0 ;
3892 PyObject
* obj2
= 0 ;
3894 (char *) "self",(char *) "name",(char *) "type", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 arg2
= wxString_in_helper(obj1
);
3902 if (arg2
== NULL
) SWIG_fail
;
3905 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3931 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxIcon
*arg1
= (wxIcon
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3937 (char *) "self", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 result
= (bool)(arg1
)->Ok();
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3959 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxIcon
*arg1
= (wxIcon
*) 0 ;
3963 PyObject
* obj0
= 0 ;
3965 (char *) "self", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 result
= (int)(arg1
)->GetWidth();
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= SWIG_FromInt((int)result
);
3985 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxIcon
*arg1
= (wxIcon
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3991 (char *) "self", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 result
= (int)(arg1
)->GetHeight();
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 resultobj
= SWIG_FromInt((int)result
);
4011 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxIcon
*arg1
= (wxIcon
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4017 (char *) "self", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (int)(arg1
)->GetDepth();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= SWIG_FromInt((int)result
);
4037 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxIcon
*arg1
= (wxIcon
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4042 PyObject
* obj1
= 0 ;
4044 (char *) "self",(char *) "w", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4050 arg2
= (int) SWIG_AsInt(obj1
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 (arg1
)->SetWidth(arg2
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 Py_INCREF(Py_None
); resultobj
= Py_None
;
4066 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4068 wxIcon
*arg1
= (wxIcon
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4073 (char *) "self",(char *) "h", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4079 arg2
= (int) SWIG_AsInt(obj1
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 (arg1
)->SetHeight(arg2
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 Py_INCREF(Py_None
); resultobj
= Py_None
;
4095 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxIcon
*arg1
= (wxIcon
*) 0 ;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4102 (char *) "self",(char *) "d", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 arg2
= (int) SWIG_AsInt(obj1
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 (arg1
)->SetDepth(arg2
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 Py_INCREF(Py_None
); resultobj
= Py_None
;
4124 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxIcon
*arg1
= (wxIcon
*) 0 ;
4127 wxBitmap
*arg2
= 0 ;
4128 PyObject
* obj0
= 0 ;
4129 PyObject
* obj1
= 0 ;
4131 (char *) "self",(char *) "bmp", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4141 PyErr_SetString(PyExc_TypeError
,"null reference");
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 Py_INCREF(Py_None
); resultobj
= Py_None
;
4158 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4161 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4163 return Py_BuildValue((char *)"");
4165 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4168 int arg2
= (int) 0 ;
4169 wxIconLocation
*result
;
4170 bool temp1
= False
;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4174 (char *) "filename",(char *) "num", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 arg1
= wxString_in_helper(obj0
);
4181 if (arg1
== NULL
) SWIG_fail
;
4186 arg2
= (int) SWIG_AsInt(obj1
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4211 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 Py_INCREF(Py_None
); resultobj
= Py_None
;
4236 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "self", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4264 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4267 wxString
*arg2
= 0 ;
4268 bool temp2
= False
;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4272 (char *) "self",(char *) "filename", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4279 arg2
= wxString_in_helper(obj1
);
4280 if (arg2
== NULL
) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 (arg1
)->SetFileName((wxString
const &)*arg2
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 Py_INCREF(Py_None
); resultobj
= Py_None
;
4305 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4311 (char *) "self", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4321 result
= (wxString
*) &_result_ref
;
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4331 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4340 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4344 PyObject
* obj0
= 0 ;
4345 PyObject
* obj1
= 0 ;
4347 (char *) "self",(char *) "num", NULL
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4353 arg2
= (int) SWIG_AsInt(obj1
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 wxIconLocation_SetIndex(arg1
,arg2
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 Py_INCREF(Py_None
); resultobj
= Py_None
;
4369 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4375 (char *) "self", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (int)wxIconLocation_GetIndex(arg1
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= SWIG_FromInt((int)result
);
4395 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4398 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4400 return Py_BuildValue((char *)"");
4402 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxIconBundle
*result
;
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (wxIconBundle
*)new wxIconBundle();
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4424 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxString
*arg1
= 0 ;
4428 wxIconBundle
*result
;
4429 bool temp1
= False
;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4433 (char *) "file",(char *) "type", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4438 arg1
= wxString_in_helper(obj0
);
4439 if (arg1
== NULL
) SWIG_fail
;
4442 arg2
= (long) SWIG_AsLong(obj1
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4466 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4469 wxIconBundle
*result
;
4470 PyObject
* obj0
= 0 ;
4472 (char *) "icon", NULL
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4480 PyErr_SetString(PyExc_TypeError
,"null reference");
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4497 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4500 PyObject
* obj0
= 0 ;
4502 (char *) "self", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 Py_INCREF(Py_None
); resultobj
= Py_None
;
4522 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4529 (char *) "self",(char *) "icon", NULL
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4539 PyErr_SetString(PyExc_TypeError
,"null reference");
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 Py_INCREF(Py_None
); resultobj
= Py_None
;
4556 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4559 wxString
*arg2
= 0 ;
4561 bool temp2
= False
;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4564 PyObject
* obj2
= 0 ;
4566 (char *) "self",(char *) "file",(char *) "type", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4573 arg2
= wxString_in_helper(obj1
);
4574 if (arg2
== NULL
) SWIG_fail
;
4577 arg3
= (long) SWIG_AsLong(obj2
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 Py_INCREF(Py_None
); resultobj
= Py_None
;
4601 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4610 (char *) "self",(char *) "size", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4624 result
= (wxIcon
*) &_result_ref
;
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 wxIcon
* resultptr
= new wxIcon(*result
);
4632 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4640 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4643 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4645 return Py_BuildValue((char *)"");
4647 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxString
*arg1
= (wxString
*) 0 ;
4651 int arg3
= (int) 0 ;
4652 int arg4
= (int) 0 ;
4654 bool temp1
= False
;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 PyObject
* obj2
= 0 ;
4658 PyObject
* obj3
= 0 ;
4660 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4665 arg1
= wxString_in_helper(obj0
);
4666 if (arg1
== NULL
) SWIG_fail
;
4669 arg2
= (long) SWIG_AsLong(obj1
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 arg3
= (int) SWIG_AsInt(obj2
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4676 arg4
= (int) SWIG_AsInt(obj3
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4701 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
*resultobj
;
4703 wxCursor
*arg1
= (wxCursor
*) 0 ;
4704 PyObject
* obj0
= 0 ;
4706 (char *) "self", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4719 Py_INCREF(Py_None
); resultobj
= Py_None
;
4726 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
*resultobj
;
4730 PyObject
* obj0
= 0 ;
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4736 arg1
= (int) SWIG_AsInt(obj0
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (wxCursor
*)new wxCursor(arg1
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4752 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "image", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4766 PyErr_SetString(PyExc_TypeError
,"null reference");
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4783 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxCursor
*arg1
= (wxCursor
*) 0 ;
4787 PyObject
* obj0
= 0 ;
4789 (char *) "self", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 result
= (bool)(arg1
)->Ok();
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4811 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4814 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4816 return Py_BuildValue((char *)"");
4818 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 int arg1
= (int) 0 ;
4821 int arg2
= (int) 0 ;
4822 int arg3
= (int) 0 ;
4823 int arg4
= (int) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4827 PyObject
* obj2
= 0 ;
4828 PyObject
* obj3
= 0 ;
4830 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4835 arg1
= (int) SWIG_AsInt(obj0
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4839 arg2
= (int) SWIG_AsInt(obj1
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 arg3
= (int) SWIG_AsInt(obj2
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 arg4
= (int) SWIG_AsInt(obj3
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4864 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxBitmap
*arg1
= 0 ;
4867 wxColour
const &arg2_defvalue
= wxNullColour
;
4868 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4869 int arg3
= (int) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 PyObject
* obj2
= 0 ;
4876 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4884 PyErr_SetString(PyExc_TypeError
,"null reference");
4890 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4894 arg3
= (int) SWIG_AsInt(obj2
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4911 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4914 wxPoint
*arg2
= (wxPoint
*) 0 ;
4915 int arg3
= (int) wxWINDING_RULE
;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4920 (char *) "points",(char *) "fillStyle", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4925 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4926 if (arg2
== NULL
) SWIG_fail
;
4929 arg3
= (int) SWIG_AsInt(obj1
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4941 if (arg2
) delete [] arg2
;
4946 if (arg2
) delete [] arg2
;
4952 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxRegion
*arg1
= (wxRegion
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "self", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 Py_INCREF(Py_None
); resultobj
= Py_None
;
4977 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxRegion
*arg1
= (wxRegion
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4982 (char *) "self", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 Py_INCREF(Py_None
); resultobj
= Py_None
;
5002 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxRegion
*arg1
= (wxRegion
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5010 PyObject
* obj2
= 0 ;
5012 (char *) "self",(char *) "x",(char *) "y", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5018 arg2
= (int) SWIG_AsInt(obj1
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5020 arg3
= (int) SWIG_AsInt(obj2
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5038 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxRegion
*arg1
= (wxRegion
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 PyObject
* obj2
= 0 ;
5048 (char *) "self",(char *) "x",(char *) "y", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5054 arg2
= (int) SWIG_AsInt(obj1
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5056 arg3
= (int) SWIG_AsInt(obj2
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_FromInt((int)result
);
5072 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxRegion
*arg1
= (wxRegion
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5081 (char *) "self",(char *) "pt", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_FromInt((int)result
);
5105 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxRegion
*arg1
= (wxRegion
*) 0 ;
5111 PyObject
* obj0
= 0 ;
5112 PyObject
* obj1
= 0 ;
5114 (char *) "self",(char *) "rect", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_FromInt((int)result
);
5138 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxRegion
*arg1
= (wxRegion
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 PyObject
* obj2
= 0 ;
5149 PyObject
* obj3
= 0 ;
5150 PyObject
* obj4
= 0 ;
5152 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 arg2
= (int) SWIG_AsInt(obj1
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5160 arg3
= (int) SWIG_AsInt(obj2
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5162 arg4
= (int) SWIG_AsInt(obj3
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5164 arg5
= (int) SWIG_AsInt(obj4
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_FromInt((int)result
);
5180 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxRegion
*arg1
= (wxRegion
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5186 (char *) "self", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (arg1
)->GetBox();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5201 resultptr
= new wxRect((wxRect
&) result
);
5202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5210 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxRegion
*arg1
= (wxRegion
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 PyObject
* obj2
= 0 ;
5221 PyObject
* obj3
= 0 ;
5222 PyObject
* obj4
= 0 ;
5224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 arg2
= (int) SWIG_AsInt(obj1
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5232 arg3
= (int) SWIG_AsInt(obj2
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5234 arg4
= (int) SWIG_AsInt(obj3
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5236 arg5
= (int) SWIG_AsInt(obj4
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5254 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxRegion
*arg1
= (wxRegion
*) 0 ;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5263 (char *) "self",(char *) "rect", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5271 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5289 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxRegion
*arg1
= (wxRegion
*) 0 ;
5292 wxRegion
*arg2
= 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5297 (char *) "self",(char *) "region", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5307 PyErr_SetString(PyExc_TypeError
,"null reference");
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5326 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxRegion
*arg1
= (wxRegion
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5332 (char *) "self", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (bool)(arg1
)->IsEmpty();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5354 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxRegion
*arg1
= (wxRegion
*) 0 ;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5364 PyObject
* obj2
= 0 ;
5365 PyObject
* obj3
= 0 ;
5366 PyObject
* obj4
= 0 ;
5368 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 arg2
= (int) SWIG_AsInt(obj1
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5376 arg3
= (int) SWIG_AsInt(obj2
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5378 arg4
= (int) SWIG_AsInt(obj3
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5380 arg5
= (int) SWIG_AsInt(obj4
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5398 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5400 wxRegion
*arg1
= (wxRegion
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "rect", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5415 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5433 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxRegion
*arg1
= (wxRegion
*) 0 ;
5436 wxRegion
*arg2
= 0 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "region", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5451 PyErr_SetString(PyExc_TypeError
,"null reference");
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5470 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxRegion
*arg1
= (wxRegion
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5480 PyObject
* obj2
= 0 ;
5481 PyObject
* obj3
= 0 ;
5482 PyObject
* obj4
= 0 ;
5484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 arg2
= (int) SWIG_AsInt(obj1
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5492 arg3
= (int) SWIG_AsInt(obj2
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5494 arg4
= (int) SWIG_AsInt(obj3
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5496 arg5
= (int) SWIG_AsInt(obj4
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5514 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxRegion
*arg1
= (wxRegion
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5523 (char *) "self",(char *) "rect", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5531 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5549 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
*resultobj
;
5551 wxRegion
*arg1
= (wxRegion
*) 0 ;
5552 wxRegion
*arg2
= 0 ;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5557 (char *) "self",(char *) "region", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5567 PyErr_SetString(PyExc_TypeError
,"null reference");
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5586 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxRegion
*arg1
= (wxRegion
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 PyObject
* obj2
= 0 ;
5597 PyObject
* obj3
= 0 ;
5598 PyObject
* obj4
= 0 ;
5600 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5606 arg2
= (int) SWIG_AsInt(obj1
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5608 arg3
= (int) SWIG_AsInt(obj2
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5610 arg4
= (int) SWIG_AsInt(obj3
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5612 arg5
= (int) SWIG_AsInt(obj4
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5630 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxRegion
*arg1
= (wxRegion
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5639 (char *) "self",(char *) "rect", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5665 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxRegion
*arg1
= (wxRegion
*) 0 ;
5668 wxRegion
*arg2
= 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5673 (char *) "self",(char *) "region", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5683 PyErr_SetString(PyExc_TypeError
,"null reference");
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5702 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxRegion
*arg1
= (wxRegion
*) 0 ;
5705 SwigValueWrapper
< wxBitmap
> result
;
5706 PyObject
* obj0
= 0 ;
5708 (char *) "self", NULL
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 result
= (arg1
)->ConvertToBitmap();
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5722 wxBitmap
* resultptr
;
5723 resultptr
= new wxBitmap((wxBitmap
&) result
);
5724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5732 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxRegion
*arg1
= (wxRegion
*) 0 ;
5735 wxBitmap
*arg2
= 0 ;
5736 wxColour
const &arg3_defvalue
= wxNullColour
;
5737 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5738 int arg4
= (int) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5743 PyObject
* obj2
= 0 ;
5744 PyObject
* obj3
= 0 ;
5746 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5756 PyErr_SetString(PyExc_TypeError
,"null reference");
5762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5766 arg4
= (int) SWIG_AsInt(obj3
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5785 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5788 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5790 return Py_BuildValue((char *)"");
5792 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxRegion
*arg1
= 0 ;
5795 wxRegionIterator
*result
;
5796 PyObject
* obj0
= 0 ;
5798 (char *) "region", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5806 PyErr_SetString(PyExc_TypeError
,"null reference");
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5823 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5828 (char *) "self", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 Py_INCREF(Py_None
); resultobj
= Py_None
;
5848 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
;
5850 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5852 PyObject
* obj0
= 0 ;
5854 (char *) "self", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (int)(arg1
)->GetX();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_FromInt((int)result
);
5874 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",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();
5888 result
= (int)(arg1
)->GetY();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_FromInt((int)result
);
5900 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5904 PyObject
* obj0
= 0 ;
5906 (char *) "self", NULL
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (int)(arg1
)->GetW();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_FromInt((int)result
);
5926 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5932 (char *) "self", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= (int)(arg1
)->GetWidth();
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_FromInt((int)result
);
5952 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5956 PyObject
* obj0
= 0 ;
5958 (char *) "self", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= (int)(arg1
)->GetH();
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= SWIG_FromInt((int)result
);
5978 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "self", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (int)(arg1
)->GetHeight();
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= SWIG_FromInt((int)result
);
6004 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6008 PyObject
* obj0
= 0 ;
6010 (char *) "self", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (arg1
)->GetRect();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6025 resultptr
= new wxRect((wxRect
&) result
);
6026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6034 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6040 (char *) "self", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (bool)(arg1
)->HaveRects();
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6062 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6065 PyObject
* obj0
= 0 ;
6067 (char *) "self", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 Py_INCREF(Py_None
); resultobj
= Py_None
;
6087 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6090 PyObject
* obj0
= 0 ;
6092 (char *) "self", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 wxRegionIterator_Next(arg1
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 Py_INCREF(Py_None
); resultobj
= Py_None
;
6112 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6118 (char *) "self", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6140 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6143 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6145 return Py_BuildValue((char *)"");
6147 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxNativeFontInfo
*result
;
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6169 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "self", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 Py_INCREF(Py_None
); resultobj
= Py_None
;
6219 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6226 (char *) "self",(char *) "font", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6236 PyErr_SetString(PyExc_TypeError
,"null reference");
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 Py_INCREF(Py_None
); resultobj
= Py_None
;
6253 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6259 (char *) "self", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_FromInt((int)result
);
6279 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_FromInt((int)result
);
6305 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_FromInt((int)result
);
6331 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6359 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6391 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6397 (char *) "self", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_FromInt((int)result
);
6417 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_FromInt((int)result
);
6443 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6448 PyObject
* obj1
= 0 ;
6450 (char *) "self",(char *) "pointsize", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 arg2
= (int) SWIG_AsInt(obj1
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 (arg1
)->SetPointSize(arg2
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 Py_INCREF(Py_None
); resultobj
= Py_None
;
6472 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6479 (char *) "self",(char *) "style", NULL
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 Py_INCREF(Py_None
); resultobj
= Py_None
;
6501 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6508 (char *) "self",(char *) "weight", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6514 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 Py_INCREF(Py_None
); resultobj
= Py_None
;
6530 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6535 PyObject
* obj1
= 0 ;
6537 (char *) "self",(char *) "underlined", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6543 arg2
= (bool) SWIG_AsBool(obj1
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 (arg1
)->SetUnderlined(arg2
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6566 (char *) "self",(char *) "facename", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6573 wxString
* sptr
= wxString_in_helper(obj1
);
6574 if (sptr
== NULL
) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 (arg1
)->SetFaceName(arg2
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 Py_INCREF(Py_None
); resultobj
= Py_None
;
6592 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6599 (char *) "self",(char *) "family", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6605 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 Py_INCREF(Py_None
); resultobj
= Py_None
;
6621 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
;
6623 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6625 PyObject
* obj0
= 0 ;
6626 PyObject
* obj1
= 0 ;
6628 (char *) "self",(char *) "encoding", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6634 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 Py_INCREF(Py_None
); resultobj
= Py_None
;
6650 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6653 wxString
*arg2
= 0 ;
6655 bool temp2
= False
;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6659 (char *) "self",(char *) "s", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6666 arg2
= wxString_in_helper(obj1
);
6667 if (arg2
== NULL
) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6694 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6698 PyObject
* obj0
= 0 ;
6700 (char *) "self", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6726 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "self", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= wxNativeFontInfo___str__(arg1
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6758 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6761 wxString
*arg2
= 0 ;
6763 bool temp2
= False
;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6767 (char *) "self",(char *) "s", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6774 arg2
= wxString_in_helper(obj1
);
6775 if (arg2
== NULL
) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6802 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6806 PyObject
* obj0
= 0 ;
6808 (char *) "self", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6834 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6837 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6839 return Py_BuildValue((char *)"");
6841 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6844 wxString
*arg2
= (wxString
*) 0 ;
6845 bool temp2
= False
;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6849 (char *) "self",(char *) "facename", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6856 arg2
= wxString_in_helper(obj1
);
6857 if (arg2
== NULL
) SWIG_fail
;
6860 if (arg1
) (arg1
)->facename
= *arg2
;
6862 Py_INCREF(Py_None
); resultobj
= Py_None
;
6877 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6883 (char *) "self", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 result
= (wxString
*)& ((arg1
)->facename
);
6893 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6895 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6904 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6906 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6911 (char *) "self",(char *) "encoding", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6917 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6919 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6921 Py_INCREF(Py_None
); resultobj
= Py_None
;
6928 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6934 (char *) "self", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6940 result
= (int) ((arg1
)->encoding
);
6942 resultobj
= SWIG_FromInt((int)result
);
6949 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxNativeEncodingInfo
*result
;
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6971 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 Py_INCREF(Py_None
); resultobj
= Py_None
;
6996 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6999 wxString
*arg2
= 0 ;
7001 bool temp2
= False
;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7005 (char *) "self",(char *) "s", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 arg2
= wxString_in_helper(obj1
);
7013 if (arg2
== NULL
) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7040 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
;
7042 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7044 PyObject
* obj0
= 0 ;
7046 (char *) "self", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7072 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7075 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7077 return Py_BuildValue((char *)"");
7079 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7082 wxNativeEncodingInfo
*result
;
7083 PyObject
* obj0
= 0 ;
7085 (char *) "encoding", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7089 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7105 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxNativeEncodingInfo
*arg1
= 0 ;
7109 PyObject
* obj0
= 0 ;
7111 (char *) "info", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7119 PyErr_SetString(PyExc_TypeError
,"null reference");
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7138 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxFontMapper
*result
;
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (wxFontMapper
*)new wxFontMapper();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7160 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7165 (char *) "self", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 Py_INCREF(Py_None
); resultobj
= Py_None
;
7185 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxFontMapper
*result
;
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 result
= (wxFontMapper
*)wxFontMapper::Get();
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7207 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7210 wxFontMapper
*result
;
7211 PyObject
* obj0
= 0 ;
7213 (char *) "mapper", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7233 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7236 wxString
*arg2
= 0 ;
7237 bool arg3
= (bool) True
;
7239 bool temp2
= False
;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7242 PyObject
* obj2
= 0 ;
7244 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7251 arg2
= wxString_in_helper(obj1
);
7252 if (arg2
== NULL
) SWIG_fail
;
7256 arg3
= (bool) SWIG_AsBool(obj2
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_FromInt((int)result
);
7281 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7303 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7307 PyObject
* obj0
= 0 ;
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7313 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (int)wxFontMapper::GetEncoding(arg1
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_FromInt((int)result
);
7329 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7333 PyObject
* obj0
= 0 ;
7335 (char *) "encoding", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7339 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7361 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "encoding", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7371 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7393 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxString
*arg1
= 0 ;
7397 bool temp1
= False
;
7398 PyObject
* obj0
= 0 ;
7400 (char *) "name", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7405 arg1
= wxString_in_helper(obj0
);
7406 if (arg1
== NULL
) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_FromInt((int)result
);
7431 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7434 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7438 (char *) "self",(char *) "config", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 (arg1
)->SetConfig(arg2
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7463 wxString
*arg2
= 0 ;
7464 bool temp2
= False
;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7468 (char *) "self",(char *) "prefix", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7475 arg2
= wxString_in_helper(obj1
);
7476 if (arg2
== NULL
) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= wxFontMapper::GetDefaultConfigPath();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7529 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7535 bool arg4
= (bool) True
;
7537 bool temp3
= False
;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7540 PyObject
* obj2
= 0 ;
7541 PyObject
* obj3
= 0 ;
7543 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7549 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 arg3
= wxString_in_helper(obj2
);
7554 if (arg3
== NULL
) SWIG_fail
;
7559 arg4
= (bool) SWIG_AsBool(obj3
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7584 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7588 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7589 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7591 bool temp3
= False
;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7594 PyObject
* obj2
= 0 ;
7596 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7606 arg3
= wxString_in_helper(obj2
);
7607 if (arg3
== NULL
) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7635 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7637 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7638 wxWindow
*arg2
= (wxWindow
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7642 (char *) "self",(char *) "parent", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 (arg1
)->SetDialogParent(arg2
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 Py_INCREF(Py_None
); resultobj
= Py_None
;
7664 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7667 wxString
*arg2
= 0 ;
7668 bool temp2
= False
;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7672 (char *) "self",(char *) "title", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7679 arg2
= wxString_in_helper(obj1
);
7680 if (arg2
== NULL
) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 Py_INCREF(Py_None
); resultobj
= Py_None
;
7705 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7708 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7710 return Py_BuildValue((char *)"");
7712 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7718 bool arg5
= (bool) False
;
7719 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7720 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7721 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7723 bool temp6
= False
;
7724 PyObject
* obj0
= 0 ;
7725 PyObject
* obj1
= 0 ;
7726 PyObject
* obj2
= 0 ;
7727 PyObject
* obj3
= 0 ;
7728 PyObject
* obj4
= 0 ;
7729 PyObject
* obj5
= 0 ;
7730 PyObject
* obj6
= 0 ;
7732 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7736 arg1
= (int) SWIG_AsInt(obj0
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7738 arg2
= (int) SWIG_AsInt(obj1
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7740 arg3
= (int) SWIG_AsInt(obj2
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7742 arg4
= (int) SWIG_AsInt(obj3
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 arg5
= (bool) SWIG_AsBool(obj4
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7750 arg6
= wxString_in_helper(obj5
);
7751 if (arg6
== NULL
) SWIG_fail
;
7756 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7781 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxFont
*arg1
= (wxFont
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7786 (char *) "self", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxNativeFontInfo
*arg1
= 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "info", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7820 PyErr_SetString(PyExc_TypeError
,"null reference");
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7837 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxString
*arg1
= 0 ;
7841 bool temp1
= False
;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "info", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7849 arg1
= wxString_in_helper(obj0
);
7850 if (arg1
== NULL
) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7875 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7879 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7880 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7881 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7882 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7884 bool temp4
= False
;
7885 PyObject
* obj0
= 0 ;
7886 PyObject
* obj1
= 0 ;
7887 PyObject
* obj2
= 0 ;
7888 PyObject
* obj3
= 0 ;
7889 PyObject
* obj4
= 0 ;
7891 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7895 arg1
= (int) SWIG_AsInt(obj0
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7897 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 arg3
= (int) SWIG_AsInt(obj2
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7905 arg4
= wxString_in_helper(obj3
);
7906 if (arg4
== NULL
) SWIG_fail
;
7911 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7936 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxFont
*arg1
= (wxFont
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (bool)((wxFont
const *)arg1
)->Ok();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7964 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxFont
*arg1
= (wxFont
*) 0 ;
7967 wxFont
*arg2
= (wxFont
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7972 (char *) "self",(char *) "other", NULL
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7996 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxFont
*arg1
= (wxFont
*) 0 ;
7999 wxFont
*arg2
= (wxFont
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8004 (char *) "self",(char *) "other", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8028 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxFont
*arg1
= (wxFont
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= SWIG_FromInt((int)result
);
8054 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxFont
*arg1
= (wxFont
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "self", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_FromInt((int)result
);
8080 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxFont
*arg1
= (wxFont
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8086 (char *) "self", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_FromInt((int)result
);
8106 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxFont
*arg1
= (wxFont
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= SWIG_FromInt((int)result
);
8132 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxFont
*arg1
= (wxFont
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8160 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxFont
*arg1
= (wxFont
*) 0 ;
8164 PyObject
* obj0
= 0 ;
8166 (char *) "self", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 result
= ((wxFont
const *)arg1
)->GetFaceName();
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8192 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxFont
*arg1
= (wxFont
*) 0 ;
8196 PyObject
* obj0
= 0 ;
8198 (char *) "self", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= SWIG_FromInt((int)result
);
8218 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8220 wxFont
*arg1
= (wxFont
*) 0 ;
8221 wxNativeFontInfo
*result
;
8222 PyObject
* obj0
= 0 ;
8224 (char *) "self", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8244 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxFont
*arg1
= (wxFont
*) 0 ;
8248 PyObject
* obj0
= 0 ;
8250 (char *) "self", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8272 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxFont
*arg1
= (wxFont
*) 0 ;
8276 PyObject
* obj0
= 0 ;
8278 (char *) "self", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8304 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxFont
*arg1
= (wxFont
*) 0 ;
8308 PyObject
* obj0
= 0 ;
8310 (char *) "self", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8336 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxFont
*arg1
= (wxFont
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8343 (char *) "self",(char *) "pointSize", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8349 arg2
= (int) SWIG_AsInt(obj1
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 (arg1
)->SetPointSize(arg2
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 Py_INCREF(Py_None
); resultobj
= Py_None
;
8365 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxFont
*arg1
= (wxFont
*) 0 ;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8372 (char *) "self",(char *) "family", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8378 arg2
= (int) SWIG_AsInt(obj1
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 (arg1
)->SetFamily(arg2
);
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 Py_INCREF(Py_None
); resultobj
= Py_None
;
8394 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxFont
*arg1
= (wxFont
*) 0 ;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8401 (char *) "self",(char *) "style", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8407 arg2
= (int) SWIG_AsInt(obj1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 (arg1
)->SetStyle(arg2
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 Py_INCREF(Py_None
); resultobj
= Py_None
;
8423 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxFont
*arg1
= (wxFont
*) 0 ;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8430 (char *) "self",(char *) "weight", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 arg2
= (int) SWIG_AsInt(obj1
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 (arg1
)->SetWeight(arg2
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8452 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxFont
*arg1
= (wxFont
*) 0 ;
8455 wxString
*arg2
= 0 ;
8456 bool temp2
= False
;
8457 PyObject
* obj0
= 0 ;
8458 PyObject
* obj1
= 0 ;
8460 (char *) "self",(char *) "faceName", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 arg2
= wxString_in_helper(obj1
);
8468 if (arg2
== NULL
) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8493 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
;
8495 wxFont
*arg1
= (wxFont
*) 0 ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8500 (char *) "self",(char *) "underlined", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8506 arg2
= (bool) SWIG_AsBool(obj1
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 (arg1
)->SetUnderlined(arg2
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8522 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxFont
*arg1
= (wxFont
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "encoding", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 Py_INCREF(Py_None
); resultobj
= Py_None
;
8551 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxFont
*arg1
= (wxFont
*) 0 ;
8554 wxNativeFontInfo
*arg2
= 0 ;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8558 (char *) "self",(char *) "info", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8568 PyErr_SetString(PyExc_TypeError
,"null reference");
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8578 Py_INCREF(Py_None
); resultobj
= Py_None
;
8585 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
;
8587 wxFont
*arg1
= (wxFont
*) 0 ;
8588 wxString
*arg2
= 0 ;
8589 bool temp2
= False
;
8590 PyObject
* obj0
= 0 ;
8591 PyObject
* obj1
= 0 ;
8593 (char *) "self",(char *) "info", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8600 arg2
= wxString_in_helper(obj1
);
8601 if (arg2
== NULL
) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 Py_INCREF(Py_None
); resultobj
= Py_None
;
8626 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
;
8628 wxFont
*arg1
= (wxFont
*) 0 ;
8629 wxString
*arg2
= 0 ;
8630 bool temp2
= False
;
8631 PyObject
* obj0
= 0 ;
8632 PyObject
* obj1
= 0 ;
8634 (char *) "self",(char *) "info", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8641 arg2
= wxString_in_helper(obj1
);
8642 if (arg2
== NULL
) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 Py_INCREF(Py_None
); resultobj
= Py_None
;
8667 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8669 wxFont
*arg1
= (wxFont
*) 0 ;
8671 PyObject
* obj0
= 0 ;
8673 (char *) "self", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8699 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxFont
*arg1
= (wxFont
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8705 (char *) "self", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= ((wxFont
const *)arg1
)->GetStyleString();
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8731 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
;
8733 wxFont
*arg1
= (wxFont
*) 0 ;
8735 PyObject
* obj0
= 0 ;
8737 (char *) "self", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= ((wxFont
const *)arg1
)->GetWeightString();
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8763 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxFont
*arg1
= (wxFont
*) 0 ;
8766 bool arg2
= (bool) True
;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8770 (char *) "self",(char *) "no", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8777 arg2
= (bool) SWIG_AsBool(obj1
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetNoAntiAliasing(arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxFont
*arg1
= (wxFont
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8800 (char *) "self", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (bool)(arg1
)->GetNoAntiAliasing();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8822 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (int)wxFont::GetDefaultEncoding();
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_FromInt((int)result
);
8844 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8847 PyObject
* obj0
= 0 ;
8849 (char *) "encoding", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8853 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 Py_INCREF(Py_None
); resultobj
= Py_None
;
8869 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8872 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8874 return Py_BuildValue((char *)"");
8876 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxPyFontEnumerator
*result
;
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8898 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8926 PyObject
*arg2
= (PyObject
*) 0 ;
8927 PyObject
*arg3
= (PyObject
*) 0 ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 PyObject
* obj2
= 0 ;
8932 PyObject
* obj3
= 0 ;
8934 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8942 arg4
= (bool) SWIG_AsBool(obj3
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8958 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8961 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8962 bool arg3
= (bool) False
;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 PyObject
* obj2
= 0 ;
8968 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8975 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8979 arg3
= (bool) SWIG_AsBool(obj2
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8998 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9001 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9002 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9004 bool temp2
= False
;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9008 (char *) "self",(char *) "facename", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= wxString_in_helper(obj1
);
9017 if (arg2
== NULL
) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9045 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9051 (char *) "self", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9071 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9077 (char *) "self", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9097 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9100 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9102 return Py_BuildValue((char *)"");
9104 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9111 (char *) "self",(char *) "Language", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9117 arg2
= (int) SWIG_AsInt(obj1
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9119 if (arg1
) (arg1
)->Language
= arg2
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9140 result
= (int) ((arg1
)->Language
);
9142 resultobj
= SWIG_FromInt((int)result
);
9149 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9152 wxString
*arg2
= (wxString
*) 0 ;
9153 bool temp2
= False
;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9157 (char *) "self",(char *) "CanonicalName", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 arg2
= wxString_in_helper(obj1
);
9165 if (arg2
== NULL
) SWIG_fail
;
9168 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9185 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9201 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9203 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9212 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9215 wxString
*arg2
= (wxString
*) 0 ;
9216 bool temp2
= False
;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9220 (char *) "self",(char *) "Description", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 arg2
= wxString_in_helper(obj1
);
9228 if (arg2
== NULL
) SWIG_fail
;
9231 if (arg1
) (arg1
)->Description
= *arg2
;
9233 Py_INCREF(Py_None
); resultobj
= Py_None
;
9248 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9252 PyObject
* obj0
= 0 ;
9254 (char *) "self", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 result
= (wxString
*)& ((arg1
)->Description
);
9264 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9266 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9275 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9278 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9280 return Py_BuildValue((char *)"");
9282 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9285 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9290 (char *) "language",(char *) "flags", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9295 arg1
= (int) SWIG_AsInt(obj0
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 arg2
= (int) SWIG_AsInt(obj1
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9316 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxLocale
*arg1
= (wxLocale
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9321 (char *) "self", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9341 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxLocale
*arg1
= (wxLocale
*) 0 ;
9344 wxString
*arg2
= 0 ;
9345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9347 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9349 bool arg5
= (bool) True
;
9350 bool arg6
= (bool) False
;
9352 bool temp2
= False
;
9353 bool temp3
= False
;
9354 bool temp4
= False
;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9357 PyObject
* obj2
= 0 ;
9358 PyObject
* obj3
= 0 ;
9359 PyObject
* obj4
= 0 ;
9360 PyObject
* obj5
= 0 ;
9362 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9369 arg2
= wxString_in_helper(obj1
);
9370 if (arg2
== NULL
) SWIG_fail
;
9375 arg3
= wxString_in_helper(obj2
);
9376 if (arg3
== NULL
) SWIG_fail
;
9382 arg4
= wxString_in_helper(obj3
);
9383 if (arg4
== NULL
) SWIG_fail
;
9388 arg5
= (bool) SWIG_AsBool(obj4
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9392 arg6
= (bool) SWIG_AsBool(obj5
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9435 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxLocale
*arg1
= (wxLocale
*) 0 ;
9438 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9439 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9443 PyObject
* obj2
= 0 ;
9445 (char *) "self",(char *) "language",(char *) "flags", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 arg2
= (int) SWIG_AsInt(obj1
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9456 arg3
= (int) SWIG_AsInt(obj2
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9475 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (int)wxLocale::GetSystemLanguage();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_FromInt((int)result
);
9497 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (int)wxLocale::GetSystemEncoding();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_FromInt((int)result
);
9519 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= wxLocale::GetSystemEncodingName();
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9547 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxLocale
*arg1
= (wxLocale
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9575 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxLocale
*arg1
= (wxLocale
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= ((wxLocale
const *)arg1
)->GetLocale();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9607 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxLocale
*arg1
= (wxLocale
*) 0 ;
9611 PyObject
* obj0
= 0 ;
9613 (char *) "self", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_FromInt((int)result
);
9633 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxLocale
*arg1
= (wxLocale
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9639 (char *) "self", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= ((wxLocale
const *)arg1
)->GetSysName();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9665 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxLocale
*arg1
= (wxLocale
*) 0 ;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "self", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9697 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxString
*arg1
= 0 ;
9700 bool temp1
= False
;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "prefix", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9708 arg1
= wxString_in_helper(obj0
);
9709 if (arg1
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 Py_INCREF(Py_None
); resultobj
= Py_None
;
9734 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxLocale
*arg1
= (wxLocale
*) 0 ;
9737 wxString
*arg2
= 0 ;
9739 bool temp2
= False
;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9743 (char *) "self",(char *) "szDomain", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 arg2
= wxString_in_helper(obj1
);
9751 if (arg2
== NULL
) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxLocale
*arg1
= (wxLocale
*) 0 ;
9781 wxString
*arg2
= 0 ;
9783 bool temp2
= False
;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9787 (char *) "self",(char *) "szDomain", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 arg2
= wxString_in_helper(obj1
);
9795 if (arg2
== NULL
) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9822 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9825 wxLanguageInfo
*result
;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "lang", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9832 arg1
= (int) SWIG_AsInt(obj0
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9848 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "lang", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9858 arg1
= (int) SWIG_AsInt(obj0
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= wxLocale::GetLanguageName(arg1
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9880 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxString
*arg1
= 0 ;
9883 wxLanguageInfo
*result
;
9884 bool temp1
= False
;
9885 PyObject
* obj0
= 0 ;
9887 (char *) "locale", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9892 arg1
= wxString_in_helper(obj0
);
9893 if (arg1
== NULL
) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9918 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxLanguageInfo
*arg1
= 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "info", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9931 PyErr_SetString(PyExc_TypeError
,"null reference");
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 Py_INCREF(Py_None
); resultobj
= Py_None
;
9948 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxLocale
*arg1
= (wxLocale
*) 0 ;
9951 wxString
*arg2
= 0 ;
9952 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9953 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9955 bool temp2
= False
;
9956 bool temp3
= False
;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9959 PyObject
* obj2
= 0 ;
9961 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9968 arg2
= wxString_in_helper(obj1
);
9969 if (arg2
== NULL
) SWIG_fail
;
9974 arg3
= wxString_in_helper(obj2
);
9975 if (arg3
== NULL
) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10015 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxLocale
*arg1
= (wxLocale
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10031 result
= (wxString
*) &_result_ref
;
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10041 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10050 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10053 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10055 return Py_BuildValue((char *)"");
10057 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10060 char *kwnames
[] = {
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (wxLocale
*)wxGetLocale();
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10079 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10080 PyObject
*resultobj
;
10081 wxString
*arg1
= 0 ;
10083 bool temp1
= False
;
10084 PyObject
* obj0
= 0 ;
10086 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10088 arg1
= wxString_in_helper(obj0
);
10089 if (arg1
== NULL
) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= wxGetTranslation((wxString
const &)*arg1
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10120 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10121 PyObject
*resultobj
;
10122 wxString
*arg1
= 0 ;
10123 wxString
*arg2
= 0 ;
10126 bool temp1
= False
;
10127 bool temp2
= False
;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 PyObject
* obj2
= 0 ;
10132 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10134 arg1
= wxString_in_helper(obj0
);
10135 if (arg1
== NULL
) SWIG_fail
;
10139 arg2
= wxString_in_helper(obj1
);
10140 if (arg2
== NULL
) SWIG_fail
;
10143 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10181 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10186 argc
= PyObject_Length(args
);
10187 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10188 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10193 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10196 return _wrap_GetTranslation__SWIG_0(self
,args
);
10202 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10206 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10209 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10211 return _wrap_GetTranslation__SWIG_1(self
,args
);
10217 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10222 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxEncodingConverter
*result
;
10225 char *kwnames
[] = {
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10244 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10274 int arg4
= (int) wxCONVERT_STRICT
;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 PyObject
* obj2
= 0 ;
10279 PyObject
* obj3
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10287 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10289 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 arg4
= (int) SWIG_AsInt(obj3
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10311 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10314 wxString
*arg2
= 0 ;
10316 bool temp2
= False
;
10317 PyObject
* obj0
= 0 ;
10318 PyObject
* obj1
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self",(char *) "input", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 arg2
= wxString_in_helper(obj1
);
10328 if (arg2
== NULL
) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10359 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10362 int arg2
= (int) wxPLATFORM_CURRENT
;
10363 wxFontEncodingArray result
;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "enc",(char *) "platform", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10371 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 arg2
= (int) SWIG_AsInt(obj1
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= PyList_New(0);
10386 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10387 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10388 PyList_Append(resultobj
, number
);
10398 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10401 wxFontEncodingArray result
;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "enc", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10408 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= PyList_New(0);
10419 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10420 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10421 PyList_Append(resultobj
, number
);
10431 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "encIn",(char *) "encOut", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10445 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10463 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10466 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10468 return Py_BuildValue((char *)"");
10470 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxDC
*arg1
= (wxDC
*) 0 ;
10473 PyObject
* obj0
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxDC
*arg1
= (wxDC
*) 0 ;
10498 PyObject
* obj0
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 (arg1
)->BeginDrawing();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxDC
*arg1
= (wxDC
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 (arg1
)->EndDrawing();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 Py_INCREF(Py_None
); resultobj
= Py_None
;
10545 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxDC
*arg1
= (wxDC
*) 0 ;
10550 wxColour
*arg4
= 0 ;
10551 int arg5
= (int) wxFLOOD_SURFACE
;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 PyObject
* obj2
= 0 ;
10557 PyObject
* obj3
= 0 ;
10558 PyObject
* obj4
= 0 ;
10559 char *kwnames
[] = {
10560 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10566 arg2
= (int) SWIG_AsInt(obj1
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10568 arg3
= (int) SWIG_AsInt(obj2
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10572 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10575 arg5
= (int) SWIG_AsInt(obj4
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10594 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxDC
*arg1
= (wxDC
*) 0 ;
10597 wxPoint
*arg2
= 0 ;
10598 wxColour
*arg3
= 0 ;
10599 int arg4
= (int) wxFLOOD_SURFACE
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 PyObject
* obj3
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10620 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10623 arg4
= (int) SWIG_AsInt(obj3
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxDC
*arg1
= (wxDC
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 PyObject
* obj1
= 0 ;
10650 PyObject
* obj2
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self",(char *) "x",(char *) "y", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 arg2
= (int) SWIG_AsInt(obj1
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10660 arg3
= (int) SWIG_AsInt(obj2
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 wxColour
* resultptr
;
10671 resultptr
= new wxColour((wxColour
&) result
);
10672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10680 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxDC
*arg1
= (wxDC
*) 0 ;
10683 wxPoint
*arg2
= 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "pt", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10707 wxColour
* resultptr
;
10708 resultptr
= new wxColour((wxColour
&) result
);
10709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10717 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxDC
*arg1
= (wxDC
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 PyObject
* obj4
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10736 arg2
= (int) SWIG_AsInt(obj1
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10738 arg3
= (int) SWIG_AsInt(obj2
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10740 arg4
= (int) SWIG_AsInt(obj3
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10742 arg5
= (int) SWIG_AsInt(obj4
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxDC
*arg1
= (wxDC
*) 0 ;
10761 wxPoint
*arg2
= 0 ;
10762 wxPoint
*arg3
= 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 PyObject
* obj2
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxDC
*arg1
= (wxDC
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 PyObject
* obj2
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "x",(char *) "y", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (int) SWIG_AsInt(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg3
= (int) SWIG_AsInt(obj2
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->CrossHair(arg2
,arg3
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxDC
*arg1
= (wxDC
*) 0 ;
10833 wxPoint
*arg2
= 0 ;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self",(char *) "pt", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 Py_INCREF(Py_None
); resultobj
= Py_None
;
10862 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxDC
*arg1
= (wxDC
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 PyObject
* obj2
= 0 ;
10874 PyObject
* obj3
= 0 ;
10875 PyObject
* obj4
= 0 ;
10876 PyObject
* obj5
= 0 ;
10877 PyObject
* obj6
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10885 arg2
= (int) SWIG_AsInt(obj1
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10887 arg3
= (int) SWIG_AsInt(obj2
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10889 arg4
= (int) SWIG_AsInt(obj3
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10891 arg5
= (int) SWIG_AsInt(obj4
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10893 arg6
= (int) SWIG_AsInt(obj5
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10895 arg7
= (int) SWIG_AsInt(obj6
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 Py_INCREF(Py_None
); resultobj
= Py_None
;
10911 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxDC
*arg1
= (wxDC
*) 0 ;
10914 wxPoint
*arg2
= 0 ;
10915 wxPoint
*arg3
= 0 ;
10916 wxPoint
*arg4
= 0 ;
10920 PyObject
* obj0
= 0 ;
10921 PyObject
* obj1
= 0 ;
10922 PyObject
* obj2
= 0 ;
10923 PyObject
* obj3
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10941 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxDC
*arg1
= (wxDC
*) 0 ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 PyObject
* obj3
= 0 ;
10968 PyObject
* obj4
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10976 arg2
= (int) SWIG_AsInt(obj1
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10978 arg3
= (int) SWIG_AsInt(obj2
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10980 arg4
= (int) SWIG_AsInt(obj3
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10982 arg5
= (int) SWIG_AsInt(obj4
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 Py_INCREF(Py_None
); resultobj
= Py_None
;
10998 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxDC
*arg1
= (wxDC
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "rect", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11014 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11030 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxDC
*arg1
= (wxDC
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 PyObject
* obj2
= 0 ;
11042 PyObject
* obj3
= 0 ;
11043 PyObject
* obj4
= 0 ;
11044 PyObject
* obj5
= 0 ;
11045 PyObject
* obj6
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11053 arg2
= (int) SWIG_AsInt(obj1
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11055 arg3
= (int) SWIG_AsInt(obj2
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11057 arg4
= (int) SWIG_AsInt(obj3
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11059 arg5
= (int) SWIG_AsInt(obj4
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11061 arg6
= (double) SWIG_AsDouble(obj5
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11063 arg7
= (double) SWIG_AsDouble(obj6
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 Py_INCREF(Py_None
); resultobj
= Py_None
;
11079 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxDC
*arg1
= (wxDC
*) 0 ;
11082 wxPoint
*arg2
= 0 ;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 PyObject
* obj2
= 0 ;
11091 PyObject
* obj3
= 0 ;
11092 PyObject
* obj4
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11106 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11108 arg4
= (double) SWIG_AsDouble(obj3
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11110 arg5
= (double) SWIG_AsDouble(obj4
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxDC
*arg1
= (wxDC
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "x",(char *) "y", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11141 arg2
= (int) SWIG_AsInt(obj1
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11143 arg3
= (int) SWIG_AsInt(obj2
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 (arg1
)->DrawPoint(arg2
,arg3
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxDC
*arg1
= (wxDC
*) 0 ;
11162 wxPoint
*arg2
= 0 ;
11164 PyObject
* obj0
= 0 ;
11165 PyObject
* obj1
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self",(char *) "pt", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxDC
*arg1
= (wxDC
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 PyObject
* obj2
= 0 ;
11201 PyObject
* obj3
= 0 ;
11202 PyObject
* obj4
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 arg2
= (int) SWIG_AsInt(obj1
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11212 arg3
= (int) SWIG_AsInt(obj2
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11214 arg4
= (int) SWIG_AsInt(obj3
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11216 arg5
= (int) SWIG_AsInt(obj4
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 Py_INCREF(Py_None
); resultobj
= Py_None
;
11232 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxDC
*arg1
= (wxDC
*) 0 ;
11235 wxPoint
*arg2
= 0 ;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 PyObject
* obj2
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self",(char *) "pt",(char *) "sz", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11255 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 Py_INCREF(Py_None
); resultobj
= Py_None
;
11271 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxDC
*arg1
= (wxDC
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "rect", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11287 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxDC
*arg1
= (wxDC
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 PyObject
* obj2
= 0 ;
11314 PyObject
* obj3
= 0 ;
11315 PyObject
* obj4
= 0 ;
11316 PyObject
* obj5
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11324 arg2
= (int) SWIG_AsInt(obj1
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11326 arg3
= (int) SWIG_AsInt(obj2
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11328 arg4
= (int) SWIG_AsInt(obj3
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11330 arg5
= (int) SWIG_AsInt(obj4
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11332 arg6
= (double) SWIG_AsDouble(obj5
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11348 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxDC
*arg1
= (wxDC
*) 0 ;
11351 wxPoint
*arg2
= 0 ;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 PyObject
* obj2
= 0 ;
11359 PyObject
* obj3
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11369 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11373 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11375 arg4
= (double) SWIG_AsDouble(obj3
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 Py_INCREF(Py_None
); resultobj
= Py_None
;
11391 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxDC
*arg1
= (wxDC
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 PyObject
* obj2
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self",(char *) "r",(char *) "radius", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11409 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11411 arg3
= (double) SWIG_AsDouble(obj2
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11427 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxDC
*arg1
= (wxDC
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 PyObject
* obj2
= 0 ;
11436 PyObject
* obj3
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11444 arg2
= (int) SWIG_AsInt(obj1
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11446 arg3
= (int) SWIG_AsInt(obj2
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11448 arg4
= (int) SWIG_AsInt(obj3
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 Py_INCREF(Py_None
); resultobj
= Py_None
;
11464 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 wxDC
*arg1
= (wxDC
*) 0 ;
11467 wxPoint
*arg2
= 0 ;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 PyObject
* obj2
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self",(char *) "pt",(char *) "radius", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11484 arg3
= (int) SWIG_AsInt(obj2
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxDC
*arg1
= (wxDC
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 PyObject
* obj3
= 0 ;
11511 PyObject
* obj4
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11519 arg2
= (int) SWIG_AsInt(obj1
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11521 arg3
= (int) SWIG_AsInt(obj2
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11523 arg4
= (int) SWIG_AsInt(obj3
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11525 arg5
= (int) SWIG_AsInt(obj4
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 Py_INCREF(Py_None
); resultobj
= Py_None
;
11541 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxDC
*arg1
= (wxDC
*) 0 ;
11544 wxPoint
*arg2
= 0 ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 PyObject
* obj2
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "pt",(char *) "sz", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11560 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11564 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxDC
*arg1
= (wxDC
*) 0 ;
11585 PyObject
* obj0
= 0 ;
11586 PyObject
* obj1
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self",(char *) "rect", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 Py_INCREF(Py_None
); resultobj
= Py_None
;
11612 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
;
11614 wxDC
*arg1
= (wxDC
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 PyObject
* obj2
= 0 ;
11621 PyObject
* obj3
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11632 if (arg2
== NULL
) {
11633 PyErr_SetString(PyExc_TypeError
,"null reference");
11636 arg3
= (int) SWIG_AsInt(obj2
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11638 arg4
= (int) SWIG_AsInt(obj3
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxDC
*arg1
= (wxDC
*) 0 ;
11658 wxPoint
*arg3
= 0 ;
11660 PyObject
* obj0
= 0 ;
11661 PyObject
* obj1
= 0 ;
11662 PyObject
* obj2
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "icon",(char *) "pt", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11673 if (arg2
== NULL
) {
11674 PyErr_SetString(PyExc_TypeError
,"null reference");
11679 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxDC
*arg1
= (wxDC
*) 0 ;
11698 wxBitmap
*arg2
= 0 ;
11701 bool arg5
= (bool) False
;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 PyObject
* obj2
= 0 ;
11705 PyObject
* obj3
= 0 ;
11706 PyObject
* obj4
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11717 if (arg2
== NULL
) {
11718 PyErr_SetString(PyExc_TypeError
,"null reference");
11721 arg3
= (int) SWIG_AsInt(obj2
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11723 arg4
= (int) SWIG_AsInt(obj3
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 arg5
= (bool) SWIG_AsBool(obj4
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 Py_INCREF(Py_None
); resultobj
= Py_None
;
11743 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxDC
*arg1
= (wxDC
*) 0 ;
11746 wxBitmap
*arg2
= 0 ;
11747 wxPoint
*arg3
= 0 ;
11748 bool arg4
= (bool) False
;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 PyObject
* obj2
= 0 ;
11753 PyObject
* obj3
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11764 if (arg2
== NULL
) {
11765 PyErr_SetString(PyExc_TypeError
,"null reference");
11770 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11773 arg4
= (bool) SWIG_AsBool(obj3
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 Py_INCREF(Py_None
); resultobj
= Py_None
;
11790 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxDC
*arg1
= (wxDC
*) 0 ;
11793 wxString
*arg2
= 0 ;
11796 bool temp2
= False
;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 PyObject
* obj2
= 0 ;
11800 PyObject
* obj3
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11809 arg2
= wxString_in_helper(obj1
);
11810 if (arg2
== NULL
) SWIG_fail
;
11813 arg3
= (int) SWIG_AsInt(obj2
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11815 arg4
= (int) SWIG_AsInt(obj3
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 Py_INCREF(Py_None
); resultobj
= Py_None
;
11839 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxDC
*arg1
= (wxDC
*) 0 ;
11842 wxString
*arg2
= 0 ;
11843 wxPoint
*arg3
= 0 ;
11844 bool temp2
= False
;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 PyObject
* obj2
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "text",(char *) "pt", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg2
= wxString_in_helper(obj1
);
11858 if (arg2
== NULL
) SWIG_fail
;
11863 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11887 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxDC
*arg1
= (wxDC
*) 0 ;
11890 wxString
*arg2
= 0 ;
11894 bool temp2
= False
;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 PyObject
* obj2
= 0 ;
11898 PyObject
* obj3
= 0 ;
11899 PyObject
* obj4
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11908 arg2
= wxString_in_helper(obj1
);
11909 if (arg2
== NULL
) SWIG_fail
;
11912 arg3
= (int) SWIG_AsInt(obj2
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11914 arg4
= (int) SWIG_AsInt(obj3
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11916 arg5
= (double) SWIG_AsDouble(obj4
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 Py_INCREF(Py_None
); resultobj
= Py_None
;
11940 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxDC
*arg1
= (wxDC
*) 0 ;
11943 wxString
*arg2
= 0 ;
11944 wxPoint
*arg3
= 0 ;
11946 bool temp2
= False
;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 PyObject
* obj2
= 0 ;
11951 PyObject
* obj3
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 arg2
= wxString_in_helper(obj1
);
11961 if (arg2
== NULL
) SWIG_fail
;
11966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11968 arg4
= (double) SWIG_AsDouble(obj3
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11992 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxDC
*arg1
= (wxDC
*) 0 ;
11999 wxDC
*arg6
= (wxDC
*) 0 ;
12002 int arg9
= (int) wxCOPY
;
12003 bool arg10
= (bool) False
;
12004 int arg11
= (int) -1 ;
12005 int arg12
= (int) -1 ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 PyObject
* obj2
= 0 ;
12010 PyObject
* obj3
= 0 ;
12011 PyObject
* obj4
= 0 ;
12012 PyObject
* obj5
= 0 ;
12013 PyObject
* obj6
= 0 ;
12014 PyObject
* obj7
= 0 ;
12015 PyObject
* obj8
= 0 ;
12016 PyObject
* obj9
= 0 ;
12017 PyObject
* obj10
= 0 ;
12018 PyObject
* obj11
= 0 ;
12019 char *kwnames
[] = {
12020 (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
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_BlitXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12026 arg2
= (int) SWIG_AsInt(obj1
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12028 arg3
= (int) SWIG_AsInt(obj2
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12030 arg4
= (int) SWIG_AsInt(obj3
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12032 arg5
= (int) SWIG_AsInt(obj4
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12034 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 arg7
= (int) SWIG_AsInt(obj6
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12038 arg8
= (int) SWIG_AsInt(obj7
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 arg9
= (int) SWIG_AsInt(obj8
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 arg10
= (bool) SWIG_AsBool(obj9
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 arg11
= (int) SWIG_AsInt(obj10
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 arg12
= (int) SWIG_AsInt(obj11
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12072 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxDC
*arg1
= (wxDC
*) 0 ;
12075 wxPoint
*arg2
= 0 ;
12077 wxDC
*arg4
= (wxDC
*) 0 ;
12078 wxPoint
*arg5
= 0 ;
12079 int arg6
= (int) wxCOPY
;
12080 bool arg7
= (bool) False
;
12081 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12082 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 PyObject
* obj2
= 0 ;
12091 PyObject
* obj3
= 0 ;
12092 PyObject
* obj4
= 0 ;
12093 PyObject
* obj5
= 0 ;
12094 PyObject
* obj6
= 0 ;
12095 PyObject
* obj7
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12109 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12111 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12115 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12118 arg6
= (int) SWIG_AsInt(obj5
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12122 arg7
= (bool) SWIG_AsBool(obj6
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12128 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12147 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxDC
*arg1
= (wxDC
*) 0 ;
12151 wxPoint
*arg3
= (wxPoint
*) 0 ;
12152 int arg4
= (int) 0 ;
12153 int arg5
= (int) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 PyObject
* obj2
= 0 ;
12157 PyObject
* obj3
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12167 if (arg3
== NULL
) SWIG_fail
;
12170 arg4
= (int) SWIG_AsInt(obj2
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12174 arg5
= (int) SWIG_AsInt(obj3
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 Py_INCREF(Py_None
); resultobj
= Py_None
;
12186 if (arg3
) delete [] arg3
;
12191 if (arg3
) delete [] arg3
;
12197 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxDC
*arg1
= (wxDC
*) 0 ;
12201 wxPoint
*arg3
= (wxPoint
*) 0 ;
12202 int arg4
= (int) 0 ;
12203 int arg5
= (int) 0 ;
12204 int arg6
= (int) wxODDEVEN_RULE
;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 PyObject
* obj2
= 0 ;
12208 PyObject
* obj3
= 0 ;
12209 PyObject
* obj4
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12218 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12219 if (arg3
== NULL
) SWIG_fail
;
12222 arg4
= (int) SWIG_AsInt(obj2
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 arg5
= (int) SWIG_AsInt(obj3
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 arg6
= (int) SWIG_AsInt(obj4
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 Py_INCREF(Py_None
); resultobj
= Py_None
;
12242 if (arg3
) delete [] arg3
;
12247 if (arg3
) delete [] arg3
;
12253 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
;
12255 wxDC
*arg1
= (wxDC
*) 0 ;
12256 wxString
*arg2
= 0 ;
12258 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12259 int arg5
= (int) -1 ;
12260 bool temp2
= False
;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 PyObject
* obj3
= 0 ;
12266 PyObject
* obj4
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 arg2
= wxString_in_helper(obj1
);
12276 if (arg2
== NULL
) SWIG_fail
;
12281 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12284 arg4
= (int) SWIG_AsInt(obj3
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 arg5
= (int) SWIG_AsInt(obj4
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 Py_INCREF(Py_None
); resultobj
= Py_None
;
12313 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxDC
*arg1
= (wxDC
*) 0 ;
12316 wxString
*arg2
= 0 ;
12317 wxBitmap
*arg3
= 0 ;
12319 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12320 int arg6
= (int) -1 ;
12322 bool temp2
= False
;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 PyObject
* obj2
= 0 ;
12327 PyObject
* obj3
= 0 ;
12328 PyObject
* obj4
= 0 ;
12329 PyObject
* obj5
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12338 arg2
= wxString_in_helper(obj1
);
12339 if (arg2
== NULL
) SWIG_fail
;
12342 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12345 if (arg3
== NULL
) {
12346 PyErr_SetString(PyExc_TypeError
,"null reference");
12351 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12354 arg5
= (int) SWIG_AsInt(obj4
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12358 arg6
= (int) SWIG_AsInt(obj5
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12369 wxRect
* resultptr
;
12370 resultptr
= new wxRect((wxRect
&) result
);
12371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12387 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxDC
*arg1
= (wxDC
*) 0 ;
12391 wxPoint
*arg3
= (wxPoint
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self",(char *) "points", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12402 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12403 if (arg3
== NULL
) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->DrawSpline(arg2
,arg3
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 Py_INCREF(Py_None
); resultobj
= Py_None
;
12414 if (arg3
) delete [] arg3
;
12419 if (arg3
) delete [] arg3
;
12425 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxDC
*arg1
= (wxDC
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 Py_INCREF(Py_None
); resultobj
= Py_None
;
12450 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxDC
*arg1
= (wxDC
*) 0 ;
12453 wxString
*arg2
= 0 ;
12455 bool temp2
= False
;
12456 PyObject
* obj0
= 0 ;
12457 PyObject
* obj1
= 0 ;
12458 char *kwnames
[] = {
12459 (char *) "self",(char *) "message", NULL
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12466 arg2
= wxString_in_helper(obj1
);
12467 if (arg2
== NULL
) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12494 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxDC
*arg1
= (wxDC
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 Py_INCREF(Py_None
); resultobj
= Py_None
;
12519 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxDC
*arg1
= (wxDC
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 (arg1
)->StartPage();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 Py_INCREF(Py_None
); resultobj
= Py_None
;
12544 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxDC
*arg1
= (wxDC
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_DC_SetFont(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 *) "font", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",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_wxFont
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12585 if (arg2
== NULL
) {
12586 PyErr_SetString(PyExc_TypeError
,"null reference");
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetFont((wxFont
const &)*arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 Py_INCREF(Py_None
); resultobj
= Py_None
;
12603 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxDC
*arg1
= (wxDC
*) 0 ;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self",(char *) "pen", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",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_wxPen
,
12617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12619 if (arg2
== NULL
) {
12620 PyErr_SetString(PyExc_TypeError
,"null reference");
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->SetPen((wxPen
const &)*arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_DC_SetBrush(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_SetBrush",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
)->SetBrush((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_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxDC
*arg1
= (wxDC
*) 0 ;
12674 wxBrush
*arg2
= 0 ;
12675 PyObject
* obj0
= 0 ;
12676 PyObject
* obj1
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self",(char *) "brush", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12687 if (arg2
== NULL
) {
12688 PyErr_SetString(PyExc_TypeError
,"null reference");
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12698 Py_INCREF(Py_None
); resultobj
= Py_None
;
12705 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxDC
*arg1
= (wxDC
*) 0 ;
12709 PyObject
* obj0
= 0 ;
12710 PyObject
* obj1
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self",(char *) "mode", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12718 arg2
= (int) SWIG_AsInt(obj1
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->SetBackgroundMode(arg2
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxDC
*arg1
= (wxDC
*) 0 ;
12737 wxPalette
*arg2
= 0 ;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self",(char *) "palette", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12750 if (arg2
== NULL
) {
12751 PyErr_SetString(PyExc_TypeError
,"null reference");
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 Py_INCREF(Py_None
); resultobj
= Py_None
;
12768 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxDC
*arg1
= (wxDC
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 PyObject
* obj2
= 0 ;
12778 PyObject
* obj3
= 0 ;
12779 PyObject
* obj4
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12787 arg2
= (int) SWIG_AsInt(obj1
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12789 arg3
= (int) SWIG_AsInt(obj2
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12791 arg4
= (int) SWIG_AsInt(obj3
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12793 arg5
= (int) SWIG_AsInt(obj4
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 Py_INCREF(Py_None
); resultobj
= Py_None
;
12809 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxDC
*arg1
= (wxDC
*) 0 ;
12812 wxPoint
*arg2
= 0 ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 PyObject
* obj2
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self",(char *) "pt",(char *) "sz", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12832 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 Py_INCREF(Py_None
); resultobj
= Py_None
;
12848 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxDC
*arg1
= (wxDC
*) 0 ;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self",(char *) "rect", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 Py_INCREF(Py_None
); resultobj
= Py_None
;
12880 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxDC
*arg1
= (wxDC
*) 0 ;
12883 wxRegion
*arg2
= 0 ;
12884 PyObject
* obj0
= 0 ;
12885 PyObject
* obj1
= 0 ;
12886 char *kwnames
[] = {
12887 (char *) "self",(char *) "region", NULL
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12896 if (arg2
== NULL
) {
12897 PyErr_SetString(PyExc_TypeError
,"null reference");
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxDC
*arg1
= (wxDC
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->DestroyClippingRegion();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 Py_INCREF(Py_None
); resultobj
= Py_None
;
12939 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxDC
*arg1
= (wxDC
*) 0 ;
12942 int *arg2
= (int *) 0 ;
12943 int *arg3
= (int *) 0 ;
12944 int *arg4
= (int *) 0 ;
12945 int *arg5
= (int *) 0 ;
12950 PyObject
* obj0
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 Py_INCREF(Py_None
); resultobj
= Py_None
;
12971 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12972 resultobj
= t_output_helper(resultobj
,o
);
12975 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12976 resultobj
= t_output_helper(resultobj
,o
);
12979 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12980 resultobj
= t_output_helper(resultobj
,o
);
12983 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12984 resultobj
= t_output_helper(resultobj
,o
);
12992 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxDC
*arg1
= (wxDC
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= wxDC_GetClippingRect(arg1
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13012 wxRect
* resultptr
;
13013 resultptr
= new wxRect((wxRect
&) result
);
13014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13022 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxDC
*arg1
= (wxDC
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= SWIG_FromInt((int)result
);
13048 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxDC
*arg1
= (wxDC
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= SWIG_FromInt((int)result
);
13074 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxDC
*arg1
= (wxDC
*) 0 ;
13077 wxString
*arg2
= 0 ;
13078 int *arg3
= (int *) 0 ;
13079 int *arg4
= (int *) 0 ;
13080 bool temp2
= False
;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self",(char *) "string", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 arg2
= wxString_in_helper(obj1
);
13096 if (arg2
== NULL
) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 Py_INCREF(Py_None
); resultobj
= Py_None
;
13108 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13109 resultobj
= t_output_helper(resultobj
,o
);
13112 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13113 resultobj
= t_output_helper(resultobj
,o
);
13129 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxDC
*arg1
= (wxDC
*) 0 ;
13132 wxString
*arg2
= 0 ;
13133 int *arg3
= (int *) 0 ;
13134 int *arg4
= (int *) 0 ;
13135 int *arg5
= (int *) 0 ;
13136 int *arg6
= (int *) 0 ;
13137 wxFont
*arg7
= (wxFont
*) NULL
;
13138 bool temp2
= False
;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 PyObject
* obj2
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "string",(char *) "font", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13158 arg2
= wxString_in_helper(obj1
);
13159 if (arg2
== NULL
) SWIG_fail
;
13163 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13176 resultobj
= t_output_helper(resultobj
,o
);
13179 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13180 resultobj
= t_output_helper(resultobj
,o
);
13183 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13184 resultobj
= t_output_helper(resultobj
,o
);
13187 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13188 resultobj
= t_output_helper(resultobj
,o
);
13204 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxDC
*arg1
= (wxDC
*) 0 ;
13207 wxString
*arg2
= 0 ;
13208 int *arg3
= (int *) 0 ;
13209 int *arg4
= (int *) 0 ;
13210 int *arg5
= (int *) 0 ;
13211 wxFont
*arg6
= (wxFont
*) NULL
;
13212 bool temp2
= False
;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 PyObject
* obj2
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self",(char *) "text",(char *) "font", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 arg2
= wxString_in_helper(obj1
);
13231 if (arg2
== NULL
) SWIG_fail
;
13235 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13248 resultobj
= t_output_helper(resultobj
,o
);
13251 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13252 resultobj
= t_output_helper(resultobj
,o
);
13255 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13256 resultobj
= t_output_helper(resultobj
,o
);
13272 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxDC
*arg1
= (wxDC
*) 0 ;
13275 wxString
*arg2
= 0 ;
13277 bool temp2
= False
;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "text", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 arg2
= wxString_in_helper(obj1
);
13289 if (arg2
== NULL
) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= PyList_New(0);
13302 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13303 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13304 PyList_Append(resultobj
, val
);
13322 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxDC
*arg1
= (wxDC
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= (arg1
)->GetSize();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13342 wxSize
* resultptr
;
13343 resultptr
= new wxSize((wxSize
&) result
);
13344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13352 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxDC
*arg1
= (wxDC
*) 0 ;
13355 int *arg2
= (int *) 0 ;
13356 int *arg3
= (int *) 0 ;
13359 PyObject
* obj0
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->GetSize(arg2
,arg3
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 Py_INCREF(Py_None
); resultobj
= Py_None
;
13378 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13379 resultobj
= t_output_helper(resultobj
,o
);
13382 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13383 resultobj
= t_output_helper(resultobj
,o
);
13391 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
;
13393 wxDC
*arg1
= (wxDC
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13411 wxSize
* resultptr
;
13412 resultptr
= new wxSize((wxSize
&) result
);
13413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13421 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxDC
*arg1
= (wxDC
*) 0 ;
13424 int *arg2
= (int *) 0 ;
13425 int *arg3
= (int *) 0 ;
13428 PyObject
* obj0
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13448 resultobj
= t_output_helper(resultobj
,o
);
13451 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13452 resultobj
= t_output_helper(resultobj
,o
);
13460 static PyObject
*_wrap_DC_DeviceToLogicalX(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_DeviceToLogicalX",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
)->DeviceToLogicalX(arg2
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_FromInt((int)result
);
13490 static PyObject
*_wrap_DC_DeviceToLogicalY(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_DeviceToLogicalY",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
)->DeviceToLogicalY(arg2
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_FromInt((int)result
);
13520 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxDC
*arg1
= (wxDC
*) 0 ;
13525 PyObject
* obj0
= 0 ;
13526 PyObject
* obj1
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self",(char *) "x", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13534 arg2
= (int) SWIG_AsInt(obj1
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= SWIG_FromInt((int)result
);
13550 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxDC
*arg1
= (wxDC
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "y", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 arg2
= (int) SWIG_AsInt(obj1
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_FromInt((int)result
);
13580 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxDC
*arg1
= (wxDC
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self",(char *) "x", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13594 arg2
= (int) SWIG_AsInt(obj1
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_FromInt((int)result
);
13610 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxDC
*arg1
= (wxDC
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self",(char *) "y", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 arg2
= (int) SWIG_AsInt(obj1
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_FromInt((int)result
);
13640 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxDC
*arg1
= (wxDC
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 PyObject
* obj1
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self",(char *) "x", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13654 arg2
= (int) SWIG_AsInt(obj1
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= SWIG_FromInt((int)result
);
13670 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxDC
*arg1
= (wxDC
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self",(char *) "y", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 arg2
= (int) SWIG_AsInt(obj1
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= SWIG_FromInt((int)result
);
13700 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxDC
*arg1
= (wxDC
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13728 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxDC
*arg1
= (wxDC
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13756 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxDC
*arg1
= (wxDC
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_FromInt((int)result
);
13782 static PyObject
*_wrap_DC_GetPPI(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_GetPPI",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();
13796 result
= ((wxDC
const *)arg1
)->GetPPI();
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13802 wxSize
* resultptr
;
13803 resultptr
= new wxSize((wxSize
&) result
);
13804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13812 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxDC
*arg1
= (wxDC
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (bool)((wxDC
const *)arg1
)->Ok();
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13840 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxDC
*arg1
= (wxDC
*) 0 ;
13844 PyObject
* obj0
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_FromInt((int)result
);
13866 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxDC
*arg1
= (wxDC
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13882 result
= (wxBrush
*) &_result_ref
;
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13889 wxBrush
* resultptr
= new wxBrush(*result
);
13890 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13898 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxDC
*arg1
= (wxDC
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13914 result
= (wxBrush
*) &_result_ref
;
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 wxBrush
* resultptr
= new wxBrush(*result
);
13922 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13930 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxDC
*arg1
= (wxDC
*) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13946 result
= (wxFont
*) &_result_ref
;
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13953 wxFont
* resultptr
= new wxFont(*result
);
13954 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13962 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxDC
*arg1
= (wxDC
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13978 result
= (wxPen
*) &_result_ref
;
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13985 wxPen
* resultptr
= new wxPen(*result
);
13986 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13994 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxDC
*arg1
= (wxDC
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14010 result
= (wxColour
*) &_result_ref
;
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14023 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxDC
*arg1
= (wxDC
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14039 result
= (wxColour
*) &_result_ref
;
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14052 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxDC
*arg1
= (wxDC
*) 0 ;
14055 wxColour
*arg2
= 0 ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "colour", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14068 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 Py_INCREF(Py_None
); resultobj
= Py_None
;
14084 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
;
14086 wxDC
*arg1
= (wxDC
*) 0 ;
14087 wxColour
*arg2
= 0 ;
14089 PyObject
* obj0
= 0 ;
14090 PyObject
* obj1
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self",(char *) "colour", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14100 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 Py_INCREF(Py_None
); resultobj
= Py_None
;
14116 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxDC
*arg1
= (wxDC
*) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= SWIG_FromInt((int)result
);
14142 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxDC
*arg1
= (wxDC
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 PyObject
* obj1
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self",(char *) "mode", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14155 arg2
= (int) SWIG_AsInt(obj1
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 (arg1
)->SetMapMode(arg2
);
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 Py_INCREF(Py_None
); resultobj
= Py_None
;
14171 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxDC
*arg1
= (wxDC
*) 0 ;
14174 double *arg2
= (double *) 0 ;
14175 double *arg3
= (double *) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 Py_INCREF(Py_None
); resultobj
= Py_None
;
14197 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14198 resultobj
= t_output_helper(resultobj
,o
);
14201 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14202 resultobj
= t_output_helper(resultobj
,o
);
14210 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxDC
*arg1
= (wxDC
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 PyObject
* obj1
= 0 ;
14217 PyObject
* obj2
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self",(char *) "x",(char *) "y", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14225 arg2
= (double) SWIG_AsDouble(obj1
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14227 arg3
= (double) SWIG_AsDouble(obj2
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14231 (arg1
)->SetUserScale(arg2
,arg3
);
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 Py_INCREF(Py_None
); resultobj
= Py_None
;
14243 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxDC
*arg1
= (wxDC
*) 0 ;
14246 double *arg2
= (double *) 0 ;
14247 double *arg3
= (double *) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 (arg1
)->GetLogicalScale(arg2
,arg3
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14270 resultobj
= t_output_helper(resultobj
,o
);
14273 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14274 resultobj
= t_output_helper(resultobj
,o
);
14282 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
;
14284 wxDC
*arg1
= (wxDC
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 PyObject
* obj1
= 0 ;
14289 PyObject
* obj2
= 0 ;
14290 char *kwnames
[] = {
14291 (char *) "self",(char *) "x",(char *) "y", NULL
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14297 arg2
= (double) SWIG_AsDouble(obj1
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14299 arg3
= (double) SWIG_AsDouble(obj2
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 (arg1
)->SetLogicalScale(arg2
,arg3
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 Py_INCREF(Py_None
); resultobj
= Py_None
;
14315 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxDC
*arg1
= (wxDC
*) 0 ;
14319 PyObject
* obj0
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14335 wxPoint
* resultptr
;
14336 resultptr
= new wxPoint((wxPoint
&) result
);
14337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14345 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
;
14347 wxDC
*arg1
= (wxDC
*) 0 ;
14348 int *arg2
= (int *) 0 ;
14349 int *arg3
= (int *) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 Py_INCREF(Py_None
); resultobj
= Py_None
;
14371 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14372 resultobj
= t_output_helper(resultobj
,o
);
14375 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14376 resultobj
= t_output_helper(resultobj
,o
);
14384 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxDC
*arg1
= (wxDC
*) 0 ;
14389 PyObject
* obj0
= 0 ;
14390 PyObject
* obj1
= 0 ;
14391 PyObject
* obj2
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self",(char *) "x",(char *) "y", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 arg2
= (int) SWIG_AsInt(obj1
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14401 arg3
= (int) SWIG_AsInt(obj2
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 Py_INCREF(Py_None
); resultobj
= Py_None
;
14417 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxDC
*arg1
= (wxDC
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14437 wxPoint
* resultptr
;
14438 resultptr
= new wxPoint((wxPoint
&) result
);
14439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14447 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxDC
*arg1
= (wxDC
*) 0 ;
14450 int *arg2
= (int *) 0 ;
14451 int *arg3
= (int *) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 Py_INCREF(Py_None
); resultobj
= Py_None
;
14473 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14474 resultobj
= t_output_helper(resultobj
,o
);
14477 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14478 resultobj
= t_output_helper(resultobj
,o
);
14486 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxDC
*arg1
= (wxDC
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self",(char *) "x",(char *) "y", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14501 arg2
= (int) SWIG_AsInt(obj1
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14503 arg3
= (int) SWIG_AsInt(obj2
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 Py_INCREF(Py_None
); resultobj
= Py_None
;
14519 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxDC
*arg1
= (wxDC
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 PyObject
* obj1
= 0 ;
14526 PyObject
* obj2
= 0 ;
14527 char *kwnames
[] = {
14528 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 arg2
= (bool) SWIG_AsBool(obj1
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14536 arg3
= (bool) SWIG_AsBool(obj2
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14552 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxDC
*arg1
= (wxDC
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= SWIG_FromInt((int)result
);
14578 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxDC
*arg1
= (wxDC
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "function", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14591 arg2
= (int) SWIG_AsInt(obj1
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 (arg1
)->SetLogicalFunction(arg2
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 Py_INCREF(Py_None
); resultobj
= Py_None
;
14607 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxDC
*arg1
= (wxDC
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self",(char *) "opt", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14620 arg2
= (bool) SWIG_AsBool(obj1
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 (arg1
)->SetOptimization(arg2
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 Py_INCREF(Py_None
); resultobj
= Py_None
;
14636 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxDC
*arg1
= (wxDC
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)(arg1
)->GetOptimization();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14664 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxDC
*arg1
= (wxDC
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 PyObject
* obj1
= 0 ;
14671 PyObject
* obj2
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self",(char *) "x",(char *) "y", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 arg2
= (int) SWIG_AsInt(obj1
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14681 arg3
= (int) SWIG_AsInt(obj2
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 Py_INCREF(Py_None
); resultobj
= Py_None
;
14697 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxDC
*arg1
= (wxDC
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 (arg1
)->ResetBoundingBox();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 Py_INCREF(Py_None
); resultobj
= Py_None
;
14722 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxDC
*arg1
= (wxDC
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (int)((wxDC
const *)arg1
)->MinX();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= SWIG_FromInt((int)result
);
14748 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxDC
*arg1
= (wxDC
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (int)((wxDC
const *)arg1
)->MaxX();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_FromInt((int)result
);
14774 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
;
14776 wxDC
*arg1
= (wxDC
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= (int)((wxDC
const *)arg1
)->MinY();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= SWIG_FromInt((int)result
);
14800 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14802 wxDC
*arg1
= (wxDC
*) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 result
= (int)((wxDC
const *)arg1
)->MaxY();
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14819 resultobj
= SWIG_FromInt((int)result
);
14826 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxDC
*arg1
= (wxDC
*) 0 ;
14829 int *arg2
= (int *) 0 ;
14830 int *arg3
= (int *) 0 ;
14831 int *arg4
= (int *) 0 ;
14832 int *arg5
= (int *) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 Py_INCREF(Py_None
); resultobj
= Py_None
;
14858 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14859 resultobj
= t_output_helper(resultobj
,o
);
14862 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14863 resultobj
= t_output_helper(resultobj
,o
);
14866 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14867 resultobj
= t_output_helper(resultobj
,o
);
14870 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14871 resultobj
= t_output_helper(resultobj
,o
);
14879 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14880 PyObject
*resultobj
;
14881 wxDC
*arg1
= (wxDC
*) 0 ;
14882 PyObject
*arg2
= (PyObject
*) 0 ;
14883 PyObject
*arg3
= (PyObject
*) 0 ;
14884 PyObject
*arg4
= (PyObject
*) 0 ;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14888 PyObject
* obj2
= 0 ;
14889 PyObject
* obj3
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= result
;
14914 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxDC
*arg1
= (wxDC
*) 0 ;
14917 PyObject
*arg2
= (PyObject
*) 0 ;
14918 PyObject
*arg3
= (PyObject
*) 0 ;
14919 PyObject
*arg4
= (PyObject
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 PyObject
* obj2
= 0 ;
14924 PyObject
* obj3
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= result
;
14949 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxDC
*arg1
= (wxDC
*) 0 ;
14952 PyObject
*arg2
= (PyObject
*) 0 ;
14953 PyObject
*arg3
= (PyObject
*) 0 ;
14954 PyObject
*arg4
= (PyObject
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 PyObject
* obj2
= 0 ;
14959 PyObject
* obj3
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= result
;
14984 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxDC
*arg1
= (wxDC
*) 0 ;
14987 PyObject
*arg2
= (PyObject
*) 0 ;
14988 PyObject
*arg3
= (PyObject
*) 0 ;
14989 PyObject
*arg4
= (PyObject
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 PyObject
* obj2
= 0 ;
14994 PyObject
* obj3
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= result
;
15019 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxDC
*arg1
= (wxDC
*) 0 ;
15022 PyObject
*arg2
= (PyObject
*) 0 ;
15023 PyObject
*arg3
= (PyObject
*) 0 ;
15024 PyObject
*arg4
= (PyObject
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 PyObject
* obj2
= 0 ;
15029 PyObject
* obj3
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= result
;
15054 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxDC
*arg1
= (wxDC
*) 0 ;
15057 PyObject
*arg2
= (PyObject
*) 0 ;
15058 PyObject
*arg3
= (PyObject
*) 0 ;
15059 PyObject
*arg4
= (PyObject
*) 0 ;
15060 PyObject
*arg5
= (PyObject
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 PyObject
* obj2
= 0 ;
15065 PyObject
* obj3
= 0 ;
15066 PyObject
* obj4
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= result
;
15092 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15095 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15097 return Py_BuildValue((char *)"");
15099 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMemoryDC
*result
;
15102 char *kwnames
[] = {
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (wxMemoryDC
*)new wxMemoryDC();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15121 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxDC
*arg1
= (wxDC
*) 0 ;
15124 wxMemoryDC
*result
;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "oldDC", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15147 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15150 wxBitmap
*arg2
= 0 ;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self",(char *) "bitmap", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15163 if (arg2
== NULL
) {
15164 PyErr_SetString(PyExc_TypeError
,"null reference");
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 Py_INCREF(Py_None
); resultobj
= Py_None
;
15181 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15184 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15186 return Py_BuildValue((char *)"");
15188 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15189 PyObject
*resultobj
;
15190 wxDC
*arg1
= (wxDC
*) 0 ;
15191 wxBitmap
*arg2
= 0 ;
15192 wxBufferedDC
*result
;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15196 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15202 if (arg2
== NULL
) {
15203 PyErr_SetString(PyExc_TypeError
,"null reference");
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15220 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15221 PyObject
*resultobj
;
15222 wxDC
*arg1
= (wxDC
*) 0 ;
15224 wxBufferedDC
*result
;
15226 PyObject
* obj0
= 0 ;
15227 PyObject
* obj1
= 0 ;
15229 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15250 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15255 argc
= PyObject_Length(args
);
15256 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15257 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15263 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15273 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15281 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15289 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15298 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15301 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15306 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15311 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15312 PyObject
*resultobj
;
15313 wxDC
*arg1
= (wxDC
*) 0 ;
15315 wxBufferedDC
*result
;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15320 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15325 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15341 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15344 PyObject
* obj0
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 Py_INCREF(Py_None
); resultobj
= Py_None
;
15366 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 Py_INCREF(Py_None
); resultobj
= Py_None
;
15391 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15394 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15396 return Py_BuildValue((char *)"");
15398 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxWindow
*arg1
= (wxWindow
*) 0 ;
15401 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15402 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15403 wxBufferedPaintDC
*result
;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "window",(char *) "buffer", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15417 if (arg2
== NULL
) {
15418 PyErr_SetString(PyExc_TypeError
,"null reference");
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15436 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15439 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15441 return Py_BuildValue((char *)"");
15443 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxScreenDC
*result
;
15446 char *kwnames
[] = {
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (wxScreenDC
*)new wxScreenDC();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15465 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15468 wxWindow
*arg2
= (wxWindow
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self",(char *) "window", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15497 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15500 wxRect
*arg2
= (wxRect
*) NULL
;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "rect", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15531 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)(arg1
)->EndDrawingOnTop();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15559 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15562 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15564 return Py_BuildValue((char *)"");
15566 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxWindow
*arg1
= (wxWindow
*) 0 ;
15569 wxClientDC
*result
;
15570 PyObject
* obj0
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "win", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (wxClientDC
*)new wxClientDC(arg1
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15592 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15595 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15597 return Py_BuildValue((char *)"");
15599 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxWindow
*arg1
= (wxWindow
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "win", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15625 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15628 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15630 return Py_BuildValue((char *)"");
15632 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxWindow
*arg1
= (wxWindow
*) 0 ;
15635 wxWindowDC
*result
;
15636 PyObject
* obj0
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "win", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15658 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15661 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15663 return Py_BuildValue((char *)"");
15665 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15669 wxMirrorDC
*result
;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "dc",(char *) "mirror", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15680 if (arg1
== NULL
) {
15681 PyErr_SetString(PyExc_TypeError
,"null reference");
15684 arg2
= (bool) SWIG_AsBool(obj1
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15700 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15703 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15705 return Py_BuildValue((char *)"");
15707 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxPrintData
*arg1
= 0 ;
15710 wxPostScriptDC
*result
;
15711 PyObject
* obj0
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "printData", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15720 if (arg1
== NULL
) {
15721 PyErr_SetString(PyExc_TypeError
,"null reference");
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15738 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15741 wxPrintData
*result
;
15742 PyObject
* obj0
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15754 result
= (wxPrintData
*) &_result_ref
;
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15767 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15770 wxPrintData
*arg2
= 0 ;
15771 PyObject
* obj0
= 0 ;
15772 PyObject
* obj1
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self",(char *) "data", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15783 if (arg2
== NULL
) {
15784 PyErr_SetString(PyExc_TypeError
,"null reference");
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 Py_INCREF(Py_None
); resultobj
= Py_None
;
15801 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15804 PyObject
* obj0
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "ppi", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15810 arg1
= (int) SWIG_AsInt(obj0
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 wxPostScriptDC::SetResolution(arg1
);
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 Py_INCREF(Py_None
); resultobj
= Py_None
;
15826 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15829 char *kwnames
[] = {
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (int)wxPostScriptDC::GetResolution();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_FromInt((int)result
);
15848 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15851 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15853 return Py_BuildValue((char *)"");
15855 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15858 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15859 wxMetaFile
*result
;
15860 bool temp1
= False
;
15861 PyObject
* obj0
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "filename", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15869 arg1
= wxString_in_helper(obj0
);
15870 if (arg1
== NULL
) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15896 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15899 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15901 return Py_BuildValue((char *)"");
15903 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15906 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15907 int arg2
= (int) 0 ;
15908 int arg3
= (int) 0 ;
15909 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15910 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15911 wxMetaFileDC
*result
;
15912 bool temp1
= False
;
15913 bool temp4
= False
;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 PyObject
* obj2
= 0 ;
15917 PyObject
* obj3
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15925 arg1
= wxString_in_helper(obj0
);
15926 if (arg1
== NULL
) SWIG_fail
;
15931 arg2
= (int) SWIG_AsInt(obj1
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15935 arg3
= (int) SWIG_AsInt(obj2
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15940 arg4
= wxString_in_helper(obj3
);
15941 if (arg4
== NULL
) SWIG_fail
;
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15975 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15978 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15980 return Py_BuildValue((char *)"");
15982 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxPrintData
*arg1
= 0 ;
15985 wxPrinterDC
*result
;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "printData", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15995 if (arg1
== NULL
) {
15996 PyErr_SetString(PyExc_TypeError
,"null reference");
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16013 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16016 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16018 return Py_BuildValue((char *)"");
16020 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16024 int arg3
= (int) True
;
16025 int arg4
= (int) 1 ;
16026 wxImageList
*result
;
16027 PyObject
* obj0
= 0 ;
16028 PyObject
* obj1
= 0 ;
16029 PyObject
* obj2
= 0 ;
16030 PyObject
* obj3
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16036 arg1
= (int) SWIG_AsInt(obj0
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16038 arg2
= (int) SWIG_AsInt(obj1
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 arg3
= (int) SWIG_AsInt(obj2
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16045 arg4
= (int) SWIG_AsInt(obj3
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= wxPyMake_wxObject(result
);
16064 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxImageList
*arg1
= (wxImageList
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16082 Py_INCREF(Py_None
); resultobj
= Py_None
;
16089 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxImageList
*arg1
= (wxImageList
*) 0 ;
16092 wxBitmap
*arg2
= 0 ;
16093 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16094 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16096 PyObject
* obj0
= 0 ;
16097 PyObject
* obj1
= 0 ;
16098 PyObject
* obj2
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16109 if (arg2
== NULL
) {
16110 PyErr_SetString(PyExc_TypeError
,"null reference");
16114 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16117 if (arg3
== NULL
) {
16118 PyErr_SetString(PyExc_TypeError
,"null reference");
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= SWIG_FromInt((int)result
);
16136 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxImageList
*arg1
= (wxImageList
*) 0 ;
16139 wxBitmap
*arg2
= 0 ;
16140 wxColour
*arg3
= 0 ;
16143 PyObject
* obj0
= 0 ;
16144 PyObject
* obj1
= 0 ;
16145 PyObject
* obj2
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16156 if (arg2
== NULL
) {
16157 PyErr_SetString(PyExc_TypeError
,"null reference");
16162 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= SWIG_FromInt((int)result
);
16178 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxImageList
*arg1
= (wxImageList
*) 0 ;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self",(char *) "icon", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16195 if (arg2
== NULL
) {
16196 PyErr_SetString(PyExc_TypeError
,"null reference");
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_FromInt((int)result
);
16213 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxImageList
*arg1
= (wxImageList
*) 0 ;
16217 wxBitmap
*arg3
= 0 ;
16219 PyObject
* obj0
= 0 ;
16220 PyObject
* obj1
= 0 ;
16221 PyObject
* obj2
= 0 ;
16222 char *kwnames
[] = {
16223 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16229 arg2
= (int) SWIG_AsInt(obj1
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16231 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16234 if (arg3
== NULL
) {
16235 PyErr_SetString(PyExc_TypeError
,"null reference");
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxImageList
*arg1
= (wxImageList
*) 0 ;
16261 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16262 bool arg7
= (bool) (bool)False
;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 PyObject
* obj2
= 0 ;
16267 PyObject
* obj3
= 0 ;
16268 PyObject
* obj4
= 0 ;
16269 PyObject
* obj5
= 0 ;
16270 PyObject
* obj6
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16278 arg2
= (int) SWIG_AsInt(obj1
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16280 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16283 if (arg3
== NULL
) {
16284 PyErr_SetString(PyExc_TypeError
,"null reference");
16287 arg4
= (int) SWIG_AsInt(obj3
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16289 arg5
= (int) SWIG_AsInt(obj4
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 arg6
= (int) SWIG_AsInt(obj5
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 arg7
= (bool const) SWIG_AsBool(obj6
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16315 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxImageList
*arg1
= (wxImageList
*) 0 ;
16319 PyObject
* obj0
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= (int)(arg1
)->GetImageCount();
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= SWIG_FromInt((int)result
);
16341 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 wxImageList
*arg1
= (wxImageList
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "index", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 arg2
= (int) SWIG_AsInt(obj1
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (bool)(arg1
)->Remove(arg2
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16373 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16374 PyObject
*resultobj
;
16375 wxImageList
*arg1
= (wxImageList
*) 0 ;
16377 PyObject
* obj0
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 result
= (bool)(arg1
)->RemoveAll();
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16401 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxImageList
*arg1
= (wxImageList
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "index", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 arg2
= (int) SWIG_AsInt(obj1
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 Py_INCREF(Py_None
); resultobj
= Py_None
;
16431 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16432 resultobj
= t_output_helper(resultobj
,o
);
16435 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16436 resultobj
= t_output_helper(resultobj
,o
);
16444 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16447 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16449 return Py_BuildValue((char *)"");
16451 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16452 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16457 static PyObject
*_wrap_NORMAL_FONT_get() {
16460 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16465 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16466 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16471 static PyObject
*_wrap_SMALL_FONT_get() {
16474 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16479 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16480 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16485 static PyObject
*_wrap_ITALIC_FONT_get() {
16488 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16493 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16494 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16499 static PyObject
*_wrap_SWISS_FONT_get() {
16502 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16507 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16508 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16513 static PyObject
*_wrap_RED_PEN_get() {
16516 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16521 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16522 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16527 static PyObject
*_wrap_CYAN_PEN_get() {
16530 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16535 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16536 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16541 static PyObject
*_wrap_GREEN_PEN_get() {
16544 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16549 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16550 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16555 static PyObject
*_wrap_BLACK_PEN_get() {
16558 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16563 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16564 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16569 static PyObject
*_wrap_WHITE_PEN_get() {
16572 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16577 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16578 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16583 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16586 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16591 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16592 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16597 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16600 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16605 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16606 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16611 static PyObject
*_wrap_GREY_PEN_get() {
16614 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16619 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16620 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16625 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16628 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16633 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16634 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16639 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16642 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16647 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16648 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16653 static PyObject
*_wrap_BLUE_BRUSH_get() {
16656 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16661 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16662 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16667 static PyObject
*_wrap_GREEN_BRUSH_get() {
16670 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16675 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16676 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16681 static PyObject
*_wrap_WHITE_BRUSH_get() {
16684 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16689 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16690 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16695 static PyObject
*_wrap_BLACK_BRUSH_get() {
16698 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16703 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16704 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16709 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16712 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16717 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16718 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16723 static PyObject
*_wrap_CYAN_BRUSH_get() {
16726 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16731 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16732 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16737 static PyObject
*_wrap_RED_BRUSH_get() {
16740 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16745 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16746 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16751 static PyObject
*_wrap_GREY_BRUSH_get() {
16754 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16759 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16760 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16765 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16768 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16773 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16774 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16779 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16782 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16787 static int _wrap_BLACK_set(PyObject
*_val
) {
16788 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16793 static PyObject
*_wrap_BLACK_get() {
16796 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16801 static int _wrap_WHITE_set(PyObject
*_val
) {
16802 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16807 static PyObject
*_wrap_WHITE_get() {
16810 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16815 static int _wrap_RED_set(PyObject
*_val
) {
16816 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16821 static PyObject
*_wrap_RED_get() {
16824 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16829 static int _wrap_BLUE_set(PyObject
*_val
) {
16830 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16835 static PyObject
*_wrap_BLUE_get() {
16838 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16843 static int _wrap_GREEN_set(PyObject
*_val
) {
16844 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16849 static PyObject
*_wrap_GREEN_get() {
16852 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16857 static int _wrap_CYAN_set(PyObject
*_val
) {
16858 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16863 static PyObject
*_wrap_CYAN_get() {
16866 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16871 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16872 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16877 static PyObject
*_wrap_LIGHT_GREY_get() {
16880 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16885 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16886 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16891 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16894 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16899 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16900 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16905 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16908 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16913 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16914 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16919 static PyObject
*_wrap_CROSS_CURSOR_get() {
16922 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16927 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16928 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16933 static PyObject
*_wrap_NullBitmap_get() {
16936 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16941 static int _wrap_NullIcon_set(PyObject
*_val
) {
16942 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16947 static PyObject
*_wrap_NullIcon_get() {
16950 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16955 static int _wrap_NullCursor_set(PyObject
*_val
) {
16956 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16961 static PyObject
*_wrap_NullCursor_get() {
16964 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16969 static int _wrap_NullPen_set(PyObject
*_val
) {
16970 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16975 static PyObject
*_wrap_NullPen_get() {
16978 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16983 static int _wrap_NullBrush_set(PyObject
*_val
) {
16984 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16989 static PyObject
*_wrap_NullBrush_get() {
16992 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16997 static int _wrap_NullPalette_set(PyObject
*_val
) {
16998 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17003 static PyObject
*_wrap_NullPalette_get() {
17006 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17011 static int _wrap_NullFont_set(PyObject
*_val
) {
17012 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17017 static PyObject
*_wrap_NullFont_get() {
17020 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17025 static int _wrap_NullColour_set(PyObject
*_val
) {
17026 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17031 static PyObject
*_wrap_NullColour_get() {
17034 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17039 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxPenList
*arg1
= (wxPenList
*) 0 ;
17042 wxPen
*arg2
= (wxPen
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self",(char *) "pen", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 (arg1
)->AddPen(arg2
);
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17061 Py_INCREF(Py_None
); resultobj
= Py_None
;
17068 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxPenList
*arg1
= (wxPenList
*) 0 ;
17071 wxColour
*arg2
= 0 ;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 PyObject
* obj2
= 0 ;
17079 PyObject
* obj3
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17091 arg3
= (int) SWIG_AsInt(obj2
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17093 arg4
= (int) SWIG_AsInt(obj3
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17109 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxPenList
*arg1
= (wxPenList
*) 0 ;
17112 wxPen
*arg2
= (wxPen
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self",(char *) "pen", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 (arg1
)->RemovePen(arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 Py_INCREF(Py_None
); resultobj
= Py_None
;
17138 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
;
17140 wxPenList
*arg1
= (wxPenList
*) 0 ;
17142 PyObject
* obj0
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (int)(arg1
)->GetCount();
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_FromInt((int)result
);
17164 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17167 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17169 return Py_BuildValue((char *)"");
17171 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17174 wxBrush
*arg2
= (wxBrush
*) 0 ;
17175 PyObject
* obj0
= 0 ;
17176 PyObject
* obj1
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self",(char *) "brush", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 (arg1
)->AddBrush(arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 Py_INCREF(Py_None
); resultobj
= Py_None
;
17200 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17203 wxColour
*arg2
= 0 ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self",(char *) "colour",(char *) "style", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17221 arg3
= (int) SWIG_AsInt(obj2
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17237 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17240 wxBrush
*arg2
= (wxBrush
*) 0 ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self",(char *) "brush", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 (arg1
)->RemoveBrush(arg2
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 Py_INCREF(Py_None
); resultobj
= Py_None
;
17266 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17270 PyObject
* obj0
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (int)(arg1
)->GetCount();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_FromInt((int)result
);
17292 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17295 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17297 return Py_BuildValue((char *)"");
17299 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxColourDatabase
*result
;
17302 char *kwnames
[] = {
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (wxColourDatabase
*)new wxColourDatabase();
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17321 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 Py_INCREF(Py_None
); resultobj
= Py_None
;
17346 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17349 wxString
*arg2
= 0 ;
17351 bool temp2
= False
;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "name", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 arg2
= wxString_in_helper(obj1
);
17363 if (arg2
== NULL
) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 wxColour
* resultptr
;
17375 resultptr
= new wxColour((wxColour
&) result
);
17376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17392 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17395 wxColour
*arg2
= 0 ;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "self",(char *) "colour", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17431 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17434 wxString
*arg2
= 0 ;
17435 wxColour
*arg3
= 0 ;
17436 bool temp2
= False
;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 PyObject
* obj2
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self",(char *) "name",(char *) "colour", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17449 arg2
= wxString_in_helper(obj1
);
17450 if (arg2
== NULL
) SWIG_fail
;
17455 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17482 wxString
*arg2
= 0 ;
17486 bool temp2
= False
;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 PyObject
* obj2
= 0 ;
17490 PyObject
* obj3
= 0 ;
17491 PyObject
* obj4
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17500 arg2
= wxString_in_helper(obj1
);
17501 if (arg2
== NULL
) SWIG_fail
;
17504 arg3
= (int) SWIG_AsInt(obj2
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17506 arg4
= (int) SWIG_AsInt(obj3
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17508 arg5
= (int) SWIG_AsInt(obj4
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 Py_INCREF(Py_None
); resultobj
= Py_None
;
17532 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17535 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17537 return Py_BuildValue((char *)"");
17539 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxFontList
*arg1
= (wxFontList
*) 0 ;
17542 wxFont
*arg2
= (wxFont
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "font", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->AddFont(arg2
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxFontList
*arg1
= (wxFontList
*) 0 ;
17575 bool arg6
= (bool) False
;
17576 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17577 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17578 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17580 bool temp7
= False
;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 PyObject
* obj2
= 0 ;
17584 PyObject
* obj3
= 0 ;
17585 PyObject
* obj4
= 0 ;
17586 PyObject
* obj5
= 0 ;
17587 PyObject
* obj6
= 0 ;
17588 PyObject
* obj7
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17596 arg2
= (int) SWIG_AsInt(obj1
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17598 arg3
= (int) SWIG_AsInt(obj2
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17600 arg4
= (int) SWIG_AsInt(obj3
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17602 arg5
= (int) SWIG_AsInt(obj4
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 arg6
= (bool) SWIG_AsBool(obj5
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17610 arg7
= wxString_in_helper(obj6
);
17611 if (arg7
== NULL
) SWIG_fail
;
17616 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17641 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxFontList
*arg1
= (wxFontList
*) 0 ;
17644 wxFont
*arg2
= (wxFont
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "font", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 (arg1
)->RemoveFont(arg2
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 Py_INCREF(Py_None
); resultobj
= Py_None
;
17670 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxFontList
*arg1
= (wxFontList
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (int)(arg1
)->GetCount();
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= SWIG_FromInt((int)result
);
17696 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17699 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17701 return Py_BuildValue((char *)"");
17703 static int _wrap_TheFontList_set(PyObject
*_val
) {
17704 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17709 static PyObject
*_wrap_TheFontList_get() {
17712 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17717 static int _wrap_ThePenList_set(PyObject
*_val
) {
17718 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17723 static PyObject
*_wrap_ThePenList_get() {
17726 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17731 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17732 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17737 static PyObject
*_wrap_TheBrushList_get() {
17740 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17745 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17746 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17751 static PyObject
*_wrap_TheColourDatabase_get() {
17754 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17759 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17762 char *kwnames
[] = {
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (wxEffects
*)new wxEffects();
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17781 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
;
17783 wxEffects
*arg1
= (wxEffects
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17795 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17797 wxPyEndAllowThreads(__tstate
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17801 wxColour
* resultptr
;
17802 resultptr
= new wxColour((wxColour
&) result
);
17803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17811 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxEffects
*arg1
= (wxEffects
*) 0 ;
17815 PyObject
* obj0
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17831 wxColour
* resultptr
;
17832 resultptr
= new wxColour((wxColour
&) result
);
17833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17841 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxEffects
*arg1
= (wxEffects
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17861 wxColour
* resultptr
;
17862 resultptr
= new wxColour((wxColour
&) result
);
17863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17871 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxEffects
*arg1
= (wxEffects
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17891 wxColour
* resultptr
;
17892 resultptr
= new wxColour((wxColour
&) result
);
17893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17901 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxEffects
*arg1
= (wxEffects
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17921 wxColour
* resultptr
;
17922 resultptr
= new wxColour((wxColour
&) result
);
17923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17931 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxEffects
*arg1
= (wxEffects
*) 0 ;
17934 wxColour
*arg2
= 0 ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "c", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 Py_INCREF(Py_None
); resultobj
= Py_None
;
17963 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxEffects
*arg1
= (wxEffects
*) 0 ;
17966 wxColour
*arg2
= 0 ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self",(char *) "c", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17979 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxEffects
*arg1
= (wxEffects
*) 0 ;
17998 wxColour
*arg2
= 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "c", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 Py_INCREF(Py_None
); resultobj
= Py_None
;
18027 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxEffects
*arg1
= (wxEffects
*) 0 ;
18030 wxColour
*arg2
= 0 ;
18032 PyObject
* obj0
= 0 ;
18033 PyObject
* obj1
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self",(char *) "c", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 Py_INCREF(Py_None
); resultobj
= Py_None
;
18059 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxEffects
*arg1
= (wxEffects
*) 0 ;
18062 wxColour
*arg2
= 0 ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "c", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 Py_INCREF(Py_None
); resultobj
= Py_None
;
18091 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxEffects
*arg1
= (wxEffects
*) 0 ;
18094 wxColour
*arg2
= 0 ;
18095 wxColour
*arg3
= 0 ;
18096 wxColour
*arg4
= 0 ;
18097 wxColour
*arg5
= 0 ;
18098 wxColour
*arg6
= 0 ;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 PyObject
* obj2
= 0 ;
18107 PyObject
* obj3
= 0 ;
18108 PyObject
* obj4
= 0 ;
18109 PyObject
* obj5
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18123 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18127 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18131 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18135 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18144 Py_INCREF(Py_None
); resultobj
= Py_None
;
18151 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 wxEffects
*arg1
= (wxEffects
*) 0 ;
18156 int arg4
= (int) 1 ;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 PyObject
* obj2
= 0 ;
18161 PyObject
* obj3
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18172 if (arg2
== NULL
) {
18173 PyErr_SetString(PyExc_TypeError
,"null reference");
18178 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18181 arg4
= (int) SWIG_AsInt(obj3
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 Py_INCREF(Py_None
); resultobj
= Py_None
;
18198 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxEffects
*arg1
= (wxEffects
*) 0 ;
18203 wxBitmap
*arg4
= 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 PyObject
* obj3
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18219 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18221 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18224 if (arg3
== NULL
) {
18225 PyErr_SetString(PyExc_TypeError
,"null reference");
18228 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18231 if (arg4
== NULL
) {
18232 PyErr_SetString(PyExc_TypeError
,"null reference");
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18251 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18254 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18256 return Py_BuildValue((char *)"");
18258 static PyMethodDef SwigMethods
[] = {
18259 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18265 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18282 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18288 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18307 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18311 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18321 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"new_EmptyBitmap", _wrap_new_EmptyBitmap
, METH_VARARGS
},
18328 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18348 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18350 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18358 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18360 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18366 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18374 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18382 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18388 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18415 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18429 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18453 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18462 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18482 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18494 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18498 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18499 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18500 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18503 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18505 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18510 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18512 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18514 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18516 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18518 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18519 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18524 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18526 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18527 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18528 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18530 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18534 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18542 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18556 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18558 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18566 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18595 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18599 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18609 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18638 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18640 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18659 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18667 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18675 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18691 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18692 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18696 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18697 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18698 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18701 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18703 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18708 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18710 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18712 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18714 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18716 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18718 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18722 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18724 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18726 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18728 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18732 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18740 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18745 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18750 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18756 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18757 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18762 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18765 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18781 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18783 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18784 return (void *)((wxWindow
*) ((wxControl
*) x
));
18786 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18787 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18789 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18790 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18792 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18793 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18795 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18796 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18798 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18799 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18801 static void *_p_wxPenTo_p_wxObject(void *x
) {
18802 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18804 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18805 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18807 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18808 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18810 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18811 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18813 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18814 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18816 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18819 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18820 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18822 static void *_p_wxIconTo_p_wxObject(void *x
) {
18823 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18825 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18826 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18828 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18829 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18831 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18832 return (void *)((wxObject
*) ((wxSizer
*) x
));
18834 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18835 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18837 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18840 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18841 return (void *)((wxObject
*) ((wxPenList
*) x
));
18843 static void *_p_wxEventTo_p_wxObject(void *x
) {
18844 return (void *)((wxObject
*) ((wxEvent
*) x
));
18846 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18847 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18849 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18850 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18852 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18853 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18855 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18856 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18858 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18859 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18861 static void *_p_wxDCTo_p_wxObject(void *x
) {
18862 return (void *)((wxObject
*) ((wxDC
*) x
));
18864 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18865 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18867 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18868 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18870 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18871 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18873 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18874 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18876 static void *_p_wxControlTo_p_wxObject(void *x
) {
18877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18879 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18880 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18882 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18883 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18885 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18886 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18888 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18889 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18891 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18892 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18894 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18895 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18897 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18898 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18900 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18901 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18903 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18904 return (void *)((wxObject
*) ((wxEffects
*) x
));
18906 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18907 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18909 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18912 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18913 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18915 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18916 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18918 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18919 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18921 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18922 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18924 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18927 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18928 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18930 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18931 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18933 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18934 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18936 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18937 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18939 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18940 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18942 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18943 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18945 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18946 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18948 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18949 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18951 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18952 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18954 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18957 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18960 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18961 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18963 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18964 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18966 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18967 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18969 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18970 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18972 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18973 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18975 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18976 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18978 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18981 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18982 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18984 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18985 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18987 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18988 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18990 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18991 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18993 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18994 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18996 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18997 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18999 static void *_p_wxImageTo_p_wxObject(void *x
) {
19000 return (void *)((wxObject
*) ((wxImage
*) x
));
19002 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19003 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19005 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19006 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19008 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19009 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19011 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19012 return (void *)((wxObject
*) ((wxImageList
*) x
));
19014 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19015 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19017 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19018 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19020 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19021 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19023 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19024 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19026 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19027 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19029 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19030 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19032 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19033 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19035 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19036 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19038 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19041 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19042 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19044 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19045 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19047 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19048 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19050 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19053 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19056 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) ((wxMask
*) x
));
19059 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19062 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19065 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19068 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19071 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19074 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19077 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19080 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19083 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19086 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19089 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19092 static void *_p_wxFontTo_p_wxObject(void *x
) {
19093 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19095 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19096 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19098 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19099 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19101 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19104 static void *_p_wxColourTo_p_wxObject(void *x
) {
19105 return (void *)((wxObject
*) ((wxColour
*) x
));
19107 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19108 return (void *)((wxObject
*) ((wxFontList
*) x
));
19110 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19113 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19114 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19116 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19117 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19119 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19120 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19122 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19123 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19125 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19126 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19128 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19129 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19131 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19132 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19134 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19135 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19137 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19138 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19140 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19141 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19143 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19144 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19146 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19147 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19149 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19150 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19152 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19153 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19155 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19156 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19158 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19159 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19161 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19162 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19164 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19165 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19167 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19168 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19170 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19171 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19173 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19174 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19176 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19177 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19179 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19180 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19182 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}};
19183 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}};
19184 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}};
19185 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}};
19186 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}};
19187 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}};
19188 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}};
19189 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}};
19190 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}};
19191 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}};
19192 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}};
19193 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}};
19194 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}};
19195 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}};
19196 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}};
19197 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}};
19198 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}};
19199 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}};
19200 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}};
19201 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}};
19202 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}};
19203 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}};
19204 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19205 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}};
19206 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}};
19207 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}};
19208 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}};
19209 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}};
19210 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}};
19211 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}};
19212 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}};
19213 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}};
19214 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}};
19215 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}};
19216 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}};
19217 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}};
19218 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19219 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}};
19220 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}};
19221 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}};
19222 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}};
19223 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}};
19224 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}};
19225 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}};
19226 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}};
19227 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}};
19228 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
, 0, 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19229 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}};
19230 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}};
19231 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}};
19232 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0, 0, 0, 0},{"_p_wxPyPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19233 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}};
19234 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}};
19235 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}};
19236 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}};
19237 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}};
19239 static swig_type_info
*swig_types_initial
[] = {
19240 _swigt__p_wxPostScriptDC
,
19242 _swigt__p_wxColour
,
19244 _swigt__p_wxMirrorDC
,
19246 _swigt__p_wxPyFontEnumerator
,
19248 _swigt__p_wxIconLocation
,
19250 _swigt__p_wxMetaFileDC
,
19254 _swigt__p_wxWindow
,
19256 _swigt__p_wxMemoryDC
,
19257 _swigt__p_wxFontMapper
,
19258 _swigt__p_wxEffects
,
19259 _swigt__p_wxNativeEncodingInfo
,
19260 _swigt__p_wxPalette
,
19261 _swigt__p_wxBitmap
,
19262 _swigt__p_wxObject
,
19263 _swigt__p_wxRegionIterator
,
19265 _swigt__p_wxString
,
19266 _swigt__p_wxPrinterDC
,
19267 _swigt__p_wxIconBundle
,
19270 _swigt__p_wxScreenDC
,
19271 _swigt__p_wxCursor
,
19272 _swigt__p_wxClientDC
,
19273 _swigt__p_wxBufferedDC
,
19274 _swigt__p_wxImageList
,
19275 _swigt__p_unsigned_char
,
19276 _swigt__p_wxGDIObject
,
19278 _swigt__p_wxLocale
,
19279 _swigt__p_wxRegion
,
19280 _swigt__p_wxConfigBase
,
19281 _swigt__p_wxLanguageInfo
,
19282 _swigt__p_wxWindowDC
,
19283 _swigt__p_wxPrintData
,
19284 _swigt__p_wxBrushList
,
19285 _swigt__p_wxFontList
,
19287 _swigt__p_wxBufferedPaintDC
,
19288 _swigt__p_wxPaintDC
,
19289 _swigt__p_wxPenList
,
19292 _swigt__p_wxMetaFile
,
19293 _swigt__p_wxNativeFontInfo
,
19294 _swigt__p_wxEncodingConverter
,
19295 _swigt__p_wxColourDatabase
,
19300 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19302 static swig_const_info swig_const_table
[] = {
19312 SWIGEXPORT(void) SWIG_init(void) {
19313 static PyObject
*SWIG_globals
= 0;
19314 static int typeinit
= 0;
19317 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19318 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19319 d
= PyModule_GetDict(m
);
19322 for (i
= 0; swig_types_initial
[i
]; i
++) {
19323 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19327 SWIG_InstallConstants(d
,swig_const_table
);
19329 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19330 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19331 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19332 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19333 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19334 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19335 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19336 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19337 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19338 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19339 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19340 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19341 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19342 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19343 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19344 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19345 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19346 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19347 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19348 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19349 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19350 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19351 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19352 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19353 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19354 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19355 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19356 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19357 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19358 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19359 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19360 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19361 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19362 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19363 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19364 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19365 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19366 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19367 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19368 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19369 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19370 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19371 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19372 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19373 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19374 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19375 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19376 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19377 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19378 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19379 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19380 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19381 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19382 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19383 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19384 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19385 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19386 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19387 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19388 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19389 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19390 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19391 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19392 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19393 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19394 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19395 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19396 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19397 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19398 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19399 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19400 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19401 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19402 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19403 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19404 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19405 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19406 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19407 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19408 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19409 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19410 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19411 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19412 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19413 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19414 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19415 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19416 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19417 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19418 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19419 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19420 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19421 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19422 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19423 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19424 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19425 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19426 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19427 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19428 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19429 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19430 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19431 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19432 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19433 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19434 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19435 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19436 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19437 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19438 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19439 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19440 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19441 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19442 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19443 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19444 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19445 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19446 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19447 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19448 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19449 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19450 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19451 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19452 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19453 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19454 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19455 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19457 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19459 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19460 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19461 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19462 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19463 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19464 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19465 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19466 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19467 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19468 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19469 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19470 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19471 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19472 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19473 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19474 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19475 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19476 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19477 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19478 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19479 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19480 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19481 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19482 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19483 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19484 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19485 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19486 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19487 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19488 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19489 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19490 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19491 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19492 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19493 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19494 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19495 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19496 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19497 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19498 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19499 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19500 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19501 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19502 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19503 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19504 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19505 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19506 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19507 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19508 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19509 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19510 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19511 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19512 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19513 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19514 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19515 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19516 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19517 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19518 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19519 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19520 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19521 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19522 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19523 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19524 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19525 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19526 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19527 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19528 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19529 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19530 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19531 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19532 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19533 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19534 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19535 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19536 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19537 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19538 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19539 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19540 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19541 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19542 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19543 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19544 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19545 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19546 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19547 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19548 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19549 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19550 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19551 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19552 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19553 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19554 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19555 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19556 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19557 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19558 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19559 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19560 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19561 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19562 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19563 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19564 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19565 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19566 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19567 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19568 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19569 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19570 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19571 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19572 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19573 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19574 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19575 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19576 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19577 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19578 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19579 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19580 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19581 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19582 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19583 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19584 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19585 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19586 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19587 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19588 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19589 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19590 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19591 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19592 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19593 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19594 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19595 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19596 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19597 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19598 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19599 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19600 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19601 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19602 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19603 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19604 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19605 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19606 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19607 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19608 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19609 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19610 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19611 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19612 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19613 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19614 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19615 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19616 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19617 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19618 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19619 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19620 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19621 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19622 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19623 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19624 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19625 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19626 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19627 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19628 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19629 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19630 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19631 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19632 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19633 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19634 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19635 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19636 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19637 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19638 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19639 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19640 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19641 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19642 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19643 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19644 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19645 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19646 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19647 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19648 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19649 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19650 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19651 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19652 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19653 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19654 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19655 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19656 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19657 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19658 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19659 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19660 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19661 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19662 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19663 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19664 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19665 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19666 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19667 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19668 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19669 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19670 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19671 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19672 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19673 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19674 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19675 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19676 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19677 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19678 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19679 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19680 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19681 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19682 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19683 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19684 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19685 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19686 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19687 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19688 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19689 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19690 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19691 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19692 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19693 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19694 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19695 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19696 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19697 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19698 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19699 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19700 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19701 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19702 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19703 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19704 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19705 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19706 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19707 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19708 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19709 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19710 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19711 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19712 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19713 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19714 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19715 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19716 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19717 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19718 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19719 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19720 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19721 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19722 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19723 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19724 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19725 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19726 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19727 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19728 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19729 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19730 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19731 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19732 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19733 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19734 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19735 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19736 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19737 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19738 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19739 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19740 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19741 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19742 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19743 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19744 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19745 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19746 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19747 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19748 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19749 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19750 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19751 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19752 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19753 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19754 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19755 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19756 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19757 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19758 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19760 // Work around a chicken/egg problem in drawlist.cpp
19761 wxPyDrawList_SetAPIPtr();