1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxWindow swig_types[13]
223 #define SWIGTYPE_p_wxSize swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
250 #define SWIGTYPE_p_wxConfigBase swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(unsigned long)
367 SWIG_AsUnsignedLong(PyObject
* obj
)
369 if (PyLong_Check(obj
)) {
370 return PyLong_AsUnsignedLong(obj
);
372 long i
= PyInt_AsLong(obj
);
373 if ( !PyErr_Occurred() && (i
< 0)) {
374 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
381 SWIGSTATICINLINE(unsigned char)
382 SWIG_AsUnsignedChar(PyObject
*obj
)
384 return swig_numeric_cast(unsigned char,
385 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
386 "unsigned char", UCHAR_MAX
));
390 SWIGSTATICINLINE(int)
391 SWIG_CheckUnsignedChar(PyObject
* obj
)
393 SWIG_AsUnsignedChar(obj
);
394 if (PyErr_Occurred()) {
403 SWIGSTATICINLINE(int)
404 SWIG_CheckUnsignedLong(PyObject
* obj
)
406 SWIG_AsUnsignedLong(obj
);
407 if (PyErr_Occurred()) {
415 PyObject
*wxColour_Get(wxColour
*self
){
416 PyObject
* rv
= PyTuple_New(3);
422 green
= self
->Green();
425 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
426 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
427 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
430 unsigned long wxColour_GetRGB(wxColour
*self
){
431 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
434 SWIGSTATICINLINE(PyObject
* )
435 SWIG_FromUnsignedLong(unsigned long value
)
437 return (value
> LONG_MAX
) ?
438 PyLong_FromUnsignedLong(value
)
439 : PyInt_FromLong(swig_numeric_cast(long,value
));
443 SWIGSTATICINLINE(long)
444 SWIG_CheckLongInRange(long value
, const char* type
,
445 long min_value
, long max_value
)
447 if (!PyErr_Occurred()) {
448 if (value
< min_value
) {
450 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
451 value
, type
, min_value
);
453 PyErr_SetObject(PyExc_OverflowError
, err
);
455 } else if (value
> max_value
) {
457 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
458 value
, type
, max_value
);
459 PyErr_SetObject(PyExc_OverflowError
, err
);
467 SWIGSTATICINLINE(long)
468 SWIG_AsLong(PyObject
* obj
)
470 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
474 #if INT_MAX != LONG_MAX
475 SWIGSTATICINLINE(int)
476 SWIG_AsInt(PyObject
*obj
)
478 return swig_numeric_cast(int,
479 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
480 "int", INT_MIN
, INT_MAX
));
483 #define SWIG_AsInt SWIG_AsLong
487 SWIGSTATICINLINE(int)
488 SWIG_CheckInt(PyObject
* obj
)
491 if (PyErr_Occurred()) {
500 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
506 } else if (target
== Py_None
) {
510 if (!PyTuple_Check(target
)) {
512 target
= PyTuple_New(1);
513 PyTuple_SetItem(target
, 0, o2
);
516 PyTuple_SetItem(o3
, 0, o
);
519 target
= PySequence_Concat(o2
, o3
);
526 PyObject
*wxPen_GetDashes(wxPen
*self
){
528 int count
= self
->GetDashes(&dashes
);
529 bool blocked
= wxPyBeginBlockThreads();
530 PyObject
* retval
= PyList_New(0);
531 for (int x
=0; x
<count
; x
++)
532 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
533 wxPyEndBlockThreads(blocked
);
536 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
537 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
545 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
549 m_dash
= new wxDash
[nb_dashes
];
550 for (int i
=0; i
<nb_dashes
; i
++) {
553 wxPen::SetDashes(nb_dashes
, m_dash
);
557 #include <wx/image.h>
559 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
560 char** cArray
= NULL
;
563 if (!PyList_Check(listOfStrings
)) {
564 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
567 count
= PyList_Size(listOfStrings
);
568 cArray
= new char*[count
];
570 for(int x
=0; x
<count
; x
++) {
571 // TODO: Need some validation and error checking here
572 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
578 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
579 char** cArray
= NULL
;
582 cArray
= ConvertListOfStrings(listOfStrings
);
585 bmp
= new wxBitmap(cArray
);
589 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
592 PyString_AsStringAndSize(bits
, &buf
, &length
);
593 return new wxBitmap(buf
, width
, height
, depth
);
595 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
596 wxMask
*mask
= new wxMask(*self
, colour
);
599 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
600 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
601 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
603 return new wxMask(bitmap
, *wxBLACK
);
605 return new wxMask(bitmap
, colour
);
608 #include <wx/iconbndl.h>
610 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
611 wxIcon
* icon
= new wxIcon();
612 icon
->CopyFromBitmap(bmp
);
615 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
616 char** cArray
= NULL
;
619 cArray
= ConvertListOfStrings(listOfStrings
);
622 icon
= new wxIcon(cArray
);
626 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
630 return new wxIconLocation(*filename
);
633 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
640 int wxIconLocation_GetIndex(wxIconLocation
*self
){
648 SWIGSTATICINLINE(int)
649 SWIG_CheckLong(PyObject
* obj
)
652 if (PyErr_Occurred()) {
660 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
662 wxCHECK_MSG(False
, NULL
,
663 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
665 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
670 void wxRegionIterator_Next(wxRegionIterator
*self
){
673 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
674 return self
->operator bool();
677 #include <wx/fontutil.h>
678 #include <wx/fontmap.h>
679 #include <wx/fontenum.h>
681 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
682 return self
->ToString();
685 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
686 static wxNativeEncodingInfo info
;
687 if ( wxGetNativeFontEncoding(encoding
, &info
) )
693 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
694 wxFontEncoding alt_enc
;
695 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
696 return PyInt_FromLong(alt_enc
);
702 wxFont
*new_wxFont(wxString
const &info
){
703 wxNativeFontInfo nfi
;
704 nfi
.FromString(info
);
705 return new wxFont(nfi
);
707 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
708 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
710 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
711 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
713 class wxPyFontEnumerator
: public wxFontEnumerator
{
715 wxPyFontEnumerator() {}
716 ~wxPyFontEnumerator() {}
718 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
719 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
724 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
725 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
728 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
729 wxArrayString
* arr
= self
->GetEncodings();
730 return wxArrayString2PyList_helper(*arr
);
732 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
733 wxArrayString
* arr
= self
->GetFacenames();
734 return wxArrayString2PyList_helper(*arr
);
739 #include "wx/wxPython/pydrawxxx.h"
741 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
743 self
->GetPixel(x
, y
, &col
);
746 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
748 self
->GetPixel(pt
, &col
);
752 SWIGSTATICINLINE(double)
753 SWIG_AsDouble(PyObject
*obj
)
755 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
757 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
759 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
761 if (PyErr_Occurred()) {
763 PyErr_SetString(PyExc_TypeError
, "a double is expected");
769 SWIGSTATICINLINE(int)
770 SWIG_CheckDouble(PyObject
* obj
)
773 if (PyErr_Occurred()) {
781 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
783 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
786 wxRect
wxDC_GetClippingRect(wxDC
*self
){
788 self
->GetClippingBox(rect
);
791 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
793 self
->GetPartialTextExtents(text
, widths
);
796 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
797 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
799 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
800 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
802 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
803 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
805 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
806 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
808 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
809 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
811 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
812 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
815 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
823 //-=-=-=-=-=-=-=-=-=-=-
826 // Use the standard wxBufferedDC
827 #include <wx/dcbuffer.h>
831 // Or, temporarily put a set of classes here similar to the old buffered DC
832 // classes until the real ones can be fixed to work "correctly" again.
834 class wxBufferedDC
: public wxMemoryDC
842 wxBufferedDC() : m_dc( 0 ) {}
844 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
845 : m_dc( dc
), m_buffer( buffer
)
847 SelectObject( m_buffer
);
850 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
851 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
853 SelectObject( m_buffer
);
862 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
863 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
864 _T("wxBufferedDC already initialised") );
867 SelectObject( m_buffer
);
870 void Init( wxDC
*dc
, const wxSize
&area
) {
871 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
872 _T("wxBufferedDC already initialised") );
874 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
875 SelectObject( m_buffer
);
879 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
880 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
886 class wxBufferedPaintDC
: public wxBufferedDC
892 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
893 : m_paintdc( window
)
895 window
->PrepareDC( m_paintdc
);
897 if( buffer
!= wxNullBitmap
)
898 Init( &m_paintdc
, buffer
);
900 Init( &m_paintdc
, window
->GetClientSize() );
903 ~wxBufferedPaintDC() {
909 //-=-=-=-=-=-=-=-=-=-=-
915 class wxMetaFile
: public wxObject
{
917 wxMetaFile(const wxString
&)
918 { wxPyRaiseNotImplemented(); }
921 class wxMetaFileDC
: public wxClientDC
{
923 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
924 { wxPyRaiseNotImplemented(); }
929 class wxPrinterDC
: public wxClientDC
{
931 wxPrinterDC(const wxPrintData
&)
932 { wxPyRaiseNotImplemented(); }
934 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
935 // { wxPyRaiseNotImplemented(); }
940 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
941 self
->AddColour(name
, wxColour(red
, green
, blue
));
944 #include <wx/effects.h>
949 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
959 result
= (wxGDIObject
*)new wxGDIObject();
961 wxPyEndAllowThreads(__tstate
);
962 if (PyErr_Occurred()) SWIG_fail
;
964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
971 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
974 PyObject
* obj0
= 0 ;
976 (char *) "self", NULL
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) SWIG_fail
;
989 Py_INCREF(Py_None
); resultobj
= Py_None
;
996 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
998 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1000 PyObject
* obj0
= 0 ;
1002 (char *) "self", NULL
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 result
= (bool)(arg1
)->GetVisible();
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) SWIG_fail
;
1016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1024 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
*resultobj
;
1026 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1028 PyObject
* obj0
= 0 ;
1029 PyObject
* obj1
= 0 ;
1031 (char *) "self",(char *) "visible", NULL
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1037 arg2
= (bool) SWIG_AsBool(obj1
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 (arg1
)->SetVisible(arg2
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) SWIG_fail
;
1046 Py_INCREF(Py_None
); resultobj
= Py_None
;
1053 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
*resultobj
;
1055 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1057 PyObject
* obj0
= 0 ;
1059 (char *) "self", NULL
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1067 result
= (bool)(arg1
)->IsNull();
1069 wxPyEndAllowThreads(__tstate
);
1070 if (PyErr_Occurred()) SWIG_fail
;
1073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1081 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1084 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1086 return Py_BuildValue((char *)"");
1088 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
*resultobj
;
1090 unsigned char arg1
= (unsigned char) 0 ;
1091 unsigned char arg2
= (unsigned char) 0 ;
1092 unsigned char arg3
= (unsigned char) 0 ;
1094 PyObject
* obj0
= 0 ;
1095 PyObject
* obj1
= 0 ;
1096 PyObject
* obj2
= 0 ;
1098 (char *) "red",(char *) "green",(char *) "blue", NULL
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1103 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1107 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1108 if (PyErr_Occurred()) SWIG_fail
;
1111 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1112 if (PyErr_Occurred()) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1128 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
*resultobj
;
1130 wxString
*arg1
= 0 ;
1132 bool temp1
= False
;
1133 PyObject
* obj0
= 0 ;
1135 (char *) "colorName", NULL
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1140 arg1
= wxString_in_helper(obj0
);
1141 if (arg1
== NULL
) SWIG_fail
;
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) SWIG_fail
;
1151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1166 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 unsigned long arg1
;
1170 PyObject
* obj0
= 0 ;
1172 (char *) "colRGB", NULL
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1176 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1177 if (PyErr_Occurred()) SWIG_fail
;
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 result
= (wxColour
*)new wxColour(arg1
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) SWIG_fail
;
1185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1192 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
*resultobj
;
1194 wxColour
*arg1
= (wxColour
*) 0 ;
1195 PyObject
* obj0
= 0 ;
1197 (char *) "self", NULL
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 wxPyEndAllowThreads(__tstate
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 Py_INCREF(Py_None
); resultobj
= Py_None
;
1217 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
*resultobj
;
1219 wxColour
*arg1
= (wxColour
*) 0 ;
1220 unsigned char result
;
1221 PyObject
* obj0
= 0 ;
1223 (char *) "self", NULL
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 result
= (unsigned char)(arg1
)->Red();
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1236 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1243 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
*resultobj
;
1245 wxColour
*arg1
= (wxColour
*) 0 ;
1246 unsigned char result
;
1247 PyObject
* obj0
= 0 ;
1249 (char *) "self", NULL
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 result
= (unsigned char)(arg1
)->Green();
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1269 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
*resultobj
;
1271 wxColour
*arg1
= (wxColour
*) 0 ;
1272 unsigned char result
;
1273 PyObject
* obj0
= 0 ;
1275 (char *) "self", NULL
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 result
= (unsigned char)(arg1
)->Blue();
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) SWIG_fail
;
1288 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1295 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
*resultobj
;
1297 wxColour
*arg1
= (wxColour
*) 0 ;
1299 PyObject
* obj0
= 0 ;
1301 (char *) "self", NULL
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 result
= (bool)(arg1
)->Ok();
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) SWIG_fail
;
1315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1323 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
*resultobj
;
1325 wxColour
*arg1
= (wxColour
*) 0 ;
1326 unsigned char arg2
;
1327 unsigned char arg3
;
1328 unsigned char arg4
;
1329 PyObject
* obj0
= 0 ;
1330 PyObject
* obj1
= 0 ;
1331 PyObject
* obj2
= 0 ;
1332 PyObject
* obj3
= 0 ;
1334 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1340 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1342 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1344 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 (arg1
)->Set(arg2
,arg3
,arg4
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1353 Py_INCREF(Py_None
); resultobj
= Py_None
;
1360 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
*resultobj
;
1362 wxColour
*arg1
= (wxColour
*) 0 ;
1363 unsigned long arg2
;
1364 PyObject
* obj0
= 0 ;
1365 PyObject
* obj1
= 0 ;
1367 (char *) "self",(char *) "colRGB", NULL
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1373 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1374 if (PyErr_Occurred()) SWIG_fail
;
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1382 Py_INCREF(Py_None
); resultobj
= Py_None
;
1389 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
*resultobj
;
1391 wxColour
*arg1
= (wxColour
*) 0 ;
1392 wxString
*arg2
= 0 ;
1393 bool temp2
= False
;
1394 PyObject
* obj0
= 0 ;
1395 PyObject
* obj1
= 0 ;
1397 (char *) "self",(char *) "colourName", NULL
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1404 arg2
= wxString_in_helper(obj1
);
1405 if (arg2
== NULL
) SWIG_fail
;
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1410 (arg1
)->InitFromName((wxString
const &)*arg2
);
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) SWIG_fail
;
1415 Py_INCREF(Py_None
); resultobj
= Py_None
;
1430 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxColour
*arg1
= (wxColour
*) 0 ;
1434 PyObject
* obj0
= 0 ;
1436 (char *) "self", NULL
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1449 resultobj
= SWIG_FromLong((long)result
);
1456 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
*resultobj
;
1458 wxColour
*arg1
= (wxColour
*) 0 ;
1459 wxColour
*arg2
= 0 ;
1462 PyObject
* obj0
= 0 ;
1463 PyObject
* obj1
= 0 ;
1465 (char *) "self",(char *) "colour", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1491 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
*resultobj
;
1493 wxColour
*arg1
= (wxColour
*) 0 ;
1494 wxColour
*arg2
= 0 ;
1497 PyObject
* obj0
= 0 ;
1498 PyObject
* obj1
= 0 ;
1500 (char *) "self",(char *) "colour", NULL
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1508 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1526 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
*resultobj
;
1528 wxColour
*arg1
= (wxColour
*) 0 ;
1530 PyObject
* obj0
= 0 ;
1532 (char *) "self", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 result
= (PyObject
*)wxColour_Get(arg1
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1552 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
*resultobj
;
1554 wxColour
*arg1
= (wxColour
*) 0 ;
1555 unsigned long result
;
1556 PyObject
* obj0
= 0 ;
1558 (char *) "self", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= (unsigned long)wxColour_GetRGB(arg1
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1578 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1581 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1583 return Py_BuildValue((char *)"");
1585 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1588 unsigned char *arg2
= (unsigned char *) 0 ;
1589 unsigned char *arg3
= (unsigned char *) 0 ;
1590 unsigned char *arg4
= (unsigned char *) 0 ;
1592 PyObject
* obj0
= 0 ;
1593 PyObject
* obj1
= 0 ;
1594 PyObject
* obj2
= 0 ;
1595 PyObject
* obj3
= 0 ;
1597 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1601 arg1
= (int) SWIG_AsInt(obj0
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1607 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1623 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
*resultobj
;
1625 wxPalette
*arg1
= (wxPalette
*) 0 ;
1626 PyObject
* obj0
= 0 ;
1628 (char *) "self", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 Py_INCREF(Py_None
); resultobj
= Py_None
;
1648 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1650 wxPalette
*arg1
= (wxPalette
*) 0 ;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1657 PyObject
* obj2
= 0 ;
1658 PyObject
* obj3
= 0 ;
1660 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1666 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1668 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1670 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1679 resultobj
= SWIG_FromInt((int)result
);
1686 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
*resultobj
;
1688 wxPalette
*arg1
= (wxPalette
*) 0 ;
1690 byte
*arg3
= (byte
*) 0 ;
1691 byte
*arg4
= (byte
*) 0 ;
1692 byte
*arg5
= (byte
*) 0 ;
1697 PyObject
* obj0
= 0 ;
1698 PyObject
* obj1
= 0 ;
1700 (char *) "self",(char *) "pixel", NULL
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1709 arg2
= (int) SWIG_AsInt(obj1
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1722 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1723 resultobj
= t_output_helper(resultobj
,o
);
1726 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1727 resultobj
= t_output_helper(resultobj
,o
);
1730 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1731 resultobj
= t_output_helper(resultobj
,o
);
1739 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxPalette
*arg1
= (wxPalette
*) 0 ;
1743 PyObject
* obj0
= 0 ;
1745 (char *) "self", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 result
= (bool)(arg1
)->Ok();
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1767 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1770 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1772 return Py_BuildValue((char *)"");
1774 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxColour
*arg1
= 0 ;
1777 int arg2
= (int) 1 ;
1778 int arg3
= (int) wxSOLID
;
1781 PyObject
* obj0
= 0 ;
1782 PyObject
* obj1
= 0 ;
1783 PyObject
* obj2
= 0 ;
1785 (char *) "colour",(char *) "width",(char *) "style", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1791 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1794 arg2
= (int) SWIG_AsInt(obj1
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1798 arg3
= (int) SWIG_AsInt(obj2
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1815 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxPen
*arg1
= (wxPen
*) 0 ;
1818 PyObject
* obj0
= 0 ;
1820 (char *) "self", NULL
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 Py_INCREF(Py_None
); resultobj
= Py_None
;
1840 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxPen
*arg1
= (wxPen
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (int)(arg1
)->GetCap();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 resultobj
= SWIG_FromInt((int)result
);
1866 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxPen
*arg1
= (wxPen
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1872 (char *) "self", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1880 result
= (arg1
)->GetColour();
1882 wxPyEndAllowThreads(__tstate
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1886 wxColour
* resultptr
;
1887 resultptr
= new wxColour((wxColour
&) result
);
1888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1896 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1898 wxPen
*arg1
= (wxPen
*) 0 ;
1900 PyObject
* obj0
= 0 ;
1902 (char *) "self", NULL
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 result
= (int)(arg1
)->GetJoin();
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 resultobj
= SWIG_FromInt((int)result
);
1922 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxPen
*arg1
= (wxPen
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1928 (char *) "self", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 result
= (int)(arg1
)->GetStyle();
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1941 resultobj
= SWIG_FromInt((int)result
);
1948 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
*resultobj
;
1950 wxPen
*arg1
= (wxPen
*) 0 ;
1952 PyObject
* obj0
= 0 ;
1954 (char *) "self", NULL
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 result
= (int)(arg1
)->GetWidth();
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= SWIG_FromInt((int)result
);
1974 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxPen
*arg1
= (wxPen
*) 0 ;
1978 PyObject
* obj0
= 0 ;
1980 (char *) "self", NULL
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 result
= (bool)(arg1
)->Ok();
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2002 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxPen
*arg1
= (wxPen
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2007 PyObject
* obj1
= 0 ;
2009 (char *) "self",(char *) "cap_style", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2015 arg2
= (int) SWIG_AsInt(obj1
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 (arg1
)->SetCap(arg2
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 Py_INCREF(Py_None
); resultobj
= Py_None
;
2031 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxPen
*arg1
= (wxPen
*) 0 ;
2034 wxColour
*arg2
= 0 ;
2036 PyObject
* obj0
= 0 ;
2037 PyObject
* obj1
= 0 ;
2039 (char *) "self",(char *) "colour", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 (arg1
)->SetColour(*arg2
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2063 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxPen
*arg1
= (wxPen
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2068 PyObject
* obj1
= 0 ;
2070 (char *) "self",(char *) "join_style", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2076 arg2
= (int) SWIG_AsInt(obj1
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 (arg1
)->SetJoin(arg2
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 Py_INCREF(Py_None
); resultobj
= Py_None
;
2092 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxPen
*arg1
= (wxPen
*) 0 ;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2099 (char *) "self",(char *) "style", NULL
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2105 arg2
= (int) SWIG_AsInt(obj1
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 (arg1
)->SetStyle(arg2
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2114 Py_INCREF(Py_None
); resultobj
= Py_None
;
2121 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxPen
*arg1
= (wxPen
*) 0 ;
2125 PyObject
* obj0
= 0 ;
2126 PyObject
* obj1
= 0 ;
2128 (char *) "self",(char *) "width", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2134 arg2
= (int) SWIG_AsInt(obj1
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 (arg1
)->SetWidth(arg2
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2143 Py_INCREF(Py_None
); resultobj
= Py_None
;
2150 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 wxPen
*arg1
= (wxPen
*) 0 ;
2154 wxDash
*arg3
= (wxDash
*) 0 ;
2155 PyObject
* obj0
= 0 ;
2156 PyObject
* obj1
= 0 ;
2158 (char *) "self",(char *) "dashes", NULL
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2165 arg2
= PyList_Size(obj1
);
2166 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2167 if (arg3
== NULL
) SWIG_fail
;
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 (arg1
)->SetDashes(arg2
,arg3
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2176 Py_INCREF(Py_None
); resultobj
= Py_None
;
2178 if (arg3
) delete [] arg3
;
2183 if (arg3
) delete [] arg3
;
2189 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxPen
*arg1
= (wxPen
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2195 (char *) "self", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2215 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxPen
*arg1
= (wxPen
*) 0 ;
2218 wxPen
*arg2
= (wxPen
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "self",(char *) "other", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2247 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxPen
*arg1
= (wxPen
*) 0 ;
2250 wxPen
*arg2
= (wxPen
*) 0 ;
2252 PyObject
* obj0
= 0 ;
2253 PyObject
* obj1
= 0 ;
2255 (char *) "self",(char *) "other", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2279 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxPen
*arg1
= (wxPen
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2285 (char *) "self", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= SWIG_FromInt((int)result
);
2305 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2308 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2310 return Py_BuildValue((char *)"");
2312 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxColour
*arg1
= 0 ;
2315 int arg2
= (int) 1 ;
2316 int arg3
= (int) wxSOLID
;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2321 PyObject
* obj2
= 0 ;
2323 (char *) "colour",(char *) "width",(char *) "style", NULL
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2329 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2332 arg2
= (int) SWIG_AsInt(obj1
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2336 arg3
= (int) SWIG_AsInt(obj2
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2353 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
*resultobj
;
2355 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2356 PyObject
* obj0
= 0 ;
2358 (char *) "self", NULL
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 Py_INCREF(Py_None
); resultobj
= Py_None
;
2378 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2382 wxDash
*arg3
= (wxDash
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2386 (char *) "self",(char *) "dashes", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2393 arg2
= PyList_Size(obj1
);
2394 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2395 if (arg3
== NULL
) SWIG_fail
;
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 (arg1
)->SetDashes(arg2
,arg3
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 Py_INCREF(Py_None
); resultobj
= Py_None
;
2406 if (arg3
) delete [] arg3
;
2411 if (arg3
) delete [] arg3
;
2417 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2420 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2422 return Py_BuildValue((char *)"");
2424 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxColour
*arg1
= 0 ;
2427 int arg2
= (int) wxSOLID
;
2430 PyObject
* obj0
= 0 ;
2431 PyObject
* obj1
= 0 ;
2433 (char *) "colour",(char *) "style", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2439 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2442 arg2
= (int) SWIG_AsInt(obj1
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2459 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2461 wxBrush
*arg1
= (wxBrush
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2464 (char *) "self", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 Py_INCREF(Py_None
); resultobj
= Py_None
;
2484 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxBrush
*arg1
= (wxBrush
*) 0 ;
2487 wxColour
*arg2
= 0 ;
2489 PyObject
* obj0
= 0 ;
2490 PyObject
* obj1
= 0 ;
2492 (char *) "self",(char *) "col", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 (arg1
)->SetColour((wxColour
const &)*arg2
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2509 Py_INCREF(Py_None
); resultobj
= Py_None
;
2516 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
*resultobj
;
2518 wxBrush
*arg1
= (wxBrush
*) 0 ;
2520 PyObject
* obj0
= 0 ;
2521 PyObject
* obj1
= 0 ;
2523 (char *) "self",(char *) "style", NULL
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2529 arg2
= (int) SWIG_AsInt(obj1
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 (arg1
)->SetStyle(arg2
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2545 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxBrush
*arg1
= (wxBrush
*) 0 ;
2548 wxBitmap
*arg2
= 0 ;
2549 PyObject
* obj0
= 0 ;
2550 PyObject
* obj1
= 0 ;
2552 (char *) "self",(char *) "stipple", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2562 PyErr_SetString(PyExc_TypeError
,"null reference");
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxBrush
*arg1
= (wxBrush
*) 0 ;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "self", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 result
= ((wxBrush
const *)arg1
)->GetColour();
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2599 wxColour
* resultptr
;
2600 resultptr
= new wxColour((wxColour
&) result
);
2601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2609 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxBrush
*arg1
= (wxBrush
*) 0 ;
2613 PyObject
* obj0
= 0 ;
2615 (char *) "self", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= SWIG_FromInt((int)result
);
2635 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2637 wxBrush
*arg1
= (wxBrush
*) 0 ;
2639 PyObject
* obj0
= 0 ;
2641 (char *) "self", NULL
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2661 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxBrush
*arg1
= (wxBrush
*) 0 ;
2665 PyObject
* obj0
= 0 ;
2667 (char *) "self", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (bool)(arg1
)->Ok();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2689 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2692 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2694 return Py_BuildValue((char *)"");
2696 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
*resultobj
;
2698 wxString
*arg1
= 0 ;
2699 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2701 bool temp1
= False
;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2705 (char *) "name",(char *) "type", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 arg1
= wxString_in_helper(obj0
);
2711 if (arg1
== NULL
) SWIG_fail
;
2715 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2740 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2743 PyObject
* obj0
= 0 ;
2745 (char *) "self", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 Py_INCREF(Py_None
); resultobj
= Py_None
;
2765 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2769 int arg3
= (int) -1 ;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2773 PyObject
* obj2
= 0 ;
2775 (char *) "width",(char *) "height",(char *) "depth", NULL
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2779 arg1
= (int) SWIG_AsInt(obj0
);
2780 if (PyErr_Occurred()) SWIG_fail
;
2781 arg2
= (int) SWIG_AsInt(obj1
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 arg3
= (int) SWIG_AsInt(obj2
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2801 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2805 PyObject
* obj0
= 0 ;
2807 (char *) "icon", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2815 PyErr_SetString(PyExc_TypeError
,"null reference");
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2832 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2835 int arg2
= (int) -1 ;
2837 PyObject
* obj0
= 0 ;
2838 PyObject
* obj1
= 0 ;
2840 (char *) "image",(char *) "depth", NULL
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2848 PyErr_SetString(PyExc_TypeError
,"null reference");
2852 arg2
= (int) SWIG_AsInt(obj1
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2869 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 PyObject
*arg1
= (PyObject
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "listOfStrings", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2894 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 PyObject
*arg1
= (PyObject
*) 0 ;
2899 int arg4
= (int) 1 ;
2901 PyObject
* obj0
= 0 ;
2902 PyObject
* obj1
= 0 ;
2903 PyObject
* obj2
= 0 ;
2904 PyObject
* obj3
= 0 ;
2906 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2911 arg2
= (int) SWIG_AsInt(obj1
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2913 arg3
= (int) SWIG_AsInt(obj2
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 arg4
= (int) SWIG_AsInt(obj3
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2933 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2937 PyObject
* obj0
= 0 ;
2939 (char *) "self", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 result
= (bool)(arg1
)->Ok();
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2961 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2965 PyObject
* obj0
= 0 ;
2967 (char *) "self", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 result
= (int)(arg1
)->GetWidth();
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= SWIG_FromInt((int)result
);
2987 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2993 (char *) "self", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= (int)(arg1
)->GetHeight();
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3006 resultobj
= SWIG_FromInt((int)result
);
3013 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3017 PyObject
* obj0
= 0 ;
3019 (char *) "self", NULL
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 result
= (int)(arg1
)->GetDepth();
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 resultobj
= SWIG_FromInt((int)result
);
3039 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3042 SwigValueWrapper
< wxImage
> result
;
3043 PyObject
* obj0
= 0 ;
3045 (char *) "self", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3059 wxImage
* resultptr
;
3060 resultptr
= new wxImage((wxImage
&) result
);
3061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3069 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3075 (char *) "self", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3095 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
*resultobj
;
3097 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3098 wxMask
*arg2
= (wxMask
*) 0 ;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3102 (char *) "self",(char *) "mask", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 (arg1
)->SetMask(arg2
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 Py_INCREF(Py_None
); resultobj
= Py_None
;
3124 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3127 wxColour
*arg2
= 0 ;
3129 PyObject
* obj0
= 0 ;
3130 PyObject
* obj1
= 0 ;
3132 (char *) "self",(char *) "colour", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3149 Py_INCREF(Py_None
); resultobj
= Py_None
;
3156 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3160 SwigValueWrapper
< wxBitmap
> result
;
3162 PyObject
* obj0
= 0 ;
3163 PyObject
* obj1
= 0 ;
3165 (char *) "self",(char *) "rect", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3173 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3183 wxBitmap
* resultptr
;
3184 resultptr
= new wxBitmap((wxBitmap
&) result
);
3185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3193 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3196 wxString
*arg2
= 0 ;
3198 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3200 bool temp2
= False
;
3201 PyObject
* obj0
= 0 ;
3202 PyObject
* obj1
= 0 ;
3203 PyObject
* obj2
= 0 ;
3204 PyObject
* obj3
= 0 ;
3206 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 arg2
= wxString_in_helper(obj1
);
3214 if (arg2
== NULL
) SWIG_fail
;
3217 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3247 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3250 wxString
*arg2
= 0 ;
3253 bool temp2
= False
;
3254 PyObject
* obj0
= 0 ;
3255 PyObject
* obj1
= 0 ;
3256 PyObject
* obj2
= 0 ;
3258 (char *) "self",(char *) "name",(char *) "type", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3265 arg2
= wxString_in_helper(obj1
);
3266 if (arg2
== NULL
) SWIG_fail
;
3269 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3295 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3301 PyObject
* obj1
= 0 ;
3303 (char *) "self",(char *) "icon", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3313 PyErr_SetString(PyExc_TypeError
,"null reference");
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3332 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
;
3334 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3339 (char *) "self",(char *) "height", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3345 arg2
= (int) SWIG_AsInt(obj1
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 (arg1
)->SetHeight(arg2
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3368 (char *) "self",(char *) "width", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3374 arg2
= (int) SWIG_AsInt(obj1
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 (arg1
)->SetWidth(arg2
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "self",(char *) "depth", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3403 arg2
= (int) SWIG_AsInt(obj1
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 (arg1
)->SetDepth(arg2
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 Py_INCREF(Py_None
); resultobj
= Py_None
;
3419 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3422 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3427 (char *) "self",(char *) "other", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3451 static PyObject
*_wrap_Bitmap___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3454 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3459 (char *) "self",(char *) "other", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3483 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3486 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3488 return Py_BuildValue((char *)"");
3490 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxBitmap
*arg1
= 0 ;
3493 wxColour
const &arg2_defvalue
= wxNullColour
;
3494 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3497 PyObject
* obj0
= 0 ;
3498 PyObject
* obj1
= 0 ;
3500 (char *) "bitmap",(char *) "colour", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3508 PyErr_SetString(PyExc_TypeError
,"null reference");
3514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3531 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3534 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3536 return Py_BuildValue((char *)"");
3538 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxString
*arg1
= 0 ;
3542 int arg3
= (int) -1 ;
3543 int arg4
= (int) -1 ;
3545 bool temp1
= False
;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3548 PyObject
* obj2
= 0 ;
3549 PyObject
* obj3
= 0 ;
3551 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3556 arg1
= wxString_in_helper(obj0
);
3557 if (arg1
== NULL
) SWIG_fail
;
3560 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 arg3
= (int) SWIG_AsInt(obj2
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3567 arg4
= (int) SWIG_AsInt(obj3
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3592 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxIcon
*arg1
= (wxIcon
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3597 (char *) "self", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 result
= (wxIcon
*)new wxIcon();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3639 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxIconLocation
*arg1
= 0 ;
3643 PyObject
* obj0
= 0 ;
3645 (char *) "loc", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3653 PyErr_SetString(PyExc_TypeError
,"null reference");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3670 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxBitmap
*arg1
= 0 ;
3674 PyObject
* obj0
= 0 ;
3676 (char *) "bmp", NULL
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3684 PyErr_SetString(PyExc_TypeError
,"null reference");
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3701 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 PyObject
*arg1
= (PyObject
*) 0 ;
3705 PyObject
* obj0
= 0 ;
3707 (char *) "listOfStrings", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (wxIcon
*)new_wxIcon(arg1
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3726 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxIcon
*arg1
= (wxIcon
*) 0 ;
3729 wxString
*arg2
= 0 ;
3732 bool temp2
= False
;
3733 PyObject
* obj0
= 0 ;
3734 PyObject
* obj1
= 0 ;
3735 PyObject
* obj2
= 0 ;
3737 (char *) "self",(char *) "name",(char *) "type", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3744 arg2
= wxString_in_helper(obj1
);
3745 if (arg2
== NULL
) SWIG_fail
;
3748 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3774 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxIcon
*arg1
= (wxIcon
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (bool)(arg1
)->Ok();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3802 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxIcon
*arg1
= (wxIcon
*) 0 ;
3806 PyObject
* obj0
= 0 ;
3808 (char *) "self", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (int)(arg1
)->GetWidth();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= SWIG_FromInt((int)result
);
3828 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxIcon
*arg1
= (wxIcon
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3834 (char *) "self", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 result
= (int)(arg1
)->GetHeight();
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= SWIG_FromInt((int)result
);
3854 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxIcon
*arg1
= (wxIcon
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (int)(arg1
)->GetDepth();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= SWIG_FromInt((int)result
);
3880 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxIcon
*arg1
= (wxIcon
*) 0 ;
3884 PyObject
* obj0
= 0 ;
3885 PyObject
* obj1
= 0 ;
3887 (char *) "self",(char *) "w", NULL
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 arg2
= (int) SWIG_AsInt(obj1
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 (arg1
)->SetWidth(arg2
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxIcon
*arg1
= (wxIcon
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3916 (char *) "self",(char *) "h", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3922 arg2
= (int) SWIG_AsInt(obj1
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 (arg1
)->SetHeight(arg2
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 Py_INCREF(Py_None
); resultobj
= Py_None
;
3938 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxIcon
*arg1
= (wxIcon
*) 0 ;
3942 PyObject
* obj0
= 0 ;
3943 PyObject
* obj1
= 0 ;
3945 (char *) "self",(char *) "d", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3951 arg2
= (int) SWIG_AsInt(obj1
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 (arg1
)->SetDepth(arg2
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxIcon
*arg1
= (wxIcon
*) 0 ;
3970 wxBitmap
*arg2
= 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3974 (char *) "self",(char *) "bmp", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3984 PyErr_SetString(PyExc_TypeError
,"null reference");
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 Py_INCREF(Py_None
); resultobj
= Py_None
;
4001 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4004 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4006 return Py_BuildValue((char *)"");
4008 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4011 int arg2
= (int) 0 ;
4012 wxIconLocation
*result
;
4013 bool temp1
= False
;
4014 PyObject
* obj0
= 0 ;
4015 PyObject
* obj1
= 0 ;
4017 (char *) "filename",(char *) "num", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4023 arg1
= wxString_in_helper(obj0
);
4024 if (arg1
== NULL
) SWIG_fail
;
4029 arg2
= (int) SWIG_AsInt(obj1
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4054 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
*resultobj
;
4056 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4057 PyObject
* obj0
= 0 ;
4059 (char *) "self", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4083 PyObject
* obj0
= 0 ;
4085 (char *) "self", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4107 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4110 wxString
*arg2
= 0 ;
4111 bool temp2
= False
;
4112 PyObject
* obj0
= 0 ;
4113 PyObject
* obj1
= 0 ;
4115 (char *) "self",(char *) "filename", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4122 arg2
= wxString_in_helper(obj1
);
4123 if (arg2
== NULL
) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 (arg1
)->SetFileName((wxString
const &)*arg2
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 Py_INCREF(Py_None
); resultobj
= Py_None
;
4148 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4152 PyObject
* obj0
= 0 ;
4154 (char *) "self", NULL
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4164 result
= (wxString
*) &_result_ref
;
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4174 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4183 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4190 (char *) "self",(char *) "num", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4196 arg2
= (int) SWIG_AsInt(obj1
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 wxIconLocation_SetIndex(arg1
,arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4218 (char *) "self", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (int)wxIconLocation_GetIndex(arg1
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_FromInt((int)result
);
4238 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4241 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4243 return Py_BuildValue((char *)"");
4245 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxIconBundle
*result
;
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= (wxIconBundle
*)new wxIconBundle();
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4267 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxString
*arg1
= 0 ;
4271 wxIconBundle
*result
;
4272 bool temp1
= False
;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4276 (char *) "file",(char *) "type", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4281 arg1
= wxString_in_helper(obj0
);
4282 if (arg1
== NULL
) SWIG_fail
;
4285 arg2
= (long) SWIG_AsLong(obj1
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4309 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4312 wxIconBundle
*result
;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "icon", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4323 PyErr_SetString(PyExc_TypeError
,"null reference");
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4340 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4343 PyObject
* obj0
= 0 ;
4345 (char *) "self", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 Py_INCREF(Py_None
); resultobj
= Py_None
;
4365 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4372 (char *) "self",(char *) "icon", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4382 PyErr_SetString(PyExc_TypeError
,"null reference");
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 Py_INCREF(Py_None
); resultobj
= Py_None
;
4399 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4402 wxString
*arg2
= 0 ;
4404 bool temp2
= False
;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 PyObject
* obj2
= 0 ;
4409 (char *) "self",(char *) "file",(char *) "type", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4416 arg2
= wxString_in_helper(obj1
);
4417 if (arg2
== NULL
) SWIG_fail
;
4420 arg3
= (long) SWIG_AsLong(obj2
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 Py_INCREF(Py_None
); resultobj
= Py_None
;
4444 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4453 (char *) "self",(char *) "size", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4461 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4467 result
= (wxIcon
*) &_result_ref
;
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4474 wxIcon
* resultptr
= new wxIcon(*result
);
4475 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4483 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4486 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4488 return Py_BuildValue((char *)"");
4490 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxString
*arg1
= (wxString
*) 0 ;
4494 int arg3
= (int) 0 ;
4495 int arg4
= (int) 0 ;
4497 bool temp1
= False
;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4500 PyObject
* obj2
= 0 ;
4501 PyObject
* obj3
= 0 ;
4503 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4508 arg1
= wxString_in_helper(obj0
);
4509 if (arg1
== NULL
) SWIG_fail
;
4512 arg2
= (long) SWIG_AsLong(obj1
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 arg3
= (int) SWIG_AsInt(obj2
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4519 arg4
= (int) SWIG_AsInt(obj3
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4544 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxCursor
*arg1
= (wxCursor
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4549 (char *) "self", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 Py_INCREF(Py_None
); resultobj
= Py_None
;
4569 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4573 PyObject
* obj0
= 0 ;
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4579 arg1
= (int) SWIG_AsInt(obj0
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (wxCursor
*)new wxCursor(arg1
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4595 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4599 PyObject
* obj0
= 0 ;
4601 (char *) "image", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4609 PyErr_SetString(PyExc_TypeError
,"null reference");
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4626 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxCursor
*arg1
= (wxCursor
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4632 (char *) "self", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 result
= (bool)(arg1
)->Ok();
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4654 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4659 return Py_BuildValue((char *)"");
4661 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 int arg1
= (int) 0 ;
4664 int arg2
= (int) 0 ;
4665 int arg3
= (int) 0 ;
4666 int arg4
= (int) 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 PyObject
* obj3
= 0 ;
4673 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4678 arg1
= (int) SWIG_AsInt(obj0
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 arg2
= (int) SWIG_AsInt(obj1
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 arg3
= (int) SWIG_AsInt(obj2
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4690 arg4
= (int) SWIG_AsInt(obj3
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4707 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxBitmap
*arg1
= 0 ;
4710 wxColour
const &arg2_defvalue
= wxNullColour
;
4711 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4712 int arg3
= (int) 0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4717 PyObject
* obj2
= 0 ;
4719 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4727 PyErr_SetString(PyExc_TypeError
,"null reference");
4733 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4737 arg3
= (int) SWIG_AsInt(obj2
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4754 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4757 wxPoint
*arg2
= (wxPoint
*) 0 ;
4758 int arg3
= (int) wxWINDING_RULE
;
4760 PyObject
* obj0
= 0 ;
4761 PyObject
* obj1
= 0 ;
4763 (char *) "points",(char *) "fillStyle", NULL
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4768 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4769 if (arg2
== NULL
) SWIG_fail
;
4772 arg3
= (int) SWIG_AsInt(obj1
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4784 if (arg2
) delete [] arg2
;
4789 if (arg2
) delete [] arg2
;
4795 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxRegion
*arg1
= (wxRegion
*) 0 ;
4798 PyObject
* obj0
= 0 ;
4800 (char *) "self", NULL
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 Py_INCREF(Py_None
); resultobj
= Py_None
;
4820 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4822 wxRegion
*arg1
= (wxRegion
*) 0 ;
4823 PyObject
* obj0
= 0 ;
4825 (char *) "self", NULL
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 Py_INCREF(Py_None
); resultobj
= Py_None
;
4845 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxRegion
*arg1
= (wxRegion
*) 0 ;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4853 PyObject
* obj2
= 0 ;
4855 (char *) "self",(char *) "x",(char *) "y", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 arg2
= (int) SWIG_AsInt(obj1
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4863 arg3
= (int) SWIG_AsInt(obj2
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4881 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxRegion
*arg1
= (wxRegion
*) 0 ;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4889 PyObject
* obj2
= 0 ;
4891 (char *) "self",(char *) "x",(char *) "y", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4897 arg2
= (int) SWIG_AsInt(obj1
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4899 arg3
= (int) SWIG_AsInt(obj2
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_FromInt((int)result
);
4915 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxRegion
*arg1
= (wxRegion
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4924 (char *) "self",(char *) "pt", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4932 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= SWIG_FromInt((int)result
);
4948 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxRegion
*arg1
= (wxRegion
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4957 (char *) "self",(char *) "rect", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4965 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_FromInt((int)result
);
4981 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4983 wxRegion
*arg1
= (wxRegion
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 PyObject
* obj2
= 0 ;
4992 PyObject
* obj3
= 0 ;
4993 PyObject
* obj4
= 0 ;
4995 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5001 arg2
= (int) SWIG_AsInt(obj1
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5003 arg3
= (int) SWIG_AsInt(obj2
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5005 arg4
= (int) SWIG_AsInt(obj3
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5007 arg5
= (int) SWIG_AsInt(obj4
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_FromInt((int)result
);
5023 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxRegion
*arg1
= (wxRegion
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5029 (char *) "self", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (arg1
)->GetBox();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5044 resultptr
= new wxRect((wxRect
&) result
);
5045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5053 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxRegion
*arg1
= (wxRegion
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5063 PyObject
* obj2
= 0 ;
5064 PyObject
* obj3
= 0 ;
5065 PyObject
* obj4
= 0 ;
5067 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5073 arg2
= (int) SWIG_AsInt(obj1
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5075 arg3
= (int) SWIG_AsInt(obj2
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5077 arg4
= (int) SWIG_AsInt(obj3
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5079 arg5
= (int) SWIG_AsInt(obj4
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5097 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxRegion
*arg1
= (wxRegion
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5106 (char *) "self",(char *) "rect", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5132 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxRegion
*arg1
= (wxRegion
*) 0 ;
5135 wxRegion
*arg2
= 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5140 (char *) "self",(char *) "region", NULL
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5150 PyErr_SetString(PyExc_TypeError
,"null reference");
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5169 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxRegion
*arg1
= (wxRegion
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (bool)(arg1
)->IsEmpty();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5197 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxRegion
*arg1
= (wxRegion
*) 0 ;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5207 PyObject
* obj2
= 0 ;
5208 PyObject
* obj3
= 0 ;
5209 PyObject
* obj4
= 0 ;
5211 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 arg2
= (int) SWIG_AsInt(obj1
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5219 arg3
= (int) SWIG_AsInt(obj2
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5221 arg4
= (int) SWIG_AsInt(obj3
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5223 arg5
= (int) SWIG_AsInt(obj4
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5241 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxRegion
*arg1
= (wxRegion
*) 0 ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5250 (char *) "self",(char *) "rect", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5276 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxRegion
*arg1
= (wxRegion
*) 0 ;
5279 wxRegion
*arg2
= 0 ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5284 (char *) "self",(char *) "region", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5294 PyErr_SetString(PyExc_TypeError
,"null reference");
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5313 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxRegion
*arg1
= (wxRegion
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 PyObject
* obj2
= 0 ;
5324 PyObject
* obj3
= 0 ;
5325 PyObject
* obj4
= 0 ;
5327 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 arg2
= (int) SWIG_AsInt(obj1
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5335 arg3
= (int) SWIG_AsInt(obj2
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5337 arg4
= (int) SWIG_AsInt(obj3
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5339 arg5
= (int) SWIG_AsInt(obj4
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5357 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxRegion
*arg1
= (wxRegion
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5366 (char *) "self",(char *) "rect", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5392 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxRegion
*arg1
= (wxRegion
*) 0 ;
5395 wxRegion
*arg2
= 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5400 (char *) "self",(char *) "region", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5410 PyErr_SetString(PyExc_TypeError
,"null reference");
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5429 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxRegion
*arg1
= (wxRegion
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 PyObject
* obj2
= 0 ;
5440 PyObject
* obj3
= 0 ;
5441 PyObject
* obj4
= 0 ;
5443 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5449 arg2
= (int) SWIG_AsInt(obj1
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5451 arg3
= (int) SWIG_AsInt(obj2
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5453 arg4
= (int) SWIG_AsInt(obj3
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5455 arg5
= (int) SWIG_AsInt(obj4
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5473 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxRegion
*arg1
= (wxRegion
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5482 (char *) "self",(char *) "rect", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5508 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxRegion
*arg1
= (wxRegion
*) 0 ;
5511 wxRegion
*arg2
= 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5516 (char *) "self",(char *) "region", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5526 PyErr_SetString(PyExc_TypeError
,"null reference");
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5545 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxRegion
*arg1
= (wxRegion
*) 0 ;
5548 SwigValueWrapper
< wxBitmap
> result
;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (arg1
)->ConvertToBitmap();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 wxBitmap
* resultptr
;
5566 resultptr
= new wxBitmap((wxBitmap
&) result
);
5567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5575 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxRegion
*arg1
= (wxRegion
*) 0 ;
5578 wxBitmap
*arg2
= 0 ;
5579 wxColour
const &arg3_defvalue
= wxNullColour
;
5580 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5581 int arg4
= (int) 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5586 PyObject
* obj2
= 0 ;
5587 PyObject
* obj3
= 0 ;
5589 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5599 PyErr_SetString(PyExc_TypeError
,"null reference");
5605 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5609 arg4
= (int) SWIG_AsInt(obj3
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5628 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5631 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5633 return Py_BuildValue((char *)"");
5635 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxRegion
*arg1
= 0 ;
5638 wxRegionIterator
*result
;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "region", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5649 PyErr_SetString(PyExc_TypeError
,"null reference");
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5666 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5671 (char *) "self", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5695 PyObject
* obj0
= 0 ;
5697 (char *) "self", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (int)(arg1
)->GetX();
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_FromInt((int)result
);
5717 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5721 PyObject
* obj0
= 0 ;
5723 (char *) "self", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (int)(arg1
)->GetY();
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= SWIG_FromInt((int)result
);
5743 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5749 (char *) "self", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (int)(arg1
)->GetW();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_FromInt((int)result
);
5769 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (int)(arg1
)->GetWidth();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_FromInt((int)result
);
5795 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5801 (char *) "self", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (int)(arg1
)->GetH();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= SWIG_FromInt((int)result
);
5821 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5825 PyObject
* obj0
= 0 ;
5827 (char *) "self", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (int)(arg1
)->GetHeight();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_FromInt((int)result
);
5847 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5853 (char *) "self", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= (arg1
)->GetRect();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5868 resultptr
= new wxRect((wxRect
&) result
);
5869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5877 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5881 PyObject
* obj0
= 0 ;
5883 (char *) "self", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= (bool)(arg1
)->HaveRects();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5905 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5908 PyObject
* obj0
= 0 ;
5910 (char *) "self", NULL
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 Py_INCREF(Py_None
); resultobj
= Py_None
;
5930 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5935 (char *) "self", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxRegionIterator_Next(arg1
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 Py_INCREF(Py_None
); resultobj
= Py_None
;
5955 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5961 (char *) "self", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5983 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5986 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5988 return Py_BuildValue((char *)"");
5990 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxNativeFontInfo
*result
;
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6012 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 Py_INCREF(Py_None
); resultobj
= Py_None
;
6037 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6042 (char *) "self", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 Py_INCREF(Py_None
); resultobj
= Py_None
;
6062 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6069 (char *) "self",(char *) "font", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6079 PyErr_SetString(PyExc_TypeError
,"null reference");
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 Py_INCREF(Py_None
); resultobj
= Py_None
;
6096 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6102 (char *) "self", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= SWIG_FromInt((int)result
);
6122 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6128 (char *) "self", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= SWIG_FromInt((int)result
);
6148 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6154 (char *) "self", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 resultobj
= SWIG_FromInt((int)result
);
6174 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6180 (char *) "self", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6202 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6208 (char *) "self", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6234 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6240 (char *) "self", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_FromInt((int)result
);
6260 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= SWIG_FromInt((int)result
);
6286 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6293 (char *) "self",(char *) "pointsize", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6299 arg2
= (int) SWIG_AsInt(obj1
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 (arg1
)->SetPointSize(arg2
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 Py_INCREF(Py_None
); resultobj
= Py_None
;
6315 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6322 (char *) "self",(char *) "style", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6328 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 Py_INCREF(Py_None
); resultobj
= Py_None
;
6344 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6349 PyObject
* obj1
= 0 ;
6351 (char *) "self",(char *) "weight", NULL
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 Py_INCREF(Py_None
); resultobj
= Py_None
;
6373 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6378 PyObject
* obj1
= 0 ;
6380 (char *) "self",(char *) "underlined", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 arg2
= (bool) SWIG_AsBool(obj1
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->SetUnderlined(arg2
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 Py_INCREF(Py_None
); resultobj
= Py_None
;
6402 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj1
= 0 ;
6409 (char *) "self",(char *) "facename", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6416 wxString
* sptr
= wxString_in_helper(obj1
);
6417 if (sptr
== NULL
) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 (arg1
)->SetFaceName(arg2
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 Py_INCREF(Py_None
); resultobj
= Py_None
;
6435 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6442 (char *) "self",(char *) "family", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6469 PyObject
* obj1
= 0 ;
6471 (char *) "self",(char *) "encoding", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 Py_INCREF(Py_None
); resultobj
= Py_None
;
6493 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6496 wxString
*arg2
= 0 ;
6498 bool temp2
= False
;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6502 (char *) "self",(char *) "s", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 arg2
= wxString_in_helper(obj1
);
6510 if (arg2
== NULL
) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6537 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6543 (char *) "self", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6569 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6573 PyObject
* obj0
= 0 ;
6575 (char *) "self", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= wxNativeFontInfo___str__(arg1
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6601 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6604 wxString
*arg2
= 0 ;
6606 bool temp2
= False
;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6610 (char *) "self",(char *) "s", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 arg2
= wxString_in_helper(obj1
);
6618 if (arg2
== NULL
) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6677 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6680 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6682 return Py_BuildValue((char *)"");
6684 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6687 wxString
*arg2
= (wxString
*) 0 ;
6688 bool temp2
= False
;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6692 (char *) "self",(char *) "facename", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6699 arg2
= wxString_in_helper(obj1
);
6700 if (arg2
== NULL
) SWIG_fail
;
6703 if (arg1
) (arg1
)->facename
= *arg2
;
6705 Py_INCREF(Py_None
); resultobj
= Py_None
;
6720 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6724 PyObject
* obj0
= 0 ;
6726 (char *) "self", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 result
= (wxString
*)& ((arg1
)->facename
);
6736 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6738 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6747 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6754 (char *) "self",(char *) "encoding", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6760 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6762 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6771 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6775 PyObject
* obj0
= 0 ;
6777 (char *) "self", NULL
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 result
= (int) ((arg1
)->encoding
);
6785 resultobj
= SWIG_FromInt((int)result
);
6792 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxNativeEncodingInfo
*result
;
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6814 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6819 (char *) "self", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 Py_INCREF(Py_None
); resultobj
= Py_None
;
6839 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6842 wxString
*arg2
= 0 ;
6844 bool temp2
= False
;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6848 (char *) "self",(char *) "s", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6855 arg2
= wxString_in_helper(obj1
);
6856 if (arg2
== NULL
) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6883 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6889 (char *) "self", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6915 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6918 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6920 return Py_BuildValue((char *)"");
6922 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6925 wxNativeEncodingInfo
*result
;
6926 PyObject
* obj0
= 0 ;
6928 (char *) "encoding", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6932 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6948 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxNativeEncodingInfo
*arg1
= 0 ;
6952 PyObject
* obj0
= 0 ;
6954 (char *) "info", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6962 PyErr_SetString(PyExc_TypeError
,"null reference");
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6981 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxFontMapper
*result
;
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (wxFontMapper
*)new wxFontMapper();
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7003 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7008 (char *) "self", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 Py_INCREF(Py_None
); resultobj
= Py_None
;
7028 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxFontMapper
*result
;
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (wxFontMapper
*)wxFontMapper::Get();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7050 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7053 wxFontMapper
*result
;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "mapper", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7076 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7079 wxString
*arg2
= 0 ;
7080 bool arg3
= (bool) True
;
7082 bool temp2
= False
;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7085 PyObject
* obj2
= 0 ;
7087 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7094 arg2
= wxString_in_helper(obj1
);
7095 if (arg2
== NULL
) SWIG_fail
;
7099 arg3
= (bool) SWIG_AsBool(obj2
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_FromInt((int)result
);
7124 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7146 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7150 PyObject
* obj0
= 0 ;
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7156 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (int)wxFontMapper::GetEncoding(arg1
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_FromInt((int)result
);
7172 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "encoding", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7182 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7204 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7208 PyObject
* obj0
= 0 ;
7210 (char *) "encoding", NULL
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7214 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7236 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7239 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7243 (char *) "self",(char *) "config", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 (arg1
)->SetConfig(arg2
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 Py_INCREF(Py_None
); resultobj
= Py_None
;
7265 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7268 wxString
*arg2
= 0 ;
7269 bool temp2
= False
;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7273 (char *) "self",(char *) "prefix", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7280 arg2
= wxString_in_helper(obj1
);
7281 if (arg2
== NULL
) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= wxFontMapper::GetDefaultConfigPath();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7334 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
;
7336 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7340 bool arg4
= (bool) True
;
7342 bool temp3
= False
;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7345 PyObject
* obj2
= 0 ;
7346 PyObject
* obj3
= 0 ;
7348 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7354 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7358 arg3
= wxString_in_helper(obj2
);
7359 if (arg3
== NULL
) SWIG_fail
;
7364 arg4
= (bool) SWIG_AsBool(obj3
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7389 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7393 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7394 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7396 bool temp3
= False
;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7399 PyObject
* obj2
= 0 ;
7401 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7407 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7411 arg3
= wxString_in_helper(obj2
);
7412 if (arg3
== NULL
) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7440 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7443 wxWindow
*arg2
= (wxWindow
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "parent", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 (arg1
)->SetDialogParent(arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7472 wxString
*arg2
= 0 ;
7473 bool temp2
= False
;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7477 (char *) "self",(char *) "title", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 arg2
= wxString_in_helper(obj1
);
7485 if (arg2
== NULL
) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 Py_INCREF(Py_None
); resultobj
= Py_None
;
7510 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7513 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7515 return Py_BuildValue((char *)"");
7517 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7523 bool arg5
= (bool) False
;
7524 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7525 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7526 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7528 bool temp6
= False
;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7531 PyObject
* obj2
= 0 ;
7532 PyObject
* obj3
= 0 ;
7533 PyObject
* obj4
= 0 ;
7534 PyObject
* obj5
= 0 ;
7535 PyObject
* obj6
= 0 ;
7537 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7541 arg1
= (int) SWIG_AsInt(obj0
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7543 arg2
= (int) SWIG_AsInt(obj1
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7545 arg3
= (int) SWIG_AsInt(obj2
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7547 arg4
= (int) SWIG_AsInt(obj3
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 arg5
= (bool) SWIG_AsBool(obj4
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7555 arg6
= wxString_in_helper(obj5
);
7556 if (arg6
== NULL
) SWIG_fail
;
7561 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7586 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxFont
*arg1
= (wxFont
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7591 (char *) "self", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxNativeFontInfo
*arg1
= 0 ;
7615 PyObject
* obj0
= 0 ;
7617 (char *) "info", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7625 PyErr_SetString(PyExc_TypeError
,"null reference");
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7642 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxString
*arg1
= 0 ;
7646 bool temp1
= False
;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "info", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7654 arg1
= wxString_in_helper(obj0
);
7655 if (arg1
== NULL
) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7680 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7684 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7685 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7687 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7689 bool temp4
= False
;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7692 PyObject
* obj2
= 0 ;
7693 PyObject
* obj3
= 0 ;
7694 PyObject
* obj4
= 0 ;
7696 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7700 arg1
= (int) SWIG_AsInt(obj0
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7702 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 arg3
= (int) SWIG_AsInt(obj2
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7710 arg4
= wxString_in_helper(obj3
);
7711 if (arg4
== NULL
) SWIG_fail
;
7716 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7741 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxFont
*arg1
= (wxFont
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (bool)((wxFont
const *)arg1
)->Ok();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7769 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxFont
*arg1
= (wxFont
*) 0 ;
7772 wxFont
*arg2
= (wxFont
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "self",(char *) "other", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7801 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxFont
*arg1
= (wxFont
*) 0 ;
7804 wxFont
*arg2
= (wxFont
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "other", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7833 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxFont
*arg1
= (wxFont
*) 0 ;
7837 PyObject
* obj0
= 0 ;
7839 (char *) "self", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= SWIG_FromInt((int)result
);
7859 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxFont
*arg1
= (wxFont
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7865 (char *) "self", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 resultobj
= SWIG_FromInt((int)result
);
7885 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxFont
*arg1
= (wxFont
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7891 (char *) "self", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_FromInt((int)result
);
7911 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxFont
*arg1
= (wxFont
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "self", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_FromInt((int)result
);
7937 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxFont
*arg1
= (wxFont
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7943 (char *) "self", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7965 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxFont
*arg1
= (wxFont
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= ((wxFont
const *)arg1
)->GetFaceName();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7997 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxFont
*arg1
= (wxFont
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8003 (char *) "self", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_FromInt((int)result
);
8023 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxFont
*arg1
= (wxFont
*) 0 ;
8026 wxNativeFontInfo
*result
;
8027 PyObject
* obj0
= 0 ;
8029 (char *) "self", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8049 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxFont
*arg1
= (wxFont
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8077 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxFont
*arg1
= (wxFont
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8083 (char *) "self", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8109 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8111 wxFont
*arg1
= (wxFont
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "self", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8141 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxFont
*arg1
= (wxFont
*) 0 ;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8148 (char *) "self",(char *) "pointSize", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8154 arg2
= (int) SWIG_AsInt(obj1
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 (arg1
)->SetPointSize(arg2
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 Py_INCREF(Py_None
); resultobj
= Py_None
;
8170 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxFont
*arg1
= (wxFont
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8177 (char *) "self",(char *) "family", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 arg2
= (int) SWIG_AsInt(obj1
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 (arg1
)->SetFamily(arg2
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 Py_INCREF(Py_None
); resultobj
= Py_None
;
8199 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxFont
*arg1
= (wxFont
*) 0 ;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8206 (char *) "self",(char *) "style", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8212 arg2
= (int) SWIG_AsInt(obj1
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 (arg1
)->SetStyle(arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 Py_INCREF(Py_None
); resultobj
= Py_None
;
8228 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
*resultobj
;
8230 wxFont
*arg1
= (wxFont
*) 0 ;
8232 PyObject
* obj0
= 0 ;
8233 PyObject
* obj1
= 0 ;
8235 (char *) "self",(char *) "weight", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8241 arg2
= (int) SWIG_AsInt(obj1
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 (arg1
)->SetWeight(arg2
);
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 Py_INCREF(Py_None
); resultobj
= Py_None
;
8257 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxFont
*arg1
= (wxFont
*) 0 ;
8260 wxString
*arg2
= 0 ;
8261 bool temp2
= False
;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8265 (char *) "self",(char *) "faceName", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8272 arg2
= wxString_in_helper(obj1
);
8273 if (arg2
== NULL
) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 Py_INCREF(Py_None
); resultobj
= Py_None
;
8298 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxFont
*arg1
= (wxFont
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "self",(char *) "underlined", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 arg2
= (bool) SWIG_AsBool(obj1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->SetUnderlined(arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxFont
*arg1
= (wxFont
*) 0 ;
8331 PyObject
* obj0
= 0 ;
8332 PyObject
* obj1
= 0 ;
8334 (char *) "self",(char *) "encoding", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8340 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 Py_INCREF(Py_None
); resultobj
= Py_None
;
8356 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxFont
*arg1
= (wxFont
*) 0 ;
8359 wxNativeFontInfo
*arg2
= 0 ;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8363 (char *) "self",(char *) "info", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8373 PyErr_SetString(PyExc_TypeError
,"null reference");
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxFont
*arg1
= (wxFont
*) 0 ;
8393 wxString
*arg2
= 0 ;
8394 bool temp2
= False
;
8395 PyObject
* obj0
= 0 ;
8396 PyObject
* obj1
= 0 ;
8398 (char *) "self",(char *) "info", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 arg2
= wxString_in_helper(obj1
);
8406 if (arg2
== NULL
) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 Py_INCREF(Py_None
); resultobj
= Py_None
;
8431 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxFont
*arg1
= (wxFont
*) 0 ;
8434 wxString
*arg2
= 0 ;
8435 bool temp2
= False
;
8436 PyObject
* obj0
= 0 ;
8437 PyObject
* obj1
= 0 ;
8439 (char *) "self",(char *) "info", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 arg2
= wxString_in_helper(obj1
);
8447 if (arg2
== NULL
) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 Py_INCREF(Py_None
); resultobj
= Py_None
;
8472 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxFont
*arg1
= (wxFont
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8478 (char *) "self", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8504 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
;
8506 wxFont
*arg1
= (wxFont
*) 0 ;
8508 PyObject
* obj0
= 0 ;
8510 (char *) "self", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= ((wxFont
const *)arg1
)->GetStyleString();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8536 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxFont
*arg1
= (wxFont
*) 0 ;
8540 PyObject
* obj0
= 0 ;
8542 (char *) "self", NULL
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= ((wxFont
const *)arg1
)->GetWeightString();
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8568 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxFont
*arg1
= (wxFont
*) 0 ;
8571 bool arg2
= (bool) True
;
8572 PyObject
* obj0
= 0 ;
8573 PyObject
* obj1
= 0 ;
8575 (char *) "self",(char *) "no", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8582 arg2
= (bool) SWIG_AsBool(obj1
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 (arg1
)->SetNoAntiAliasing(arg2
);
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 Py_INCREF(Py_None
); resultobj
= Py_None
;
8599 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxFont
*arg1
= (wxFont
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)(arg1
)->GetNoAntiAliasing();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (int)wxFont::GetDefaultEncoding();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_FromInt((int)result
);
8649 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8652 PyObject
* obj0
= 0 ;
8654 (char *) "encoding", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8658 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 Py_INCREF(Py_None
); resultobj
= Py_None
;
8674 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8677 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8679 return Py_BuildValue((char *)"");
8681 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxPyFontEnumerator
*result
;
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8703 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8708 (char *) "self", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8731 PyObject
*arg2
= (PyObject
*) 0 ;
8732 PyObject
*arg3
= (PyObject
*) 0 ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8736 PyObject
* obj2
= 0 ;
8737 PyObject
* obj3
= 0 ;
8739 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8747 arg4
= (bool) SWIG_AsBool(obj3
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 Py_INCREF(Py_None
); resultobj
= Py_None
;
8763 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8766 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8767 bool arg3
= (bool) False
;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8771 PyObject
* obj2
= 0 ;
8773 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8780 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8784 arg3
= (bool) SWIG_AsBool(obj2
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8803 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8806 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8807 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8809 bool temp2
= False
;
8810 PyObject
* obj0
= 0 ;
8811 PyObject
* obj1
= 0 ;
8813 (char *) "self",(char *) "facename", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8821 arg2
= wxString_in_helper(obj1
);
8822 if (arg2
== NULL
) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8850 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8854 PyObject
* obj0
= 0 ;
8856 (char *) "self", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8876 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8882 (char *) "self", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8902 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8905 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8907 return Py_BuildValue((char *)"");
8909 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8916 (char *) "self",(char *) "Language", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8922 arg2
= (int) SWIG_AsInt(obj1
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8924 if (arg1
) (arg1
)->Language
= arg2
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8939 (char *) "self", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 result
= (int) ((arg1
)->Language
);
8947 resultobj
= SWIG_FromInt((int)result
);
8954 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8956 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8957 wxString
*arg2
= (wxString
*) 0 ;
8958 bool temp2
= False
;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8962 (char *) "self",(char *) "CanonicalName", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 arg2
= wxString_in_helper(obj1
);
8970 if (arg2
== NULL
) SWIG_fail
;
8973 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8990 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "self", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9002 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9006 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9008 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9017 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9020 wxString
*arg2
= (wxString
*) 0 ;
9021 bool temp2
= False
;
9022 PyObject
* obj0
= 0 ;
9023 PyObject
* obj1
= 0 ;
9025 (char *) "self",(char *) "Description", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9032 arg2
= wxString_in_helper(obj1
);
9033 if (arg2
== NULL
) SWIG_fail
;
9036 if (arg1
) (arg1
)->Description
= *arg2
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9053 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "self", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9065 result
= (wxString
*)& ((arg1
)->Description
);
9069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9080 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9083 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9085 return Py_BuildValue((char *)"");
9087 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9090 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9095 (char *) "language",(char *) "flags", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9100 arg1
= (int) SWIG_AsInt(obj0
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9104 arg2
= (int) SWIG_AsInt(obj1
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9121 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 wxLocale
*arg1
= (wxLocale
*) 0 ;
9124 PyObject
* obj0
= 0 ;
9126 (char *) "self", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 Py_INCREF(Py_None
); resultobj
= Py_None
;
9146 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxLocale
*arg1
= (wxLocale
*) 0 ;
9149 wxString
*arg2
= 0 ;
9150 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9151 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9154 bool arg5
= (bool) True
;
9155 bool arg6
= (bool) False
;
9157 bool temp2
= False
;
9158 bool temp3
= False
;
9159 bool temp4
= False
;
9160 PyObject
* obj0
= 0 ;
9161 PyObject
* obj1
= 0 ;
9162 PyObject
* obj2
= 0 ;
9163 PyObject
* obj3
= 0 ;
9164 PyObject
* obj4
= 0 ;
9165 PyObject
* obj5
= 0 ;
9167 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9174 arg2
= wxString_in_helper(obj1
);
9175 if (arg2
== NULL
) SWIG_fail
;
9180 arg3
= wxString_in_helper(obj2
);
9181 if (arg3
== NULL
) SWIG_fail
;
9187 arg4
= wxString_in_helper(obj3
);
9188 if (arg4
== NULL
) SWIG_fail
;
9193 arg5
= (bool) SWIG_AsBool(obj4
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 arg6
= (bool) SWIG_AsBool(obj5
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9240 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxLocale
*arg1
= (wxLocale
*) 0 ;
9243 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9244 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 PyObject
* obj2
= 0 ;
9250 (char *) "self",(char *) "language",(char *) "flags", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9257 arg2
= (int) SWIG_AsInt(obj1
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 arg3
= (int) SWIG_AsInt(obj2
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9280 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (int)wxLocale::GetSystemLanguage();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_FromInt((int)result
);
9302 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (int)wxLocale::GetSystemEncoding();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_FromInt((int)result
);
9324 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 result
= wxLocale::GetSystemEncodingName();
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9352 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxLocale
*arg1
= (wxLocale
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9358 (char *) "self", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9380 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxLocale
*arg1
= (wxLocale
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "self", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= ((wxLocale
const *)arg1
)->GetLocale();
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9412 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
;
9414 wxLocale
*arg1
= (wxLocale
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9418 (char *) "self", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_FromInt((int)result
);
9438 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxLocale
*arg1
= (wxLocale
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= ((wxLocale
const *)arg1
)->GetSysName();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9470 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxLocale
*arg1
= (wxLocale
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9502 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
;
9504 wxString
*arg1
= 0 ;
9505 bool temp1
= False
;
9506 PyObject
* obj0
= 0 ;
9508 (char *) "prefix", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9513 arg1
= wxString_in_helper(obj0
);
9514 if (arg1
== NULL
) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 Py_INCREF(Py_None
); resultobj
= Py_None
;
9539 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxLocale
*arg1
= (wxLocale
*) 0 ;
9542 wxString
*arg2
= 0 ;
9544 bool temp2
= False
;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9548 (char *) "self",(char *) "szDomain", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 arg2
= wxString_in_helper(obj1
);
9556 if (arg2
== NULL
) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxLocale
*arg1
= (wxLocale
*) 0 ;
9586 wxString
*arg2
= 0 ;
9588 bool temp2
= False
;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9592 (char *) "self",(char *) "szDomain", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9599 arg2
= wxString_in_helper(obj1
);
9600 if (arg2
== NULL
) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9627 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9630 wxLanguageInfo
*result
;
9631 PyObject
* obj0
= 0 ;
9633 (char *) "lang", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9637 arg1
= (int) SWIG_AsInt(obj0
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9653 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9657 PyObject
* obj0
= 0 ;
9659 (char *) "lang", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9663 arg1
= (int) SWIG_AsInt(obj0
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= wxLocale::GetLanguageName(arg1
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9685 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxString
*arg1
= 0 ;
9688 wxLanguageInfo
*result
;
9689 bool temp1
= False
;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "locale", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9697 arg1
= wxString_in_helper(obj0
);
9698 if (arg1
== NULL
) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9723 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxLanguageInfo
*arg1
= 0 ;
9726 PyObject
* obj0
= 0 ;
9728 (char *) "info", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9736 PyErr_SetString(PyExc_TypeError
,"null reference");
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 Py_INCREF(Py_None
); resultobj
= Py_None
;
9753 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxLocale
*arg1
= (wxLocale
*) 0 ;
9756 wxString
*arg2
= 0 ;
9757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9760 bool temp2
= False
;
9761 bool temp3
= False
;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 PyObject
* obj2
= 0 ;
9766 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 arg2
= wxString_in_helper(obj1
);
9774 if (arg2
== NULL
) SWIG_fail
;
9779 arg3
= wxString_in_helper(obj2
);
9780 if (arg3
== NULL
) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9820 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxLocale
*arg1
= (wxLocale
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "self", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9836 result
= (wxString
*) &_result_ref
;
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9846 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9855 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9858 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9860 return Py_BuildValue((char *)"");
9862 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (wxLocale
*)wxGetLocale();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9884 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9885 PyObject
*resultobj
;
9886 wxString
*arg1
= 0 ;
9888 bool temp1
= False
;
9889 PyObject
* obj0
= 0 ;
9891 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9893 arg1
= wxString_in_helper(obj0
);
9894 if (arg1
== NULL
) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= wxGetTranslation((wxString
const &)*arg1
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9925 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9926 PyObject
*resultobj
;
9927 wxString
*arg1
= 0 ;
9928 wxString
*arg2
= 0 ;
9931 bool temp1
= False
;
9932 bool temp2
= False
;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9935 PyObject
* obj2
= 0 ;
9937 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9939 arg1
= wxString_in_helper(obj0
);
9940 if (arg1
== NULL
) SWIG_fail
;
9944 arg2
= wxString_in_helper(obj1
);
9945 if (arg2
== NULL
) SWIG_fail
;
9948 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9986 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9991 argc
= PyObject_Length(args
);
9992 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9993 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9998 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10001 return _wrap_GetTranslation__SWIG_0(self
,args
);
10007 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10011 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10014 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10016 return _wrap_GetTranslation__SWIG_1(self
,args
);
10022 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10027 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxEncodingConverter
*result
;
10030 char *kwnames
[] = {
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10049 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 Py_INCREF(Py_None
); resultobj
= Py_None
;
10074 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10079 int arg4
= (int) wxCONVERT_STRICT
;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 PyObject
* obj2
= 0 ;
10084 PyObject
* obj3
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10092 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10094 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 arg4
= (int) SWIG_AsInt(obj3
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10116 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10119 wxString
*arg2
= 0 ;
10121 bool temp2
= False
;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self",(char *) "input", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 arg2
= wxString_in_helper(obj1
);
10133 if (arg2
== NULL
) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10164 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10167 int arg2
= (int) wxPLATFORM_CURRENT
;
10168 wxFontEncodingArray result
;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "enc",(char *) "platform", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10176 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 arg2
= (int) SWIG_AsInt(obj1
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= PyList_New(0);
10191 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10192 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10193 PyList_Append(resultobj
, number
);
10203 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10206 wxFontEncodingArray result
;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "enc", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10213 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= PyList_New(0);
10224 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10225 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10226 PyList_Append(resultobj
, number
);
10236 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "encIn",(char *) "encOut", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10248 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10250 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10268 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10271 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10273 return Py_BuildValue((char *)"");
10275 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxDC
*arg1
= (wxDC
*) 0 ;
10278 PyObject
* obj0
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 Py_INCREF(Py_None
); resultobj
= Py_None
;
10300 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxDC
*arg1
= (wxDC
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "self", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->BeginDrawing();
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxDC
*arg1
= (wxDC
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 (arg1
)->EndDrawing();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 Py_INCREF(Py_None
); resultobj
= Py_None
;
10350 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxDC
*arg1
= (wxDC
*) 0 ;
10355 wxColour
*arg4
= 0 ;
10356 int arg5
= (int) wxFLOOD_SURFACE
;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 PyObject
* obj2
= 0 ;
10362 PyObject
* obj3
= 0 ;
10363 PyObject
* obj4
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 arg2
= (int) SWIG_AsInt(obj1
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10373 arg3
= (int) SWIG_AsInt(obj2
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10377 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10380 arg5
= (int) SWIG_AsInt(obj4
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10399 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxDC
*arg1
= (wxDC
*) 0 ;
10402 wxPoint
*arg2
= 0 ;
10403 wxColour
*arg3
= 0 ;
10404 int arg4
= (int) wxFLOOD_SURFACE
;
10408 PyObject
* obj0
= 0 ;
10409 PyObject
* obj1
= 0 ;
10410 PyObject
* obj2
= 0 ;
10411 PyObject
* obj3
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10425 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10428 arg4
= (int) SWIG_AsInt(obj3
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10447 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxDC
*arg1
= (wxDC
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 PyObject
* obj2
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self",(char *) "x",(char *) "y", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 arg2
= (int) SWIG_AsInt(obj1
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10465 arg3
= (int) SWIG_AsInt(obj2
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10475 wxColour
* resultptr
;
10476 resultptr
= new wxColour((wxColour
&) result
);
10477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10485 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
;
10487 wxDC
*arg1
= (wxDC
*) 0 ;
10488 wxPoint
*arg2
= 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "self",(char *) "pt", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10512 wxColour
* resultptr
;
10513 resultptr
= new wxColour((wxColour
&) result
);
10514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10522 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
;
10524 wxDC
*arg1
= (wxDC
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 PyObject
* obj2
= 0 ;
10532 PyObject
* obj3
= 0 ;
10533 PyObject
* obj4
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10541 arg2
= (int) SWIG_AsInt(obj1
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10543 arg3
= (int) SWIG_AsInt(obj2
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10545 arg4
= (int) SWIG_AsInt(obj3
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10547 arg5
= (int) SWIG_AsInt(obj4
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxDC
*arg1
= (wxDC
*) 0 ;
10566 wxPoint
*arg2
= 0 ;
10567 wxPoint
*arg3
= 0 ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 PyObject
* obj2
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxDC
*arg1
= (wxDC
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 PyObject
* obj2
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self",(char *) "x",(char *) "y", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 arg2
= (int) SWIG_AsInt(obj1
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10619 arg3
= (int) SWIG_AsInt(obj2
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 (arg1
)->CrossHair(arg2
,arg3
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 Py_INCREF(Py_None
); resultobj
= Py_None
;
10635 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxDC
*arg1
= (wxDC
*) 0 ;
10638 wxPoint
*arg2
= 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "pt", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 Py_INCREF(Py_None
); resultobj
= Py_None
;
10667 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxDC
*arg1
= (wxDC
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 PyObject
* obj2
= 0 ;
10679 PyObject
* obj3
= 0 ;
10680 PyObject
* obj4
= 0 ;
10681 PyObject
* obj5
= 0 ;
10682 PyObject
* obj6
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10690 arg2
= (int) SWIG_AsInt(obj1
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10692 arg3
= (int) SWIG_AsInt(obj2
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10694 arg4
= (int) SWIG_AsInt(obj3
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10696 arg5
= (int) SWIG_AsInt(obj4
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10698 arg6
= (int) SWIG_AsInt(obj5
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10700 arg7
= (int) SWIG_AsInt(obj6
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 Py_INCREF(Py_None
); resultobj
= Py_None
;
10716 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
;
10718 wxDC
*arg1
= (wxDC
*) 0 ;
10719 wxPoint
*arg2
= 0 ;
10720 wxPoint
*arg3
= 0 ;
10721 wxPoint
*arg4
= 0 ;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 PyObject
* obj2
= 0 ;
10728 PyObject
* obj3
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10742 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxDC
*arg1
= (wxDC
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 PyObject
* obj2
= 0 ;
10772 PyObject
* obj3
= 0 ;
10773 PyObject
* obj4
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= (int) SWIG_AsInt(obj1
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10783 arg3
= (int) SWIG_AsInt(obj2
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10785 arg4
= (int) SWIG_AsInt(obj3
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10787 arg5
= (int) SWIG_AsInt(obj4
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 Py_INCREF(Py_None
); resultobj
= Py_None
;
10803 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxDC
*arg1
= (wxDC
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self",(char *) "rect", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10819 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 Py_INCREF(Py_None
); resultobj
= Py_None
;
10835 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxDC
*arg1
= (wxDC
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 PyObject
* obj1
= 0 ;
10846 PyObject
* obj2
= 0 ;
10847 PyObject
* obj3
= 0 ;
10848 PyObject
* obj4
= 0 ;
10849 PyObject
* obj5
= 0 ;
10850 PyObject
* obj6
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10858 arg2
= (int) SWIG_AsInt(obj1
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10860 arg3
= (int) SWIG_AsInt(obj2
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10862 arg4
= (int) SWIG_AsInt(obj3
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10864 arg5
= (int) SWIG_AsInt(obj4
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10866 arg6
= (double) SWIG_AsDouble(obj5
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10868 arg7
= (double) SWIG_AsDouble(obj6
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 Py_INCREF(Py_None
); resultobj
= Py_None
;
10884 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxDC
*arg1
= (wxDC
*) 0 ;
10887 wxPoint
*arg2
= 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 PyObject
* obj3
= 0 ;
10897 PyObject
* obj4
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10911 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10913 arg4
= (double) SWIG_AsDouble(obj3
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10915 arg5
= (double) SWIG_AsDouble(obj4
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 Py_INCREF(Py_None
); resultobj
= Py_None
;
10931 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxDC
*arg1
= (wxDC
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 PyObject
* obj1
= 0 ;
10938 PyObject
* obj2
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self",(char *) "x",(char *) "y", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 arg2
= (int) SWIG_AsInt(obj1
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10948 arg3
= (int) SWIG_AsInt(obj2
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 (arg1
)->DrawPoint(arg2
,arg3
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 Py_INCREF(Py_None
); resultobj
= Py_None
;
10964 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxDC
*arg1
= (wxDC
*) 0 ;
10967 wxPoint
*arg2
= 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "pt", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxDC
*arg1
= (wxDC
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 PyObject
* obj2
= 0 ;
11006 PyObject
* obj3
= 0 ;
11007 PyObject
* obj4
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 arg2
= (int) SWIG_AsInt(obj1
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11017 arg3
= (int) SWIG_AsInt(obj2
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11019 arg4
= (int) SWIG_AsInt(obj3
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11021 arg5
= (int) SWIG_AsInt(obj4
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 Py_INCREF(Py_None
); resultobj
= Py_None
;
11037 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxDC
*arg1
= (wxDC
*) 0 ;
11040 wxPoint
*arg2
= 0 ;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 PyObject
* obj2
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self",(char *) "pt",(char *) "sz", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11060 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 Py_INCREF(Py_None
); resultobj
= Py_None
;
11076 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxDC
*arg1
= (wxDC
*) 0 ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "rect", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11092 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 Py_INCREF(Py_None
); resultobj
= Py_None
;
11108 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxDC
*arg1
= (wxDC
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 PyObject
* obj2
= 0 ;
11119 PyObject
* obj3
= 0 ;
11120 PyObject
* obj4
= 0 ;
11121 PyObject
* obj5
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11129 arg2
= (int) SWIG_AsInt(obj1
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11131 arg3
= (int) SWIG_AsInt(obj2
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11133 arg4
= (int) SWIG_AsInt(obj3
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11135 arg5
= (int) SWIG_AsInt(obj4
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11137 arg6
= (double) SWIG_AsDouble(obj5
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxDC
*arg1
= (wxDC
*) 0 ;
11156 wxPoint
*arg2
= 0 ;
11161 PyObject
* obj0
= 0 ;
11162 PyObject
* obj1
= 0 ;
11163 PyObject
* obj2
= 0 ;
11164 PyObject
* obj3
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11178 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11180 arg4
= (double) SWIG_AsDouble(obj3
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 Py_INCREF(Py_None
); resultobj
= Py_None
;
11196 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxDC
*arg1
= (wxDC
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 PyObject
* obj2
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self",(char *) "r",(char *) "radius", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11214 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11216 arg3
= (double) SWIG_AsDouble(obj2
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 Py_INCREF(Py_None
); resultobj
= Py_None
;
11232 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxDC
*arg1
= (wxDC
*) 0 ;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 PyObject
* obj2
= 0 ;
11241 PyObject
* obj3
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11249 arg2
= (int) SWIG_AsInt(obj1
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11251 arg3
= (int) SWIG_AsInt(obj2
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11253 arg4
= (int) SWIG_AsInt(obj3
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxDC
*arg1
= (wxDC
*) 0 ;
11272 wxPoint
*arg2
= 0 ;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 PyObject
* obj2
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "pt",(char *) "radius", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11289 arg3
= (int) SWIG_AsInt(obj2
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxDC
*arg1
= (wxDC
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 PyObject
* obj2
= 0 ;
11315 PyObject
* obj3
= 0 ;
11316 PyObject
* obj4
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11339 Py_INCREF(Py_None
); resultobj
= Py_None
;
11346 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxDC
*arg1
= (wxDC
*) 0 ;
11349 wxPoint
*arg2
= 0 ;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 PyObject
* obj2
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self",(char *) "pt",(char *) "sz", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11369 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 Py_INCREF(Py_None
); resultobj
= Py_None
;
11385 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxDC
*arg1
= (wxDC
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "rect", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 Py_INCREF(Py_None
); resultobj
= Py_None
;
11417 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxDC
*arg1
= (wxDC
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11425 PyObject
* obj2
= 0 ;
11426 PyObject
* obj3
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11437 if (arg2
== NULL
) {
11438 PyErr_SetString(PyExc_TypeError
,"null reference");
11441 arg3
= (int) SWIG_AsInt(obj2
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11443 arg4
= (int) SWIG_AsInt(obj3
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 Py_INCREF(Py_None
); resultobj
= Py_None
;
11459 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxDC
*arg1
= (wxDC
*) 0 ;
11463 wxPoint
*arg3
= 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 PyObject
* obj2
= 0 ;
11468 char *kwnames
[] = {
11469 (char *) "self",(char *) "icon",(char *) "pt", NULL
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11478 if (arg2
== NULL
) {
11479 PyErr_SetString(PyExc_TypeError
,"null reference");
11484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxDC
*arg1
= (wxDC
*) 0 ;
11503 wxBitmap
*arg2
= 0 ;
11506 bool arg5
= (bool) False
;
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 *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",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 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11522 if (arg2
== NULL
) {
11523 PyErr_SetString(PyExc_TypeError
,"null reference");
11526 arg3
= (int) SWIG_AsInt(obj2
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11528 arg4
= (int) SWIG_AsInt(obj3
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 arg5
= (bool) SWIG_AsBool(obj4
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 Py_INCREF(Py_None
); resultobj
= Py_None
;
11548 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxDC
*arg1
= (wxDC
*) 0 ;
11551 wxBitmap
*arg2
= 0 ;
11552 wxPoint
*arg3
= 0 ;
11553 bool arg4
= (bool) False
;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 PyObject
* obj2
= 0 ;
11558 PyObject
* obj3
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11569 if (arg2
== NULL
) {
11570 PyErr_SetString(PyExc_TypeError
,"null reference");
11575 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11578 arg4
= (bool) SWIG_AsBool(obj3
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 Py_INCREF(Py_None
); resultobj
= Py_None
;
11595 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxDC
*arg1
= (wxDC
*) 0 ;
11598 wxString
*arg2
= 0 ;
11601 bool temp2
= False
;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 PyObject
* obj2
= 0 ;
11605 PyObject
* obj3
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11614 arg2
= wxString_in_helper(obj1
);
11615 if (arg2
== NULL
) SWIG_fail
;
11618 arg3
= (int) SWIG_AsInt(obj2
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11620 arg4
= (int) SWIG_AsInt(obj3
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 Py_INCREF(Py_None
); resultobj
= Py_None
;
11644 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
;
11646 wxDC
*arg1
= (wxDC
*) 0 ;
11647 wxString
*arg2
= 0 ;
11648 wxPoint
*arg3
= 0 ;
11649 bool temp2
= False
;
11651 PyObject
* obj0
= 0 ;
11652 PyObject
* obj1
= 0 ;
11653 PyObject
* obj2
= 0 ;
11654 char *kwnames
[] = {
11655 (char *) "self",(char *) "text",(char *) "pt", NULL
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11662 arg2
= wxString_in_helper(obj1
);
11663 if (arg2
== NULL
) SWIG_fail
;
11668 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11677 Py_INCREF(Py_None
); resultobj
= Py_None
;
11692 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 wxDC
*arg1
= (wxDC
*) 0 ;
11695 wxString
*arg2
= 0 ;
11699 bool temp2
= False
;
11700 PyObject
* obj0
= 0 ;
11701 PyObject
* obj1
= 0 ;
11702 PyObject
* obj2
= 0 ;
11703 PyObject
* obj3
= 0 ;
11704 PyObject
* obj4
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11713 arg2
= wxString_in_helper(obj1
);
11714 if (arg2
== NULL
) SWIG_fail
;
11717 arg3
= (int) SWIG_AsInt(obj2
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11719 arg4
= (int) SWIG_AsInt(obj3
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11721 arg5
= (double) SWIG_AsDouble(obj4
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 Py_INCREF(Py_None
); resultobj
= Py_None
;
11745 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxDC
*arg1
= (wxDC
*) 0 ;
11748 wxString
*arg2
= 0 ;
11749 wxPoint
*arg3
= 0 ;
11751 bool temp2
= False
;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 PyObject
* obj2
= 0 ;
11756 PyObject
* obj3
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11765 arg2
= wxString_in_helper(obj1
);
11766 if (arg2
== NULL
) SWIG_fail
;
11771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11773 arg4
= (double) SWIG_AsDouble(obj3
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 Py_INCREF(Py_None
); resultobj
= Py_None
;
11797 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxDC
*arg1
= (wxDC
*) 0 ;
11804 wxDC
*arg6
= (wxDC
*) 0 ;
11807 int arg9
= (int) wxCOPY
;
11808 bool arg10
= (bool) False
;
11809 int arg11
= (int) -1 ;
11810 int arg12
= (int) -1 ;
11812 PyObject
* obj0
= 0 ;
11813 PyObject
* obj1
= 0 ;
11814 PyObject
* obj2
= 0 ;
11815 PyObject
* obj3
= 0 ;
11816 PyObject
* obj4
= 0 ;
11817 PyObject
* obj5
= 0 ;
11818 PyObject
* obj6
= 0 ;
11819 PyObject
* obj7
= 0 ;
11820 PyObject
* obj8
= 0 ;
11821 PyObject
* obj9
= 0 ;
11822 PyObject
* obj10
= 0 ;
11823 PyObject
* obj11
= 0 ;
11824 char *kwnames
[] = {
11825 (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
11828 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
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11831 arg2
= (int) SWIG_AsInt(obj1
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11833 arg3
= (int) SWIG_AsInt(obj2
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11835 arg4
= (int) SWIG_AsInt(obj3
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11837 arg5
= (int) SWIG_AsInt(obj4
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11839 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 arg7
= (int) SWIG_AsInt(obj6
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11843 arg8
= (int) SWIG_AsInt(obj7
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 arg9
= (int) SWIG_AsInt(obj8
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11850 arg10
= (bool) SWIG_AsBool(obj9
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 arg11
= (int) SWIG_AsInt(obj10
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 arg12
= (int) SWIG_AsInt(obj11
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11877 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxDC
*arg1
= (wxDC
*) 0 ;
11880 wxPoint
*arg2
= 0 ;
11882 wxDC
*arg4
= (wxDC
*) 0 ;
11883 wxPoint
*arg5
= 0 ;
11884 int arg6
= (int) wxCOPY
;
11885 bool arg7
= (bool) False
;
11886 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11887 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11893 PyObject
* obj0
= 0 ;
11894 PyObject
* obj1
= 0 ;
11895 PyObject
* obj2
= 0 ;
11896 PyObject
* obj3
= 0 ;
11897 PyObject
* obj4
= 0 ;
11898 PyObject
* obj5
= 0 ;
11899 PyObject
* obj6
= 0 ;
11900 PyObject
* obj7
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11914 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11916 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11923 arg6
= (int) SWIG_AsInt(obj5
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 arg7
= (bool) SWIG_AsBool(obj6
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11933 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11952 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxDC
*arg1
= (wxDC
*) 0 ;
11956 wxPoint
*arg3
= (wxPoint
*) 0 ;
11957 int arg4
= (int) 0 ;
11958 int arg5
= (int) 0 ;
11959 PyObject
* obj0
= 0 ;
11960 PyObject
* obj1
= 0 ;
11961 PyObject
* obj2
= 0 ;
11962 PyObject
* obj3
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11971 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11972 if (arg3
== NULL
) SWIG_fail
;
11975 arg4
= (int) SWIG_AsInt(obj2
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 arg5
= (int) SWIG_AsInt(obj3
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 Py_INCREF(Py_None
); resultobj
= Py_None
;
11991 if (arg3
) delete [] arg3
;
11996 if (arg3
) delete [] arg3
;
12002 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxDC
*arg1
= (wxDC
*) 0 ;
12006 wxPoint
*arg3
= (wxPoint
*) 0 ;
12007 int arg4
= (int) 0 ;
12008 int arg5
= (int) 0 ;
12009 int arg6
= (int) wxODDEVEN_RULE
;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 PyObject
* obj2
= 0 ;
12013 PyObject
* obj3
= 0 ;
12014 PyObject
* obj4
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12023 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12024 if (arg3
== NULL
) SWIG_fail
;
12027 arg4
= (int) SWIG_AsInt(obj2
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 arg5
= (int) SWIG_AsInt(obj3
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 arg6
= (int) SWIG_AsInt(obj4
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 Py_INCREF(Py_None
); resultobj
= Py_None
;
12047 if (arg3
) delete [] arg3
;
12052 if (arg3
) delete [] arg3
;
12058 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxDC
*arg1
= (wxDC
*) 0 ;
12061 wxString
*arg2
= 0 ;
12063 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12064 int arg5
= (int) -1 ;
12065 bool temp2
= False
;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 PyObject
* obj2
= 0 ;
12070 PyObject
* obj3
= 0 ;
12071 PyObject
* obj4
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12080 arg2
= wxString_in_helper(obj1
);
12081 if (arg2
== NULL
) SWIG_fail
;
12086 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12089 arg4
= (int) SWIG_AsInt(obj3
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12093 arg5
= (int) SWIG_AsInt(obj4
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 Py_INCREF(Py_None
); resultobj
= Py_None
;
12118 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxDC
*arg1
= (wxDC
*) 0 ;
12121 wxString
*arg2
= 0 ;
12122 wxBitmap
*arg3
= 0 ;
12124 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12125 int arg6
= (int) -1 ;
12127 bool temp2
= False
;
12129 PyObject
* obj0
= 0 ;
12130 PyObject
* obj1
= 0 ;
12131 PyObject
* obj2
= 0 ;
12132 PyObject
* obj3
= 0 ;
12133 PyObject
* obj4
= 0 ;
12134 PyObject
* obj5
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12143 arg2
= wxString_in_helper(obj1
);
12144 if (arg2
== NULL
) SWIG_fail
;
12147 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12150 if (arg3
== NULL
) {
12151 PyErr_SetString(PyExc_TypeError
,"null reference");
12156 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12159 arg5
= (int) SWIG_AsInt(obj4
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12163 arg6
= (int) SWIG_AsInt(obj5
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12174 wxRect
* resultptr
;
12175 resultptr
= new wxRect((wxRect
&) result
);
12176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12192 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxDC
*arg1
= (wxDC
*) 0 ;
12196 wxPoint
*arg3
= (wxPoint
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 PyObject
* obj1
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self",(char *) "points", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12207 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12208 if (arg3
== NULL
) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 (arg1
)->DrawSpline(arg2
,arg3
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 if (arg3
) delete [] arg3
;
12224 if (arg3
) delete [] arg3
;
12230 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxDC
*arg1
= (wxDC
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxDC
*arg1
= (wxDC
*) 0 ;
12258 wxString
*arg2
= 0 ;
12260 bool temp2
= False
;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self",(char *) "message", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 arg2
= wxString_in_helper(obj1
);
12272 if (arg2
== NULL
) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxDC
*arg1
= (wxDC
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxDC
*arg1
= (wxDC
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->StartPage();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxDC
*arg1
= (wxDC
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 Py_INCREF(Py_None
); resultobj
= Py_None
;
12374 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxDC
*arg1
= (wxDC
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 PyObject
* obj1
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self",(char *) "font", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12390 if (arg2
== NULL
) {
12391 PyErr_SetString(PyExc_TypeError
,"null reference");
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetFont((wxFont
const &)*arg2
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12408 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxDC
*arg1
= (wxDC
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 PyObject
* obj1
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self",(char *) "pen", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12424 if (arg2
== NULL
) {
12425 PyErr_SetString(PyExc_TypeError
,"null reference");
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 (arg1
)->SetPen((wxPen
const &)*arg2
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 Py_INCREF(Py_None
); resultobj
= Py_None
;
12442 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxDC
*arg1
= (wxDC
*) 0 ;
12445 wxBrush
*arg2
= 0 ;
12446 PyObject
* obj0
= 0 ;
12447 PyObject
* obj1
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self",(char *) "brush", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12458 if (arg2
== NULL
) {
12459 PyErr_SetString(PyExc_TypeError
,"null reference");
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxDC
*arg1
= (wxDC
*) 0 ;
12479 wxBrush
*arg2
= 0 ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self",(char *) "brush", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12492 if (arg2
== NULL
) {
12493 PyErr_SetString(PyExc_TypeError
,"null reference");
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxDC
*arg1
= (wxDC
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 PyObject
* obj1
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "mode", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 arg2
= (int) SWIG_AsInt(obj1
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->SetBackgroundMode(arg2
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 Py_INCREF(Py_None
); resultobj
= Py_None
;
12539 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxDC
*arg1
= (wxDC
*) 0 ;
12542 wxPalette
*arg2
= 0 ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self",(char *) "palette", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12555 if (arg2
== NULL
) {
12556 PyErr_SetString(PyExc_TypeError
,"null reference");
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxDC
*arg1
= (wxDC
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 PyObject
* obj2
= 0 ;
12583 PyObject
* obj3
= 0 ;
12584 PyObject
* obj4
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 arg2
= (int) SWIG_AsInt(obj1
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12594 arg3
= (int) SWIG_AsInt(obj2
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12596 arg4
= (int) SWIG_AsInt(obj3
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12598 arg5
= (int) SWIG_AsInt(obj4
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 Py_INCREF(Py_None
); resultobj
= Py_None
;
12614 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxDC
*arg1
= (wxDC
*) 0 ;
12617 wxPoint
*arg2
= 0 ;
12621 PyObject
* obj0
= 0 ;
12622 PyObject
* obj1
= 0 ;
12623 PyObject
* obj2
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self",(char *) "pt",(char *) "sz", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12637 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 Py_INCREF(Py_None
); resultobj
= Py_None
;
12653 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxDC
*arg1
= (wxDC
*) 0 ;
12658 PyObject
* obj0
= 0 ;
12659 PyObject
* obj1
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self",(char *) "rect", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12669 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 Py_INCREF(Py_None
); resultobj
= Py_None
;
12685 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxDC
*arg1
= (wxDC
*) 0 ;
12688 wxRegion
*arg2
= 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self",(char *) "region", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12701 if (arg2
== NULL
) {
12702 PyErr_SetString(PyExc_TypeError
,"null reference");
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 Py_INCREF(Py_None
); resultobj
= Py_None
;
12719 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
;
12721 wxDC
*arg1
= (wxDC
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 (arg1
)->DestroyClippingRegion();
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 Py_INCREF(Py_None
); resultobj
= Py_None
;
12744 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxDC
*arg1
= (wxDC
*) 0 ;
12747 int *arg2
= (int *) 0 ;
12748 int *arg3
= (int *) 0 ;
12749 int *arg4
= (int *) 0 ;
12750 int *arg5
= (int *) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 Py_INCREF(Py_None
); resultobj
= Py_None
;
12776 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12777 resultobj
= t_output_helper(resultobj
,o
);
12780 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12781 resultobj
= t_output_helper(resultobj
,o
);
12784 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12785 resultobj
= t_output_helper(resultobj
,o
);
12788 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12789 resultobj
= t_output_helper(resultobj
,o
);
12797 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxDC
*arg1
= (wxDC
*) 0 ;
12801 PyObject
* obj0
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "self", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= wxDC_GetClippingRect(arg1
);
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12817 wxRect
* resultptr
;
12818 resultptr
= new wxRect((wxRect
&) result
);
12819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12827 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxDC
*arg1
= (wxDC
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_FromInt((int)result
);
12853 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxDC
*arg1
= (wxDC
*) 0 ;
12857 PyObject
* obj0
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= SWIG_FromInt((int)result
);
12879 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxDC
*arg1
= (wxDC
*) 0 ;
12882 wxString
*arg2
= 0 ;
12883 int *arg3
= (int *) 0 ;
12884 int *arg4
= (int *) 0 ;
12885 bool temp2
= False
;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj1
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self",(char *) "string", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12900 arg2
= wxString_in_helper(obj1
);
12901 if (arg2
== NULL
) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 Py_INCREF(Py_None
); resultobj
= Py_None
;
12913 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12914 resultobj
= t_output_helper(resultobj
,o
);
12917 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12918 resultobj
= t_output_helper(resultobj
,o
);
12934 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxDC
*arg1
= (wxDC
*) 0 ;
12937 wxString
*arg2
= 0 ;
12938 int *arg3
= (int *) 0 ;
12939 int *arg4
= (int *) 0 ;
12940 int *arg5
= (int *) 0 ;
12941 int *arg6
= (int *) 0 ;
12942 wxFont
*arg7
= (wxFont
*) NULL
;
12943 bool temp2
= False
;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 PyObject
* obj2
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self",(char *) "string",(char *) "font", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12963 arg2
= wxString_in_helper(obj1
);
12964 if (arg2
== NULL
) SWIG_fail
;
12968 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 Py_INCREF(Py_None
); resultobj
= Py_None
;
12980 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12981 resultobj
= t_output_helper(resultobj
,o
);
12984 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12985 resultobj
= t_output_helper(resultobj
,o
);
12988 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12989 resultobj
= t_output_helper(resultobj
,o
);
12992 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12993 resultobj
= t_output_helper(resultobj
,o
);
13009 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxDC
*arg1
= (wxDC
*) 0 ;
13012 wxString
*arg2
= 0 ;
13013 int *arg3
= (int *) 0 ;
13014 int *arg4
= (int *) 0 ;
13015 int *arg5
= (int *) 0 ;
13016 wxFont
*arg6
= (wxFont
*) NULL
;
13017 bool temp2
= False
;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 PyObject
* obj2
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self",(char *) "text",(char *) "font", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13035 arg2
= wxString_in_helper(obj1
);
13036 if (arg2
== NULL
) SWIG_fail
;
13040 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13053 resultobj
= t_output_helper(resultobj
,o
);
13056 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13057 resultobj
= t_output_helper(resultobj
,o
);
13060 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13061 resultobj
= t_output_helper(resultobj
,o
);
13077 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxDC
*arg1
= (wxDC
*) 0 ;
13080 wxString
*arg2
= 0 ;
13082 bool temp2
= False
;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self",(char *) "text", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 arg2
= wxString_in_helper(obj1
);
13094 if (arg2
== NULL
) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= PyList_New(0);
13107 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13108 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13109 PyList_Append(resultobj
, val
);
13127 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxDC
*arg1
= (wxDC
*) 0 ;
13131 PyObject
* obj0
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (arg1
)->GetSize();
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13147 wxSize
* resultptr
;
13148 resultptr
= new wxSize((wxSize
&) result
);
13149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13157 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxDC
*arg1
= (wxDC
*) 0 ;
13160 int *arg2
= (int *) 0 ;
13161 int *arg3
= (int *) 0 ;
13164 PyObject
* obj0
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self", NULL
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->GetSize(arg2
,arg3
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 Py_INCREF(Py_None
); resultobj
= Py_None
;
13183 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13184 resultobj
= t_output_helper(resultobj
,o
);
13187 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13188 resultobj
= t_output_helper(resultobj
,o
);
13196 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxDC
*arg1
= (wxDC
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 wxSize
* resultptr
;
13217 resultptr
= new wxSize((wxSize
&) result
);
13218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13226 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxDC
*arg1
= (wxDC
*) 0 ;
13229 int *arg2
= (int *) 0 ;
13230 int *arg3
= (int *) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 Py_INCREF(Py_None
); resultobj
= Py_None
;
13252 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13253 resultobj
= t_output_helper(resultobj
,o
);
13256 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13257 resultobj
= t_output_helper(resultobj
,o
);
13265 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxDC
*arg1
= (wxDC
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "x", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13279 arg2
= (int) SWIG_AsInt(obj1
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_FromInt((int)result
);
13295 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxDC
*arg1
= (wxDC
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 PyObject
* obj1
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self",(char *) "y", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13309 arg2
= (int) SWIG_AsInt(obj1
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_FromInt((int)result
);
13325 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxDC
*arg1
= (wxDC
*) 0 ;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self",(char *) "x", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13339 arg2
= (int) SWIG_AsInt(obj1
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 resultobj
= SWIG_FromInt((int)result
);
13355 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13356 PyObject
*resultobj
;
13357 wxDC
*arg1
= (wxDC
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "y", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 arg2
= (int) SWIG_AsInt(obj1
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_FromInt((int)result
);
13385 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxDC
*arg1
= (wxDC
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self",(char *) "x", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13399 arg2
= (int) SWIG_AsInt(obj1
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= SWIG_FromInt((int)result
);
13415 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxDC
*arg1
= (wxDC
*) 0 ;
13420 PyObject
* obj0
= 0 ;
13421 PyObject
* obj1
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self",(char *) "y", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13429 arg2
= (int) SWIG_AsInt(obj1
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_FromInt((int)result
);
13445 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxDC
*arg1
= (wxDC
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "x", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13459 arg2
= (int) SWIG_AsInt(obj1
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= SWIG_FromInt((int)result
);
13475 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxDC
*arg1
= (wxDC
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self",(char *) "y", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 arg2
= (int) SWIG_AsInt(obj1
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= SWIG_FromInt((int)result
);
13505 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxDC
*arg1
= (wxDC
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13533 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxDC
*arg1
= (wxDC
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13561 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxDC
*arg1
= (wxDC
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_FromInt((int)result
);
13587 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxDC
*arg1
= (wxDC
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= ((wxDC
const *)arg1
)->GetPPI();
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 wxSize
* resultptr
;
13608 resultptr
= new wxSize((wxSize
&) result
);
13609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13617 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxDC
*arg1
= (wxDC
*) 0 ;
13621 PyObject
* obj0
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "self", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (bool)((wxDC
const *)arg1
)->Ok();
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13645 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxDC
*arg1
= (wxDC
*) 0 ;
13649 PyObject
* obj0
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= SWIG_FromInt((int)result
);
13671 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxDC
*arg1
= (wxDC
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13687 result
= (wxBrush
*) &_result_ref
;
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13694 wxBrush
* resultptr
= new wxBrush(*result
);
13695 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13703 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxDC
*arg1
= (wxDC
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13719 result
= (wxBrush
*) &_result_ref
;
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13726 wxBrush
* resultptr
= new wxBrush(*result
);
13727 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13735 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxDC
*arg1
= (wxDC
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13751 result
= (wxFont
*) &_result_ref
;
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 wxFont
* resultptr
= new wxFont(*result
);
13759 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13767 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxDC
*arg1
= (wxDC
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13783 result
= (wxPen
*) &_result_ref
;
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13790 wxPen
* resultptr
= new wxPen(*result
);
13791 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13799 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxDC
*arg1
= (wxDC
*) 0 ;
13803 PyObject
* obj0
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "self", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13815 result
= (wxColour
*) &_result_ref
;
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13828 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxDC
*arg1
= (wxDC
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13844 result
= (wxColour
*) &_result_ref
;
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13857 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxDC
*arg1
= (wxDC
*) 0 ;
13860 wxColour
*arg2
= 0 ;
13862 PyObject
* obj0
= 0 ;
13863 PyObject
* obj1
= 0 ;
13864 char *kwnames
[] = {
13865 (char *) "self",(char *) "colour", NULL
13868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13873 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 Py_INCREF(Py_None
); resultobj
= Py_None
;
13889 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
;
13891 wxDC
*arg1
= (wxDC
*) 0 ;
13892 wxColour
*arg2
= 0 ;
13894 PyObject
* obj0
= 0 ;
13895 PyObject
* obj1
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "self",(char *) "colour", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 Py_INCREF(Py_None
); resultobj
= Py_None
;
13921 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxDC
*arg1
= (wxDC
*) 0 ;
13925 PyObject
* obj0
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= SWIG_FromInt((int)result
);
13947 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxDC
*arg1
= (wxDC
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self",(char *) "mode", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13960 arg2
= (int) SWIG_AsInt(obj1
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 (arg1
)->SetMapMode(arg2
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 Py_INCREF(Py_None
); resultobj
= Py_None
;
13976 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxDC
*arg1
= (wxDC
*) 0 ;
13979 double *arg2
= (double *) 0 ;
13980 double *arg3
= (double *) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 Py_INCREF(Py_None
); resultobj
= Py_None
;
14002 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14003 resultobj
= t_output_helper(resultobj
,o
);
14006 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14007 resultobj
= t_output_helper(resultobj
,o
);
14015 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxDC
*arg1
= (wxDC
*) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 PyObject
* obj1
= 0 ;
14022 PyObject
* obj2
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self",(char *) "x",(char *) "y", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14030 arg2
= (double) SWIG_AsDouble(obj1
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14032 arg3
= (double) SWIG_AsDouble(obj2
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 (arg1
)->SetUserScale(arg2
,arg3
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 Py_INCREF(Py_None
); resultobj
= Py_None
;
14048 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxDC
*arg1
= (wxDC
*) 0 ;
14051 double *arg2
= (double *) 0 ;
14052 double *arg3
= (double *) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 (arg1
)->GetLogicalScale(arg2
,arg3
);
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14075 resultobj
= t_output_helper(resultobj
,o
);
14078 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14079 resultobj
= t_output_helper(resultobj
,o
);
14087 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxDC
*arg1
= (wxDC
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 PyObject
* obj2
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self",(char *) "x",(char *) "y", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14102 arg2
= (double) SWIG_AsDouble(obj1
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14104 arg3
= (double) SWIG_AsDouble(obj2
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 (arg1
)->SetLogicalScale(arg2
,arg3
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxDC
*arg1
= (wxDC
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 wxPoint
* resultptr
;
14141 resultptr
= new wxPoint((wxPoint
&) result
);
14142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14150 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxDC
*arg1
= (wxDC
*) 0 ;
14153 int *arg2
= (int *) 0 ;
14154 int *arg3
= (int *) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 Py_INCREF(Py_None
); resultobj
= Py_None
;
14176 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14177 resultobj
= t_output_helper(resultobj
,o
);
14180 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14181 resultobj
= t_output_helper(resultobj
,o
);
14189 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxDC
*arg1
= (wxDC
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 PyObject
* obj1
= 0 ;
14196 PyObject
* obj2
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "x",(char *) "y", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14204 arg2
= (int) SWIG_AsInt(obj1
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14206 arg3
= (int) SWIG_AsInt(obj2
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 Py_INCREF(Py_None
); resultobj
= Py_None
;
14222 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxDC
*arg1
= (wxDC
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 wxPoint
* resultptr
;
14243 resultptr
= new wxPoint((wxPoint
&) result
);
14244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14252 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxDC
*arg1
= (wxDC
*) 0 ;
14255 int *arg2
= (int *) 0 ;
14256 int *arg3
= (int *) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 Py_INCREF(Py_None
); resultobj
= Py_None
;
14278 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14279 resultobj
= t_output_helper(resultobj
,o
);
14282 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14283 resultobj
= t_output_helper(resultobj
,o
);
14291 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxDC
*arg1
= (wxDC
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 PyObject
* obj2
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self",(char *) "x",(char *) "y", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14306 arg2
= (int) SWIG_AsInt(obj1
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14308 arg3
= (int) SWIG_AsInt(obj2
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 Py_INCREF(Py_None
); resultobj
= Py_None
;
14324 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxDC
*arg1
= (wxDC
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 PyObject
* obj2
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14339 arg2
= (bool) SWIG_AsBool(obj1
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14341 arg3
= (bool) SWIG_AsBool(obj2
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 Py_INCREF(Py_None
); resultobj
= Py_None
;
14357 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
;
14359 wxDC
*arg1
= (wxDC
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_FromInt((int)result
);
14383 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxDC
*arg1
= (wxDC
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self",(char *) "function", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14396 arg2
= (int) SWIG_AsInt(obj1
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 (arg1
)->SetLogicalFunction(arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 Py_INCREF(Py_None
); resultobj
= Py_None
;
14412 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxDC
*arg1
= (wxDC
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self",(char *) "opt", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14425 arg2
= (bool) SWIG_AsBool(obj1
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 (arg1
)->SetOptimization(arg2
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 Py_INCREF(Py_None
); resultobj
= Py_None
;
14441 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxDC
*arg1
= (wxDC
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (bool)(arg1
)->GetOptimization();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14469 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxDC
*arg1
= (wxDC
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 PyObject
* obj2
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self",(char *) "x",(char *) "y", NULL
14481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14484 arg2
= (int) SWIG_AsInt(obj1
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14486 arg3
= (int) SWIG_AsInt(obj2
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 Py_INCREF(Py_None
); resultobj
= Py_None
;
14502 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxDC
*arg1
= (wxDC
*) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "self", NULL
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 (arg1
)->ResetBoundingBox();
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 Py_INCREF(Py_None
); resultobj
= Py_None
;
14527 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxDC
*arg1
= (wxDC
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (int)((wxDC
const *)arg1
)->MinX();
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= SWIG_FromInt((int)result
);
14553 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxDC
*arg1
= (wxDC
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (int)((wxDC
const *)arg1
)->MaxX();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= SWIG_FromInt((int)result
);
14579 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxDC
*arg1
= (wxDC
*) 0 ;
14583 PyObject
* obj0
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (int)((wxDC
const *)arg1
)->MinY();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= SWIG_FromInt((int)result
);
14605 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxDC
*arg1
= (wxDC
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (int)((wxDC
const *)arg1
)->MaxY();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= SWIG_FromInt((int)result
);
14631 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxDC
*arg1
= (wxDC
*) 0 ;
14634 int *arg2
= (int *) 0 ;
14635 int *arg3
= (int *) 0 ;
14636 int *arg4
= (int *) 0 ;
14637 int *arg5
= (int *) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14664 resultobj
= t_output_helper(resultobj
,o
);
14667 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14668 resultobj
= t_output_helper(resultobj
,o
);
14671 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14672 resultobj
= t_output_helper(resultobj
,o
);
14675 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14676 resultobj
= t_output_helper(resultobj
,o
);
14684 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxDC
*arg1
= (wxDC
*) 0 ;
14687 PyObject
*arg2
= (PyObject
*) 0 ;
14688 PyObject
*arg3
= (PyObject
*) 0 ;
14689 PyObject
*arg4
= (PyObject
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 PyObject
* obj2
= 0 ;
14694 PyObject
* obj3
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= result
;
14719 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxDC
*arg1
= (wxDC
*) 0 ;
14722 PyObject
*arg2
= (PyObject
*) 0 ;
14723 PyObject
*arg3
= (PyObject
*) 0 ;
14724 PyObject
*arg4
= (PyObject
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 PyObject
* obj2
= 0 ;
14729 PyObject
* obj3
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= result
;
14754 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
;
14756 wxDC
*arg1
= (wxDC
*) 0 ;
14757 PyObject
*arg2
= (PyObject
*) 0 ;
14758 PyObject
*arg3
= (PyObject
*) 0 ;
14759 PyObject
*arg4
= (PyObject
*) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 PyObject
* obj2
= 0 ;
14764 PyObject
* obj3
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= result
;
14789 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxDC
*arg1
= (wxDC
*) 0 ;
14792 PyObject
*arg2
= (PyObject
*) 0 ;
14793 PyObject
*arg3
= (PyObject
*) 0 ;
14794 PyObject
*arg4
= (PyObject
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 PyObject
* obj2
= 0 ;
14799 PyObject
* obj3
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14812 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= result
;
14824 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 wxDC
*arg1
= (wxDC
*) 0 ;
14827 PyObject
*arg2
= (PyObject
*) 0 ;
14828 PyObject
*arg3
= (PyObject
*) 0 ;
14829 PyObject
*arg4
= (PyObject
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 PyObject
* obj1
= 0 ;
14833 PyObject
* obj2
= 0 ;
14834 PyObject
* obj3
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
;
14859 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxDC
*arg1
= (wxDC
*) 0 ;
14862 PyObject
*arg2
= (PyObject
*) 0 ;
14863 PyObject
*arg3
= (PyObject
*) 0 ;
14864 PyObject
*arg4
= (PyObject
*) 0 ;
14865 PyObject
*arg5
= (PyObject
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 PyObject
* obj2
= 0 ;
14870 PyObject
* obj3
= 0 ;
14871 PyObject
* obj4
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= result
;
14897 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14900 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14902 return Py_BuildValue((char *)"");
14904 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxMemoryDC
*result
;
14907 char *kwnames
[] = {
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxMemoryDC
*)new wxMemoryDC();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14926 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxDC
*arg1
= (wxDC
*) 0 ;
14929 wxMemoryDC
*result
;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "oldDC", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14952 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14955 wxBitmap
*arg2
= 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self",(char *) "bitmap", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
14964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14968 if (arg2
== NULL
) {
14969 PyErr_SetString(PyExc_TypeError
,"null reference");
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 Py_INCREF(Py_None
); resultobj
= Py_None
;
14986 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14989 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14991 return Py_BuildValue((char *)"");
14993 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14994 PyObject
*resultobj
;
14995 wxDC
*arg1
= (wxDC
*) 0 ;
14996 wxBitmap
*arg2
= 0 ;
14997 wxBufferedDC
*result
;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15001 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15007 if (arg2
== NULL
) {
15008 PyErr_SetString(PyExc_TypeError
,"null reference");
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15025 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15026 PyObject
*resultobj
;
15027 wxDC
*arg1
= (wxDC
*) 0 ;
15029 wxBufferedDC
*result
;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15034 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15055 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15060 argc
= PyObject_Length(args
);
15061 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15062 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15078 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15086 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15094 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15103 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15106 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15111 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15116 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15117 PyObject
*resultobj
;
15118 wxDC
*arg1
= (wxDC
*) 0 ;
15120 wxBufferedDC
*result
;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15125 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15146 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 Py_INCREF(Py_None
); resultobj
= Py_None
;
15171 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 Py_INCREF(Py_None
); resultobj
= Py_None
;
15196 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15199 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15201 return Py_BuildValue((char *)"");
15203 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxWindow
*arg1
= (wxWindow
*) 0 ;
15206 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15207 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15208 wxBufferedPaintDC
*result
;
15209 PyObject
* obj0
= 0 ;
15210 PyObject
* obj1
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "window",(char *) "buffer", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15222 if (arg2
== NULL
) {
15223 PyErr_SetString(PyExc_TypeError
,"null reference");
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15241 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15244 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15246 return Py_BuildValue((char *)"");
15248 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxScreenDC
*result
;
15251 char *kwnames
[] = {
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (wxScreenDC
*)new wxScreenDC();
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15270 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15273 wxWindow
*arg2
= (wxWindow
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self",(char *) "window", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15302 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15305 wxRect
*arg2
= (wxRect
*) NULL
;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "rect", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15336 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 result
= (bool)(arg1
)->EndDrawingOnTop();
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15364 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15367 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15369 return Py_BuildValue((char *)"");
15371 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxWindow
*arg1
= (wxWindow
*) 0 ;
15374 wxClientDC
*result
;
15375 PyObject
* obj0
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "win", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (wxClientDC
*)new wxClientDC(arg1
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15397 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15400 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15402 return Py_BuildValue((char *)"");
15404 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
;
15406 wxWindow
*arg1
= (wxWindow
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "win", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15430 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15433 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15435 return Py_BuildValue((char *)"");
15437 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxWindow
*arg1
= (wxWindow
*) 0 ;
15440 wxWindowDC
*result
;
15441 PyObject
* obj0
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "win", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15463 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15466 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15468 return Py_BuildValue((char *)"");
15470 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15474 wxMirrorDC
*result
;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "dc",(char *) "mirror", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15485 if (arg1
== NULL
) {
15486 PyErr_SetString(PyExc_TypeError
,"null reference");
15489 arg2
= (bool) SWIG_AsBool(obj1
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15505 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15508 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15510 return Py_BuildValue((char *)"");
15512 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxPrintData
*arg1
= 0 ;
15515 wxPostScriptDC
*result
;
15516 PyObject
* obj0
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "printData", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15525 if (arg1
== NULL
) {
15526 PyErr_SetString(PyExc_TypeError
,"null reference");
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15543 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15546 wxPrintData
*result
;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15559 result
= (wxPrintData
*) &_result_ref
;
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15572 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15575 wxPrintData
*arg2
= 0 ;
15576 PyObject
* obj0
= 0 ;
15577 PyObject
* obj1
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self",(char *) "data", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15588 if (arg2
== NULL
) {
15589 PyErr_SetString(PyExc_TypeError
,"null reference");
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 Py_INCREF(Py_None
); resultobj
= Py_None
;
15606 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15609 PyObject
* obj0
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "ppi", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15615 arg1
= (int) SWIG_AsInt(obj0
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 wxPostScriptDC::SetResolution(arg1
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 Py_INCREF(Py_None
); resultobj
= Py_None
;
15631 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15634 char *kwnames
[] = {
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= (int)wxPostScriptDC::GetResolution();
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= SWIG_FromInt((int)result
);
15653 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15656 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15658 return Py_BuildValue((char *)"");
15660 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15663 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15664 wxMetaFile
*result
;
15665 bool temp1
= False
;
15666 PyObject
* obj0
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "filename", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15674 arg1
= wxString_in_helper(obj0
);
15675 if (arg1
== NULL
) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15701 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15704 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15706 return Py_BuildValue((char *)"");
15708 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15710 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15711 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15712 int arg2
= (int) 0 ;
15713 int arg3
= (int) 0 ;
15714 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15715 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15716 wxMetaFileDC
*result
;
15717 bool temp1
= False
;
15718 bool temp4
= False
;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 PyObject
* obj2
= 0 ;
15722 PyObject
* obj3
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15730 arg1
= wxString_in_helper(obj0
);
15731 if (arg1
== NULL
) SWIG_fail
;
15736 arg2
= (int) SWIG_AsInt(obj1
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15740 arg3
= (int) SWIG_AsInt(obj2
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15745 arg4
= wxString_in_helper(obj3
);
15746 if (arg4
== NULL
) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15780 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15783 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15785 return Py_BuildValue((char *)"");
15787 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxPrintData
*arg1
= 0 ;
15790 wxPrinterDC
*result
;
15791 PyObject
* obj0
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "printData", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15800 if (arg1
== NULL
) {
15801 PyErr_SetString(PyExc_TypeError
,"null reference");
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15818 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15821 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15823 return Py_BuildValue((char *)"");
15825 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15829 int arg3
= (int) True
;
15830 int arg4
= (int) 1 ;
15831 wxImageList
*result
;
15832 PyObject
* obj0
= 0 ;
15833 PyObject
* obj1
= 0 ;
15834 PyObject
* obj2
= 0 ;
15835 PyObject
* obj3
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15841 arg1
= (int) SWIG_AsInt(obj0
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15843 arg2
= (int) SWIG_AsInt(obj1
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 arg3
= (int) SWIG_AsInt(obj2
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15850 arg4
= (int) SWIG_AsInt(obj3
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= wxPyMake_wxObject(result
);
15869 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxImageList
*arg1
= (wxImageList
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 Py_INCREF(Py_None
); resultobj
= Py_None
;
15894 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxImageList
*arg1
= (wxImageList
*) 0 ;
15897 wxBitmap
*arg2
= 0 ;
15898 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15899 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 PyObject
* obj2
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15914 if (arg2
== NULL
) {
15915 PyErr_SetString(PyExc_TypeError
,"null reference");
15919 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15922 if (arg3
== NULL
) {
15923 PyErr_SetString(PyExc_TypeError
,"null reference");
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_FromInt((int)result
);
15941 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxImageList
*arg1
= (wxImageList
*) 0 ;
15944 wxBitmap
*arg2
= 0 ;
15945 wxColour
*arg3
= 0 ;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 PyObject
* obj2
= 0 ;
15951 char *kwnames
[] = {
15952 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15961 if (arg2
== NULL
) {
15962 PyErr_SetString(PyExc_TypeError
,"null reference");
15967 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= SWIG_FromInt((int)result
);
15983 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxImageList
*arg1
= (wxImageList
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self",(char *) "icon", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16000 if (arg2
== NULL
) {
16001 PyErr_SetString(PyExc_TypeError
,"null reference");
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= SWIG_FromInt((int)result
);
16018 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxImageList
*arg1
= (wxImageList
*) 0 ;
16022 wxBitmap
*arg3
= 0 ;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 PyObject
* obj2
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16034 arg2
= (int) SWIG_AsInt(obj1
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16036 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16039 if (arg3
== NULL
) {
16040 PyErr_SetString(PyExc_TypeError
,"null reference");
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16059 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxImageList
*arg1
= (wxImageList
*) 0 ;
16066 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16067 bool arg7
= (bool) (bool)False
;
16069 PyObject
* obj0
= 0 ;
16070 PyObject
* obj1
= 0 ;
16071 PyObject
* obj2
= 0 ;
16072 PyObject
* obj3
= 0 ;
16073 PyObject
* obj4
= 0 ;
16074 PyObject
* obj5
= 0 ;
16075 PyObject
* obj6
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16083 arg2
= (int) SWIG_AsInt(obj1
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16085 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16088 if (arg3
== NULL
) {
16089 PyErr_SetString(PyExc_TypeError
,"null reference");
16092 arg4
= (int) SWIG_AsInt(obj3
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16094 arg5
= (int) SWIG_AsInt(obj4
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16097 arg6
= (int) SWIG_AsInt(obj5
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 arg7
= (bool const) SWIG_AsBool(obj6
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16120 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxImageList
*arg1
= (wxImageList
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (int)(arg1
)->GetImageCount();
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= SWIG_FromInt((int)result
);
16146 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxImageList
*arg1
= (wxImageList
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "index", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 arg2
= (int) SWIG_AsInt(obj1
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (bool)(arg1
)->Remove(arg2
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxImageList
*arg1
= (wxImageList
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (bool)(arg1
)->RemoveAll();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16206 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxImageList
*arg1
= (wxImageList
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "index", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 arg2
= (int) SWIG_AsInt(obj1
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16237 resultobj
= t_output_helper(resultobj
,o
);
16240 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16241 resultobj
= t_output_helper(resultobj
,o
);
16249 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16252 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16254 return Py_BuildValue((char *)"");
16256 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16257 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16262 static PyObject
*_wrap_NORMAL_FONT_get() {
16265 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16270 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16271 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16276 static PyObject
*_wrap_SMALL_FONT_get() {
16279 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16284 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16285 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16290 static PyObject
*_wrap_ITALIC_FONT_get() {
16293 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16298 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16299 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16304 static PyObject
*_wrap_SWISS_FONT_get() {
16307 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16312 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16313 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16318 static PyObject
*_wrap_RED_PEN_get() {
16321 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16326 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16327 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16332 static PyObject
*_wrap_CYAN_PEN_get() {
16335 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16340 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16341 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16346 static PyObject
*_wrap_GREEN_PEN_get() {
16349 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16354 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16355 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16360 static PyObject
*_wrap_BLACK_PEN_get() {
16363 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16368 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16369 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16374 static PyObject
*_wrap_WHITE_PEN_get() {
16377 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16382 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16383 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16388 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16391 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16396 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16397 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16402 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16405 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16410 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16411 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16416 static PyObject
*_wrap_GREY_PEN_get() {
16419 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16424 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16425 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16430 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16433 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16438 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16439 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16444 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16447 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16452 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16453 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16458 static PyObject
*_wrap_BLUE_BRUSH_get() {
16461 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16466 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16467 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16472 static PyObject
*_wrap_GREEN_BRUSH_get() {
16475 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16480 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16481 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16486 static PyObject
*_wrap_WHITE_BRUSH_get() {
16489 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16494 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16495 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16500 static PyObject
*_wrap_BLACK_BRUSH_get() {
16503 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16508 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16509 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16514 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16517 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16522 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16523 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16528 static PyObject
*_wrap_CYAN_BRUSH_get() {
16531 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16536 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16537 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16542 static PyObject
*_wrap_RED_BRUSH_get() {
16545 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16550 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16551 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16556 static PyObject
*_wrap_GREY_BRUSH_get() {
16559 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16564 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16565 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16570 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16573 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16578 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16579 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16584 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16587 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16592 static int _wrap_BLACK_set(PyObject
*_val
) {
16593 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16598 static PyObject
*_wrap_BLACK_get() {
16601 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16606 static int _wrap_WHITE_set(PyObject
*_val
) {
16607 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16612 static PyObject
*_wrap_WHITE_get() {
16615 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16620 static int _wrap_RED_set(PyObject
*_val
) {
16621 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16626 static PyObject
*_wrap_RED_get() {
16629 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16634 static int _wrap_BLUE_set(PyObject
*_val
) {
16635 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16640 static PyObject
*_wrap_BLUE_get() {
16643 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16648 static int _wrap_GREEN_set(PyObject
*_val
) {
16649 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16654 static PyObject
*_wrap_GREEN_get() {
16657 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16662 static int _wrap_CYAN_set(PyObject
*_val
) {
16663 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16668 static PyObject
*_wrap_CYAN_get() {
16671 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16676 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16677 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16682 static PyObject
*_wrap_LIGHT_GREY_get() {
16685 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16690 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16691 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16696 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16699 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16704 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16705 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16710 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16713 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16718 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16719 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16724 static PyObject
*_wrap_CROSS_CURSOR_get() {
16727 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16732 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16733 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16738 static PyObject
*_wrap_NullBitmap_get() {
16741 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16746 static int _wrap_NullIcon_set(PyObject
*_val
) {
16747 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16752 static PyObject
*_wrap_NullIcon_get() {
16755 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16760 static int _wrap_NullCursor_set(PyObject
*_val
) {
16761 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16766 static PyObject
*_wrap_NullCursor_get() {
16769 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16774 static int _wrap_NullPen_set(PyObject
*_val
) {
16775 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16780 static PyObject
*_wrap_NullPen_get() {
16783 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16788 static int _wrap_NullBrush_set(PyObject
*_val
) {
16789 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16794 static PyObject
*_wrap_NullBrush_get() {
16797 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16802 static int _wrap_NullPalette_set(PyObject
*_val
) {
16803 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16808 static PyObject
*_wrap_NullPalette_get() {
16811 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16816 static int _wrap_NullFont_set(PyObject
*_val
) {
16817 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16822 static PyObject
*_wrap_NullFont_get() {
16825 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16830 static int _wrap_NullColour_set(PyObject
*_val
) {
16831 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16836 static PyObject
*_wrap_NullColour_get() {
16839 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16844 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 wxPenList
*arg1
= (wxPenList
*) 0 ;
16847 wxPen
*arg2
= (wxPen
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self",(char *) "pen", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 (arg1
)->AddPen(arg2
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 Py_INCREF(Py_None
); resultobj
= Py_None
;
16873 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxPenList
*arg1
= (wxPenList
*) 0 ;
16876 wxColour
*arg2
= 0 ;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 PyObject
* obj2
= 0 ;
16884 PyObject
* obj3
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16896 arg3
= (int) SWIG_AsInt(obj2
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16898 arg4
= (int) SWIG_AsInt(obj3
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
16914 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxPenList
*arg1
= (wxPenList
*) 0 ;
16917 wxPen
*arg2
= (wxPen
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self",(char *) "pen", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 (arg1
)->RemovePen(arg2
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 Py_INCREF(Py_None
); resultobj
= Py_None
;
16943 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxPenList
*arg1
= (wxPenList
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (int)(arg1
)->GetCount();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_FromInt((int)result
);
16969 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16972 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16974 return Py_BuildValue((char *)"");
16976 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16979 wxBrush
*arg2
= (wxBrush
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "self",(char *) "brush", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 (arg1
)->AddBrush(arg2
);
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 Py_INCREF(Py_None
); resultobj
= Py_None
;
17005 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17007 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17008 wxColour
*arg2
= 0 ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 PyObject
* obj2
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self",(char *) "colour",(char *) "style", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17026 arg3
= (int) SWIG_AsInt(obj2
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17042 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17045 wxBrush
*arg2
= (wxBrush
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self",(char *) "brush", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 (arg1
)->RemoveBrush(arg2
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 Py_INCREF(Py_None
); resultobj
= Py_None
;
17071 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (int)(arg1
)->GetCount();
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= SWIG_FromInt((int)result
);
17097 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17100 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17102 return Py_BuildValue((char *)"");
17104 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxColourDatabase
*result
;
17107 char *kwnames
[] = {
17111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (wxColourDatabase
*)new wxColourDatabase();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17126 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 Py_INCREF(Py_None
); resultobj
= Py_None
;
17151 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17154 wxString
*arg2
= 0 ;
17156 bool temp2
= False
;
17157 PyObject
* obj0
= 0 ;
17158 PyObject
* obj1
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self",(char *) "name", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17167 arg2
= wxString_in_helper(obj1
);
17168 if (arg2
== NULL
) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 wxColour
* resultptr
;
17180 resultptr
= new wxColour((wxColour
&) result
);
17181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17197 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17200 wxColour
*arg2
= 0 ;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self",(char *) "colour", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17236 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17239 wxString
*arg2
= 0 ;
17240 wxColour
*arg3
= 0 ;
17241 bool temp2
= False
;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 PyObject
* obj2
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self",(char *) "name",(char *) "colour", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17254 arg2
= wxString_in_helper(obj1
);
17255 if (arg2
== NULL
) SWIG_fail
;
17260 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 Py_INCREF(Py_None
); resultobj
= Py_None
;
17284 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17287 wxString
*arg2
= 0 ;
17291 bool temp2
= False
;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 PyObject
* obj2
= 0 ;
17295 PyObject
* obj3
= 0 ;
17296 PyObject
* obj4
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17305 arg2
= wxString_in_helper(obj1
);
17306 if (arg2
== NULL
) SWIG_fail
;
17309 arg3
= (int) SWIG_AsInt(obj2
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17311 arg4
= (int) SWIG_AsInt(obj3
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17313 arg5
= (int) SWIG_AsInt(obj4
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 Py_INCREF(Py_None
); resultobj
= Py_None
;
17337 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17340 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17342 return Py_BuildValue((char *)"");
17344 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxFontList
*arg1
= (wxFontList
*) 0 ;
17347 wxFont
*arg2
= (wxFont
*) 0 ;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self",(char *) "font", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 (arg1
)->AddFont(arg2
);
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 Py_INCREF(Py_None
); resultobj
= Py_None
;
17373 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxFontList
*arg1
= (wxFontList
*) 0 ;
17380 bool arg6
= (bool) False
;
17381 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17382 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17383 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17385 bool temp7
= False
;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 PyObject
* obj2
= 0 ;
17389 PyObject
* obj3
= 0 ;
17390 PyObject
* obj4
= 0 ;
17391 PyObject
* obj5
= 0 ;
17392 PyObject
* obj6
= 0 ;
17393 PyObject
* obj7
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 arg2
= (int) SWIG_AsInt(obj1
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17403 arg3
= (int) SWIG_AsInt(obj2
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17405 arg4
= (int) SWIG_AsInt(obj3
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17407 arg5
= (int) SWIG_AsInt(obj4
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 arg6
= (bool) SWIG_AsBool(obj5
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17415 arg7
= wxString_in_helper(obj6
);
17416 if (arg7
== NULL
) SWIG_fail
;
17421 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17446 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxFontList
*arg1
= (wxFontList
*) 0 ;
17449 wxFont
*arg2
= (wxFont
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 PyObject
* obj1
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "font", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->RemoveFont(arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 Py_INCREF(Py_None
); resultobj
= Py_None
;
17475 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxFontList
*arg1
= (wxFontList
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (int)(arg1
)->GetCount();
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= SWIG_FromInt((int)result
);
17501 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17504 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17506 return Py_BuildValue((char *)"");
17508 static int _wrap_TheFontList_set(PyObject
*_val
) {
17509 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17514 static PyObject
*_wrap_TheFontList_get() {
17517 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17522 static int _wrap_ThePenList_set(PyObject
*_val
) {
17523 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17528 static PyObject
*_wrap_ThePenList_get() {
17531 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17536 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17537 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17542 static PyObject
*_wrap_TheBrushList_get() {
17545 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17550 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17551 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17556 static PyObject
*_wrap_TheColourDatabase_get() {
17559 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17564 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17567 char *kwnames
[] = {
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (wxEffects
*)new wxEffects();
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17586 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxEffects
*arg1
= (wxEffects
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17606 wxColour
* resultptr
;
17607 resultptr
= new wxColour((wxColour
&) result
);
17608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17616 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxEffects
*arg1
= (wxEffects
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 wxColour
* resultptr
;
17637 resultptr
= new wxColour((wxColour
&) result
);
17638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17646 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxEffects
*arg1
= (wxEffects
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17666 wxColour
* resultptr
;
17667 resultptr
= new wxColour((wxColour
&) result
);
17668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17676 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxEffects
*arg1
= (wxEffects
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17696 wxColour
* resultptr
;
17697 resultptr
= new wxColour((wxColour
&) result
);
17698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17706 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxEffects
*arg1
= (wxEffects
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 wxColour
* resultptr
;
17727 resultptr
= new wxColour((wxColour
&) result
);
17728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17736 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxEffects
*arg1
= (wxEffects
*) 0 ;
17739 wxColour
*arg2
= 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "c", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17752 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 Py_INCREF(Py_None
); resultobj
= Py_None
;
17768 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxEffects
*arg1
= (wxEffects
*) 0 ;
17771 wxColour
*arg2
= 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "c", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17784 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxEffects
*arg1
= (wxEffects
*) 0 ;
17803 wxColour
*arg2
= 0 ;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "c", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 Py_INCREF(Py_None
); resultobj
= Py_None
;
17832 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxEffects
*arg1
= (wxEffects
*) 0 ;
17835 wxColour
*arg2
= 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "c", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17848 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 Py_INCREF(Py_None
); resultobj
= Py_None
;
17864 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxEffects
*arg1
= (wxEffects
*) 0 ;
17867 wxColour
*arg2
= 0 ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self",(char *) "c", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 Py_INCREF(Py_None
); resultobj
= Py_None
;
17896 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 wxEffects
*arg1
= (wxEffects
*) 0 ;
17899 wxColour
*arg2
= 0 ;
17900 wxColour
*arg3
= 0 ;
17901 wxColour
*arg4
= 0 ;
17902 wxColour
*arg5
= 0 ;
17903 wxColour
*arg6
= 0 ;
17909 PyObject
* obj0
= 0 ;
17910 PyObject
* obj1
= 0 ;
17911 PyObject
* obj2
= 0 ;
17912 PyObject
* obj3
= 0 ;
17913 PyObject
* obj4
= 0 ;
17914 PyObject
* obj5
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17928 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17932 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17936 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17940 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 Py_INCREF(Py_None
); resultobj
= Py_None
;
17956 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxEffects
*arg1
= (wxEffects
*) 0 ;
17961 int arg4
= (int) 1 ;
17963 PyObject
* obj0
= 0 ;
17964 PyObject
* obj1
= 0 ;
17965 PyObject
* obj2
= 0 ;
17966 PyObject
* obj3
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17977 if (arg2
== NULL
) {
17978 PyErr_SetString(PyExc_TypeError
,"null reference");
17983 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17986 arg4
= (int) SWIG_AsInt(obj3
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 Py_INCREF(Py_None
); resultobj
= Py_None
;
18003 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxEffects
*arg1
= (wxEffects
*) 0 ;
18008 wxBitmap
*arg4
= 0 ;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 PyObject
* obj2
= 0 ;
18014 PyObject
* obj3
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18024 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18026 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18029 if (arg3
== NULL
) {
18030 PyErr_SetString(PyExc_TypeError
,"null reference");
18033 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18036 if (arg4
== NULL
) {
18037 PyErr_SetString(PyExc_TypeError
,"null reference");
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18056 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18059 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18061 return Py_BuildValue((char *)"");
18063 static PyMethodDef SwigMethods
[] = {
18064 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18065 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18066 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18067 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18068 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18069 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18070 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18071 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18072 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18073 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18074 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18075 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18076 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18077 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18078 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18079 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18080 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18081 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18082 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18083 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18084 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18085 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18086 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18087 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18088 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18089 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18090 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18091 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18092 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18093 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18094 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18095 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18096 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18097 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18098 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18099 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18100 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18101 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18102 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18103 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18104 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18105 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18106 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18107 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18108 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18109 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18110 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18111 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18112 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18113 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18114 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18115 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18116 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18117 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18118 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18119 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18120 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18121 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18122 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18123 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18124 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18125 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18126 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18127 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18128 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18129 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18130 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18131 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18132 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18133 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18134 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18135 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18136 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18137 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18138 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18139 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18140 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18141 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18142 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18143 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18144 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18145 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18146 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18147 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18148 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18149 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18150 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18151 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18152 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18153 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18154 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18155 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18156 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18157 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18158 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18159 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18160 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18161 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18162 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18163 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18164 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18165 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18166 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18167 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18168 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18169 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18170 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18171 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18172 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18173 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18174 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18177 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18178 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18179 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18180 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18181 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18182 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18184 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18185 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18186 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18191 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18195 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18196 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18197 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18198 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18201 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18202 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18203 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18206 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18208 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18210 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18211 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18213 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18215 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18217 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18218 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18221 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18229 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18231 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18232 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18234 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18235 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18242 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18256 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18265 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18284 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18321 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18329 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18336 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18342 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18346 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18347 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18348 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18351 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18353 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18358 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18360 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18362 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18364 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18366 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18368 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18372 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18374 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18376 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18378 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18390 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18395 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18400 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18407 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18412 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18427 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18428 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18429 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18430 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18431 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18432 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18433 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18434 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18435 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18436 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18437 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18438 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18439 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18440 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18441 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18442 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18443 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18444 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18445 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18446 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18447 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18448 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18449 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18450 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18451 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18452 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18453 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18454 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18455 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18456 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18457 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18458 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18459 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18460 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18461 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18462 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18463 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18464 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18465 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18466 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18467 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18468 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18469 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18470 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18471 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18472 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18473 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18474 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18475 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18476 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18477 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18478 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18479 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18480 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18481 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18482 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18483 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18484 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18485 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18486 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18487 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18488 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18489 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18490 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18491 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18492 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18493 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18494 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18495 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18496 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18497 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18498 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18499 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18500 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18501 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18502 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18503 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18504 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18505 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18506 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18507 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18508 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18509 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18510 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18511 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18512 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18513 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18514 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18515 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18516 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18517 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18518 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18519 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18520 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18521 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18522 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18523 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18524 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18525 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18526 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18527 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18528 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18529 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18530 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18531 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18532 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18533 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18534 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18535 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18536 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18537 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18538 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18539 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18540 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18541 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18542 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18543 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18544 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18545 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18547 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18551 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18552 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18559 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18564 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18568 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18574 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18583 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18585 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18586 return (void *)((wxWindow
*) ((wxControl
*) x
));
18588 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18589 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18591 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18592 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18594 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18595 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18597 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18598 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18600 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18601 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18603 static void *_p_wxPenTo_p_wxObject(void *x
) {
18604 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18606 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18607 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18609 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18610 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18612 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18613 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18615 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18616 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18618 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18621 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18622 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18624 static void *_p_wxIconTo_p_wxObject(void *x
) {
18625 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18627 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18628 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18630 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18631 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18633 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18634 return (void *)((wxObject
*) ((wxSizer
*) x
));
18636 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18637 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18639 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18642 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18643 return (void *)((wxObject
*) ((wxPenList
*) x
));
18645 static void *_p_wxEventTo_p_wxObject(void *x
) {
18646 return (void *)((wxObject
*) ((wxEvent
*) x
));
18648 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18649 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18651 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18652 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18654 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18655 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18657 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18658 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18660 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18661 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18663 static void *_p_wxDCTo_p_wxObject(void *x
) {
18664 return (void *)((wxObject
*) ((wxDC
*) x
));
18666 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18667 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18669 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18670 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18672 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18673 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18675 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18676 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18678 static void *_p_wxControlTo_p_wxObject(void *x
) {
18679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18681 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18682 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18684 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18685 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18687 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18688 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18690 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18691 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18693 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18694 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18696 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18697 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18699 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18700 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18702 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18703 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18705 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18706 return (void *)((wxObject
*) ((wxEffects
*) x
));
18708 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18709 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18711 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18714 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18715 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18717 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18718 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18720 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18721 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18723 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18724 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18726 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18729 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18730 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18732 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18733 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18735 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18736 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18738 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18739 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18741 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18742 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18744 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18745 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18747 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18750 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18753 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18756 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18759 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18762 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18765 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18766 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18768 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18769 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18771 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18772 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18774 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18775 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18777 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18778 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18780 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18783 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18784 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18786 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18787 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18789 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18790 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18792 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18793 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18795 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18796 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18798 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18799 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18801 static void *_p_wxImageTo_p_wxObject(void *x
) {
18802 return (void *)((wxObject
*) ((wxImage
*) x
));
18804 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18805 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18807 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18808 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18810 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18811 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18813 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18814 return (void *)((wxObject
*) ((wxImageList
*) x
));
18816 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18817 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18819 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18820 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18822 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18823 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18825 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18828 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18829 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18831 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18832 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18834 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18835 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18837 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18840 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18843 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18844 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18846 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18847 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18849 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18850 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18852 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18853 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18855 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18856 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18858 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18859 return (void *)((wxObject
*) ((wxMask
*) x
));
18861 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18864 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18865 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18867 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18868 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18870 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18871 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18873 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18874 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18876 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18877 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18879 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18882 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18883 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18885 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18886 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18888 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18889 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18891 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18894 static void *_p_wxFontTo_p_wxObject(void *x
) {
18895 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18897 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18898 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18900 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18901 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18903 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18906 static void *_p_wxColourTo_p_wxObject(void *x
) {
18907 return (void *)((wxObject
*) ((wxColour
*) x
));
18909 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18910 return (void *)((wxObject
*) ((wxFontList
*) x
));
18912 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18915 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18916 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18918 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18919 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18921 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18922 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18924 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18925 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18927 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18928 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18930 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18931 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18933 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18934 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18936 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18937 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18939 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18940 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18942 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18943 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18945 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18946 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18948 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18949 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18951 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18952 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18954 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18955 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18957 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18958 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18960 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18961 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18963 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18964 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18966 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18967 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18969 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18970 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18972 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18973 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18975 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18976 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18978 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18979 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18981 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18982 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18984 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}};
18985 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}};
18986 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}};
18987 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}};
18988 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}};
18989 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}};
18990 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}};
18991 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}};
18992 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}};
18993 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}};
18994 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}};
18995 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}};
18996 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}};
18997 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}};
18998 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}};
18999 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}};
19000 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}};
19001 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}};
19002 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}};
19003 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}};
19004 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}};
19005 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}};
19006 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}};
19007 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}};
19008 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}};
19009 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}};
19010 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}};
19011 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}};
19012 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}};
19013 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}};
19014 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}};
19015 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}};
19016 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}};
19017 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}};
19018 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}};
19019 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}};
19020 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}};
19021 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}};
19022 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}};
19023 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}};
19024 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}};
19025 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}};
19026 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}};
19027 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}};
19028 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}};
19029 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}};
19030 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}};
19031 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}};
19032 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}};
19033 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}};
19034 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}};
19035 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}};
19036 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}};
19037 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}};
19038 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}};
19039 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}};
19041 static swig_type_info
*swig_types_initial
[] = {
19042 _swigt__p_wxPostScriptDC
,
19044 _swigt__p_wxColour
,
19046 _swigt__p_wxMirrorDC
,
19048 _swigt__p_wxPyFontEnumerator
,
19050 _swigt__p_wxIconLocation
,
19052 _swigt__p_wxMetaFileDC
,
19055 _swigt__p_wxWindow
,
19058 _swigt__p_wxMemoryDC
,
19059 _swigt__p_wxFontMapper
,
19060 _swigt__p_wxEffects
,
19061 _swigt__p_wxNativeEncodingInfo
,
19062 _swigt__p_wxPalette
,
19063 _swigt__p_wxBitmap
,
19064 _swigt__p_wxObject
,
19065 _swigt__p_wxRegionIterator
,
19067 _swigt__p_wxString
,
19068 _swigt__p_wxPrinterDC
,
19069 _swigt__p_wxIconBundle
,
19072 _swigt__p_wxScreenDC
,
19073 _swigt__p_wxCursor
,
19074 _swigt__p_wxClientDC
,
19075 _swigt__p_wxBufferedDC
,
19076 _swigt__p_wxImageList
,
19077 _swigt__p_unsigned_char
,
19078 _swigt__p_wxGDIObject
,
19080 _swigt__p_wxLocale
,
19081 _swigt__p_wxRegion
,
19082 _swigt__p_wxLanguageInfo
,
19083 _swigt__p_wxConfigBase
,
19084 _swigt__p_wxWindowDC
,
19085 _swigt__p_wxPrintData
,
19086 _swigt__p_wxBrushList
,
19087 _swigt__p_wxFontList
,
19089 _swigt__p_wxBufferedPaintDC
,
19090 _swigt__p_wxPaintDC
,
19091 _swigt__p_wxPenList
,
19094 _swigt__p_wxMetaFile
,
19095 _swigt__p_wxNativeFontInfo
,
19096 _swigt__p_wxEncodingConverter
,
19097 _swigt__p_wxColourDatabase
,
19102 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19104 static swig_const_info swig_const_table
[] = {
19114 SWIGEXPORT(void) SWIG_init(void) {
19115 static PyObject
*SWIG_globals
= 0;
19116 static int typeinit
= 0;
19119 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19120 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19121 d
= PyModule_GetDict(m
);
19124 for (i
= 0; swig_types_initial
[i
]; i
++) {
19125 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19129 SWIG_InstallConstants(d
,swig_const_table
);
19131 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19132 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19133 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19134 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19135 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19136 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19137 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19138 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19139 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19140 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19141 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19142 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19143 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19144 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19145 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19146 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19147 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19148 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19149 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19150 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19151 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19152 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19153 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19154 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19155 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19156 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19157 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19158 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19159 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19160 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19161 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19162 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19163 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19164 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19165 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19166 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19167 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19168 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19169 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19170 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19171 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19172 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19173 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19174 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19175 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19176 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19177 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19178 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19179 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19180 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19181 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19182 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19183 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19184 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19185 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19186 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19187 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19188 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19189 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19190 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19191 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19192 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19193 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19194 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19195 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19196 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19197 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19198 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19199 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19200 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19201 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19202 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19203 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19204 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19205 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19206 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19207 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19208 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19209 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19210 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19211 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19212 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19213 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19214 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19215 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19216 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19217 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19218 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19219 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19220 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19221 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19222 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19223 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19224 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19225 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19226 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19227 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19228 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19229 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19230 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19231 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19232 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19233 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19234 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19235 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19236 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19237 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19238 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19239 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19240 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19241 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19242 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19243 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19244 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19245 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19246 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19247 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19248 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19249 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19250 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19251 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19252 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19253 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19254 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19255 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19256 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19258 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19260 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19261 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19262 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19263 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19264 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19265 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19266 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19267 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19268 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19269 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19270 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19271 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19272 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19273 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19274 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19275 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19276 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19277 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19278 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19279 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19280 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19281 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19282 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19283 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19284 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19285 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19286 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19287 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19288 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19289 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19290 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19291 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19292 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19293 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19294 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19295 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19296 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19297 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19298 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19299 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19300 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19301 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19302 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19303 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19304 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19305 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19306 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19307 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19308 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19309 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19310 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19311 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19312 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19313 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19314 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19315 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19316 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19317 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19318 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19319 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19320 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19321 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19322 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19323 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19324 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19325 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19326 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19327 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19328 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19329 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19330 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19331 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19332 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19333 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19334 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19335 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19336 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19337 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19338 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19339 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19340 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19341 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19342 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19343 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19344 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19345 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19346 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19347 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19348 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19349 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19350 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19351 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19352 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19353 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19354 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19355 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19356 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19357 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19358 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19359 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19360 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19361 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19362 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19363 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19364 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19365 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19366 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19367 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19368 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19369 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19370 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19371 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19372 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19373 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19374 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19375 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19376 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19377 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19378 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19379 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19380 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19381 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19382 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19383 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19384 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19385 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19386 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19387 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19388 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19389 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19390 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19391 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19392 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19393 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19394 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19395 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19396 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19397 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19398 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19399 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19400 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19401 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19402 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19403 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19404 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19405 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19406 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19407 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19408 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19409 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19410 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19411 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19412 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19413 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19414 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19415 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19416 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19417 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19418 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19419 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19420 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19421 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19422 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19423 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19424 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19425 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19426 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19427 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19428 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19429 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19430 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19431 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19432 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19433 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19434 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19435 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19436 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19437 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19438 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19439 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19440 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19441 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19442 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19443 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19444 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19445 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19446 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19447 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19448 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19449 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19450 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19451 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19452 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19453 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19454 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19455 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19456 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19457 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19458 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19459 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19460 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19461 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19462 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19463 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19464 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19465 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19466 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19467 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19468 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19469 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19470 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19471 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19472 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19473 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19474 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19475 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19476 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19477 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19478 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19479 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19480 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19481 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19482 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19483 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19484 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19485 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19486 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19487 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19488 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19489 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19490 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19491 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19492 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19493 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19494 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19495 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19496 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19497 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19498 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19499 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19500 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19501 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19502 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19503 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19504 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19505 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19506 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19507 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19508 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19509 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19510 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19511 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19512 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19513 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19514 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19515 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19516 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19517 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19518 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19519 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19520 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19521 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19522 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19523 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19524 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19525 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19526 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19527 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19528 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19529 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19530 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19531 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19532 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19533 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19534 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19535 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19536 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19537 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19538 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19539 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19540 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19541 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19542 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19543 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19544 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19545 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19546 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19547 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19548 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19549 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19550 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19551 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19552 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19553 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19554 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19555 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19556 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19557 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19558 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19559 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19561 // Work around a chicken/egg problem in drawlist.cpp
19562 wxPyDrawList_SetAPIPtr();