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 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();
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
;
1015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1022 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
*resultobj
;
1024 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1026 PyObject
* obj0
= 0 ;
1027 PyObject
* obj1
= 0 ;
1029 (char *) "self",(char *) "visible", NULL
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1035 arg2
= (bool) SWIG_AsBool(obj1
);
1036 if (PyErr_Occurred()) SWIG_fail
;
1038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1039 (arg1
)->SetVisible(arg2
);
1041 wxPyEndAllowThreads(__tstate
);
1042 if (PyErr_Occurred()) SWIG_fail
;
1044 Py_INCREF(Py_None
); resultobj
= Py_None
;
1051 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
*resultobj
;
1053 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1055 PyObject
* obj0
= 0 ;
1057 (char *) "self", NULL
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1065 result
= (bool)(arg1
)->IsNull();
1067 wxPyEndAllowThreads(__tstate
);
1068 if (PyErr_Occurred()) SWIG_fail
;
1070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1077 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
1079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1080 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1082 return Py_BuildValue((char *)"");
1084 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
*resultobj
;
1086 unsigned char arg1
= (unsigned char) 0 ;
1087 unsigned char arg2
= (unsigned char) 0 ;
1088 unsigned char arg3
= (unsigned char) 0 ;
1090 PyObject
* obj0
= 0 ;
1091 PyObject
* obj1
= 0 ;
1092 PyObject
* obj2
= 0 ;
1094 (char *) "red",(char *) "green",(char *) "blue", NULL
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1099 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1103 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1107 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1108 if (PyErr_Occurred()) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1124 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
*resultobj
;
1126 wxString
*arg1
= 0 ;
1128 bool temp1
= False
;
1129 PyObject
* obj0
= 0 ;
1131 (char *) "colorName", NULL
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1136 arg1
= wxString_in_helper(obj0
);
1137 if (arg1
== NULL
) SWIG_fail
;
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) SWIG_fail
;
1147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1162 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
*resultobj
;
1164 unsigned long arg1
;
1166 PyObject
* obj0
= 0 ;
1168 (char *) "colRGB", NULL
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1172 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1173 if (PyErr_Occurred()) SWIG_fail
;
1175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1176 result
= (wxColour
*)new wxColour(arg1
);
1178 wxPyEndAllowThreads(__tstate
);
1179 if (PyErr_Occurred()) SWIG_fail
;
1181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1188 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
*resultobj
;
1190 wxColour
*arg1
= (wxColour
*) 0 ;
1191 PyObject
* obj0
= 0 ;
1193 (char *) "self", NULL
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1203 wxPyEndAllowThreads(__tstate
);
1204 if (PyErr_Occurred()) SWIG_fail
;
1206 Py_INCREF(Py_None
); resultobj
= Py_None
;
1213 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
*resultobj
;
1215 wxColour
*arg1
= (wxColour
*) 0 ;
1216 unsigned char result
;
1217 PyObject
* obj0
= 0 ;
1219 (char *) "self", NULL
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 result
= (unsigned char)(arg1
)->Red();
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1232 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1239 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
*resultobj
;
1241 wxColour
*arg1
= (wxColour
*) 0 ;
1242 unsigned char result
;
1243 PyObject
* obj0
= 0 ;
1245 (char *) "self", NULL
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 result
= (unsigned char)(arg1
)->Green();
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1258 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1265 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
*resultobj
;
1267 wxColour
*arg1
= (wxColour
*) 0 ;
1268 unsigned char result
;
1269 PyObject
* obj0
= 0 ;
1271 (char *) "self", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 result
= (unsigned char)(arg1
)->Blue();
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1284 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1291 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
*resultobj
;
1293 wxColour
*arg1
= (wxColour
*) 0 ;
1295 PyObject
* obj0
= 0 ;
1297 (char *) "self", NULL
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 result
= (bool)(arg1
)->Ok();
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) SWIG_fail
;
1310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1317 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
*resultobj
;
1319 wxColour
*arg1
= (wxColour
*) 0 ;
1320 unsigned char arg2
;
1321 unsigned char arg3
;
1322 unsigned char arg4
;
1323 PyObject
* obj0
= 0 ;
1324 PyObject
* obj1
= 0 ;
1325 PyObject
* obj2
= 0 ;
1326 PyObject
* obj3
= 0 ;
1328 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1334 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1335 if (PyErr_Occurred()) SWIG_fail
;
1336 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1338 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1339 if (PyErr_Occurred()) SWIG_fail
;
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 (arg1
)->Set(arg2
,arg3
,arg4
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1347 Py_INCREF(Py_None
); resultobj
= Py_None
;
1354 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
*resultobj
;
1356 wxColour
*arg1
= (wxColour
*) 0 ;
1357 unsigned long arg2
;
1358 PyObject
* obj0
= 0 ;
1359 PyObject
* obj1
= 0 ;
1361 (char *) "self",(char *) "colRGB", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1367 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 wxPyEndAllowThreads(__tstate
);
1374 if (PyErr_Occurred()) SWIG_fail
;
1376 Py_INCREF(Py_None
); resultobj
= Py_None
;
1383 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
*resultobj
;
1385 wxColour
*arg1
= (wxColour
*) 0 ;
1386 wxString
*arg2
= 0 ;
1387 bool temp2
= False
;
1388 PyObject
* obj0
= 0 ;
1389 PyObject
* obj1
= 0 ;
1391 (char *) "self",(char *) "colourName", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1398 arg2
= wxString_in_helper(obj1
);
1399 if (arg2
== NULL
) SWIG_fail
;
1403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1404 (arg1
)->InitFromName((wxString
const &)*arg2
);
1406 wxPyEndAllowThreads(__tstate
);
1407 if (PyErr_Occurred()) SWIG_fail
;
1409 Py_INCREF(Py_None
); resultobj
= Py_None
;
1424 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
*resultobj
;
1426 wxColour
*arg1
= (wxColour
*) 0 ;
1428 PyObject
* obj0
= 0 ;
1430 (char *) "self", NULL
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1443 resultobj
= SWIG_FromLong((long)result
);
1450 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
*resultobj
;
1452 wxColour
*arg1
= (wxColour
*) 0 ;
1453 wxColour
*arg2
= 0 ;
1456 PyObject
* obj0
= 0 ;
1457 PyObject
* obj1
= 0 ;
1459 (char *) "self",(char *) "colour", NULL
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1483 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
*resultobj
;
1485 wxColour
*arg1
= (wxColour
*) 0 ;
1486 wxColour
*arg2
= 0 ;
1489 PyObject
* obj0
= 0 ;
1490 PyObject
* obj1
= 0 ;
1492 (char *) "self",(char *) "colour", NULL
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) SWIG_fail
;
1509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1516 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
*resultobj
;
1518 wxColour
*arg1
= (wxColour
*) 0 ;
1520 PyObject
* obj0
= 0 ;
1522 (char *) "self", NULL
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1530 result
= (PyObject
*)wxColour_Get(arg1
);
1532 wxPyEndAllowThreads(__tstate
);
1533 if (PyErr_Occurred()) SWIG_fail
;
1542 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
*resultobj
;
1544 wxColour
*arg1
= (wxColour
*) 0 ;
1545 unsigned long result
;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "self", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 result
= (unsigned long)wxColour_GetRGB(arg1
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1561 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1568 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1571 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1573 return Py_BuildValue((char *)"");
1575 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
*resultobj
;
1578 unsigned char *arg2
= (unsigned char *) 0 ;
1579 unsigned char *arg3
= (unsigned char *) 0 ;
1580 unsigned char *arg4
= (unsigned char *) 0 ;
1582 PyObject
* obj0
= 0 ;
1583 PyObject
* obj1
= 0 ;
1584 PyObject
* obj2
= 0 ;
1585 PyObject
* obj3
= 0 ;
1587 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1591 arg1
= (int) SWIG_AsInt(obj0
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1595 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1597 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1613 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxPalette
*arg1
= (wxPalette
*) 0 ;
1616 PyObject
* obj0
= 0 ;
1618 (char *) "self", NULL
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 Py_INCREF(Py_None
); resultobj
= Py_None
;
1638 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxPalette
*arg1
= (wxPalette
*) 0 ;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1647 PyObject
* obj2
= 0 ;
1648 PyObject
* obj3
= 0 ;
1650 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1656 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1658 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1660 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1661 if (PyErr_Occurred()) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1669 resultobj
= SWIG_FromInt((int)result
);
1676 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxPalette
*arg1
= (wxPalette
*) 0 ;
1680 byte
*arg3
= (byte
*) 0 ;
1681 byte
*arg4
= (byte
*) 0 ;
1682 byte
*arg5
= (byte
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1688 PyObject
* obj1
= 0 ;
1690 (char *) "self",(char *) "pixel", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1699 arg2
= (int) SWIG_AsInt(obj1
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1710 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1711 resultobj
= t_output_helper(resultobj
,o
);
1714 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1715 resultobj
= t_output_helper(resultobj
,o
);
1718 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1719 resultobj
= t_output_helper(resultobj
,o
);
1727 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxPalette
*arg1
= (wxPalette
*) 0 ;
1731 PyObject
* obj0
= 0 ;
1733 (char *) "self", NULL
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 result
= (bool)(arg1
)->Ok();
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1753 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1756 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1758 return Py_BuildValue((char *)"");
1760 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxColour
*arg1
= 0 ;
1763 int arg2
= (int) 1 ;
1764 int arg3
= (int) wxSOLID
;
1767 PyObject
* obj0
= 0 ;
1768 PyObject
* obj1
= 0 ;
1769 PyObject
* obj2
= 0 ;
1771 (char *) "colour",(char *) "width",(char *) "style", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1777 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1780 arg2
= (int) SWIG_AsInt(obj1
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1784 arg3
= (int) SWIG_AsInt(obj2
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1801 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
*resultobj
;
1803 wxPen
*arg1
= (wxPen
*) 0 ;
1804 PyObject
* obj0
= 0 ;
1806 (char *) "self", NULL
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1819 Py_INCREF(Py_None
); resultobj
= Py_None
;
1826 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
*resultobj
;
1828 wxPen
*arg1
= (wxPen
*) 0 ;
1830 PyObject
* obj0
= 0 ;
1832 (char *) "self", NULL
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 result
= (int)(arg1
)->GetCap();
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 resultobj
= SWIG_FromInt((int)result
);
1852 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxPen
*arg1
= (wxPen
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "self", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (arg1
)->GetColour();
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1872 wxColour
* resultptr
;
1873 resultptr
= new wxColour((wxColour
&) result
);
1874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1882 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1884 wxPen
*arg1
= (wxPen
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1888 (char *) "self", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (int)(arg1
)->GetJoin();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 resultobj
= SWIG_FromInt((int)result
);
1908 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxPen
*arg1
= (wxPen
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (int)(arg1
)->GetStyle();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_FromInt((int)result
);
1934 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxPen
*arg1
= (wxPen
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 result
= (int)(arg1
)->GetWidth();
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 resultobj
= SWIG_FromInt((int)result
);
1960 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxPen
*arg1
= (wxPen
*) 0 ;
1964 PyObject
* obj0
= 0 ;
1966 (char *) "self", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 result
= (bool)(arg1
)->Ok();
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) SWIG_fail
;
1979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1986 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
*resultobj
;
1988 wxPen
*arg1
= (wxPen
*) 0 ;
1990 PyObject
* obj0
= 0 ;
1991 PyObject
* obj1
= 0 ;
1993 (char *) "self",(char *) "cap_style", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1999 arg2
= (int) SWIG_AsInt(obj1
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 (arg1
)->SetCap(arg2
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 Py_INCREF(Py_None
); resultobj
= Py_None
;
2015 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
*resultobj
;
2017 wxPen
*arg1
= (wxPen
*) 0 ;
2018 wxColour
*arg2
= 0 ;
2020 PyObject
* obj0
= 0 ;
2021 PyObject
* obj1
= 0 ;
2023 (char *) "self",(char *) "colour", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 (arg1
)->SetColour(*arg2
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 Py_INCREF(Py_None
); resultobj
= Py_None
;
2047 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxPen
*arg1
= (wxPen
*) 0 ;
2051 PyObject
* obj0
= 0 ;
2052 PyObject
* obj1
= 0 ;
2054 (char *) "self",(char *) "join_style", NULL
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2060 arg2
= (int) SWIG_AsInt(obj1
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 (arg1
)->SetJoin(arg2
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxPen
*arg1
= (wxPen
*) 0 ;
2080 PyObject
* obj0
= 0 ;
2081 PyObject
* obj1
= 0 ;
2083 (char *) "self",(char *) "style", NULL
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2089 arg2
= (int) SWIG_AsInt(obj1
);
2090 if (PyErr_Occurred()) SWIG_fail
;
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 (arg1
)->SetStyle(arg2
);
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) SWIG_fail
;
2098 Py_INCREF(Py_None
); resultobj
= Py_None
;
2105 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
*resultobj
;
2107 wxPen
*arg1
= (wxPen
*) 0 ;
2109 PyObject
* obj0
= 0 ;
2110 PyObject
* obj1
= 0 ;
2112 (char *) "self",(char *) "width", NULL
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2118 arg2
= (int) SWIG_AsInt(obj1
);
2119 if (PyErr_Occurred()) SWIG_fail
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 (arg1
)->SetWidth(arg2
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 Py_INCREF(Py_None
); resultobj
= Py_None
;
2134 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxPen
*arg1
= (wxPen
*) 0 ;
2138 wxDash
*arg3
= (wxDash
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2140 PyObject
* obj1
= 0 ;
2142 (char *) "self",(char *) "dashes", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2149 arg2
= PyList_Size(obj1
);
2150 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2151 if (arg3
== NULL
) SWIG_fail
;
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 (arg1
)->SetDashes(arg2
,arg3
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 Py_INCREF(Py_None
); resultobj
= Py_None
;
2162 if (arg3
) delete [] arg3
;
2167 if (arg3
) delete [] arg3
;
2173 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 wxPen
*arg1
= (wxPen
*) 0 ;
2177 PyObject
* obj0
= 0 ;
2179 (char *) "self", NULL
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2199 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
*resultobj
;
2201 wxPen
*arg1
= (wxPen
*) 0 ;
2202 wxPen
*arg2
= (wxPen
*) 0 ;
2204 PyObject
* obj0
= 0 ;
2205 PyObject
* obj1
= 0 ;
2207 (char *) "self",(char *) "other", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2229 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxPen
*arg1
= (wxPen
*) 0 ;
2232 wxPen
*arg2
= (wxPen
*) 0 ;
2234 PyObject
* obj0
= 0 ;
2235 PyObject
* obj1
= 0 ;
2237 (char *) "self",(char *) "other", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2259 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxPen
*arg1
= (wxPen
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2278 resultobj
= SWIG_FromInt((int)result
);
2285 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2288 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2290 return Py_BuildValue((char *)"");
2292 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
*resultobj
;
2294 wxColour
*arg1
= 0 ;
2295 int arg2
= (int) 1 ;
2296 int arg3
= (int) wxSOLID
;
2299 PyObject
* obj0
= 0 ;
2300 PyObject
* obj1
= 0 ;
2301 PyObject
* obj2
= 0 ;
2303 (char *) "colour",(char *) "width",(char *) "style", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2309 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2312 arg2
= (int) SWIG_AsInt(obj1
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2316 arg3
= (int) SWIG_AsInt(obj2
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2333 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2336 PyObject
* obj0
= 0 ;
2338 (char *) "self", NULL
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2351 Py_INCREF(Py_None
); resultobj
= Py_None
;
2358 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
;
2360 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2362 wxDash
*arg3
= (wxDash
*) 0 ;
2363 PyObject
* obj0
= 0 ;
2364 PyObject
* obj1
= 0 ;
2366 (char *) "self",(char *) "dashes", NULL
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2373 arg2
= PyList_Size(obj1
);
2374 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2375 if (arg3
== NULL
) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 (arg1
)->SetDashes(arg2
,arg3
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 Py_INCREF(Py_None
); resultobj
= Py_None
;
2386 if (arg3
) delete [] arg3
;
2391 if (arg3
) delete [] arg3
;
2397 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2400 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2402 return Py_BuildValue((char *)"");
2404 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxColour
*arg1
= 0 ;
2407 int arg2
= (int) wxSOLID
;
2410 PyObject
* obj0
= 0 ;
2411 PyObject
* obj1
= 0 ;
2413 (char *) "colour",(char *) "style", NULL
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2419 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2422 arg2
= (int) SWIG_AsInt(obj1
);
2423 if (PyErr_Occurred()) SWIG_fail
;
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2439 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
*resultobj
;
2441 wxBrush
*arg1
= (wxBrush
*) 0 ;
2442 PyObject
* obj0
= 0 ;
2444 (char *) "self", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2457 Py_INCREF(Py_None
); resultobj
= Py_None
;
2464 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
*resultobj
;
2466 wxBrush
*arg1
= (wxBrush
*) 0 ;
2467 wxColour
*arg2
= 0 ;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2472 (char *) "self",(char *) "col", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2480 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 (arg1
)->SetColour((wxColour
const &)*arg2
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2489 Py_INCREF(Py_None
); resultobj
= Py_None
;
2496 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 wxBrush
*arg1
= (wxBrush
*) 0 ;
2500 PyObject
* obj0
= 0 ;
2501 PyObject
* obj1
= 0 ;
2503 (char *) "self",(char *) "style", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2509 arg2
= (int) SWIG_AsInt(obj1
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 (arg1
)->SetStyle(arg2
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 Py_INCREF(Py_None
); resultobj
= Py_None
;
2525 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 wxBrush
*arg1
= (wxBrush
*) 0 ;
2528 wxBitmap
*arg2
= 0 ;
2529 PyObject
* obj0
= 0 ;
2530 PyObject
* obj1
= 0 ;
2532 (char *) "self",(char *) "stipple", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2542 PyErr_SetString(PyExc_TypeError
,"null reference");
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2552 Py_INCREF(Py_None
); resultobj
= Py_None
;
2559 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2561 wxBrush
*arg1
= (wxBrush
*) 0 ;
2563 PyObject
* obj0
= 0 ;
2565 (char *) "self", NULL
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 result
= ((wxBrush
const *)arg1
)->GetColour();
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2579 wxColour
* resultptr
;
2580 resultptr
= new wxColour((wxColour
&) result
);
2581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2589 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 wxBrush
*arg1
= (wxBrush
*) 0 ;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "self", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 resultobj
= SWIG_FromInt((int)result
);
2615 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxBrush
*arg1
= (wxBrush
*) 0 ;
2619 PyObject
* obj0
= 0 ;
2621 (char *) "self", NULL
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2641 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxBrush
*arg1
= (wxBrush
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2647 (char *) "self", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 result
= (bool)(arg1
)->Ok();
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2667 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2670 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2672 return Py_BuildValue((char *)"");
2674 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxString
*arg1
= 0 ;
2677 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2679 bool temp1
= False
;
2680 PyObject
* obj0
= 0 ;
2681 PyObject
* obj1
= 0 ;
2683 (char *) "name",(char *) "type", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2688 arg1
= wxString_in_helper(obj0
);
2689 if (arg1
== NULL
) SWIG_fail
;
2693 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2718 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
*resultobj
;
2720 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2721 PyObject
* obj0
= 0 ;
2723 (char *) "self", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 Py_INCREF(Py_None
); resultobj
= Py_None
;
2743 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2747 int arg3
= (int) -1 ;
2749 PyObject
* obj0
= 0 ;
2750 PyObject
* obj1
= 0 ;
2751 PyObject
* obj2
= 0 ;
2753 (char *) "width",(char *) "height",(char *) "depth", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2757 arg1
= (int) SWIG_AsInt(obj0
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2759 arg2
= (int) SWIG_AsInt(obj1
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 arg3
= (int) SWIG_AsInt(obj2
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2779 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "icon", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2793 PyErr_SetString(PyExc_TypeError
,"null reference");
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2810 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2813 int arg2
= (int) -1 ;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2818 (char *) "image",(char *) "depth", NULL
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2826 PyErr_SetString(PyExc_TypeError
,"null reference");
2830 arg2
= (int) SWIG_AsInt(obj1
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2847 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 PyObject
*arg1
= (PyObject
*) 0 ;
2851 PyObject
* obj0
= 0 ;
2853 (char *) "listOfStrings", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2872 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 PyObject
*arg1
= (PyObject
*) 0 ;
2877 int arg4
= (int) 1 ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2881 PyObject
* obj2
= 0 ;
2882 PyObject
* obj3
= 0 ;
2884 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2889 arg2
= (int) SWIG_AsInt(obj1
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2891 arg3
= (int) SWIG_AsInt(obj2
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2894 arg4
= (int) SWIG_AsInt(obj3
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2911 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2915 PyObject
* obj0
= 0 ;
2917 (char *) "self", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (bool)(arg1
)->Ok();
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2937 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2939 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2941 PyObject
* obj0
= 0 ;
2943 (char *) "self", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 result
= (int)(arg1
)->GetWidth();
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 resultobj
= SWIG_FromInt((int)result
);
2963 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2967 PyObject
* obj0
= 0 ;
2969 (char *) "self", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 result
= (int)(arg1
)->GetHeight();
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2982 resultobj
= SWIG_FromInt((int)result
);
2989 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
*resultobj
;
2991 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2993 PyObject
* obj0
= 0 ;
2995 (char *) "self", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 result
= (int)(arg1
)->GetDepth();
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3008 resultobj
= SWIG_FromInt((int)result
);
3015 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3018 SwigValueWrapper
< wxImage
> result
;
3019 PyObject
* obj0
= 0 ;
3021 (char *) "self", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3035 wxImage
* resultptr
;
3036 resultptr
= new wxImage((wxImage
&) result
);
3037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3045 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
*resultobj
;
3047 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3051 (char *) "self", NULL
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3071 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
*resultobj
;
3073 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3074 wxMask
*arg2
= (wxMask
*) 0 ;
3075 PyObject
* obj0
= 0 ;
3076 PyObject
* obj1
= 0 ;
3078 (char *) "self",(char *) "mask", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 (arg1
)->SetMask(arg2
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 Py_INCREF(Py_None
); resultobj
= Py_None
;
3100 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3103 wxColour
*arg2
= 0 ;
3105 PyObject
* obj0
= 0 ;
3106 PyObject
* obj1
= 0 ;
3108 (char *) "self",(char *) "colour", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3116 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 Py_INCREF(Py_None
); resultobj
= Py_None
;
3132 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3136 SwigValueWrapper
< wxBitmap
> result
;
3138 PyObject
* obj0
= 0 ;
3139 PyObject
* obj1
= 0 ;
3141 (char *) "self",(char *) "rect", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3149 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3159 wxBitmap
* resultptr
;
3160 resultptr
= new wxBitmap((wxBitmap
&) result
);
3161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3169 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3172 wxString
*arg2
= 0 ;
3174 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3176 bool temp2
= False
;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3179 PyObject
* obj2
= 0 ;
3180 PyObject
* obj3
= 0 ;
3182 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3189 arg2
= wxString_in_helper(obj1
);
3190 if (arg2
== NULL
) SWIG_fail
;
3193 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3221 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3224 wxString
*arg2
= 0 ;
3227 bool temp2
= False
;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3230 PyObject
* obj2
= 0 ;
3232 (char *) "self",(char *) "name",(char *) "type", NULL
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3239 arg2
= wxString_in_helper(obj1
);
3240 if (arg2
== NULL
) SWIG_fail
;
3243 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3267 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3272 PyObject
* obj0
= 0 ;
3273 PyObject
* obj1
= 0 ;
3275 (char *) "self",(char *) "icon", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3285 PyErr_SetString(PyExc_TypeError
,"null reference");
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3302 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3307 PyObject
* obj1
= 0 ;
3309 (char *) "self",(char *) "height", NULL
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 arg2
= (int) SWIG_AsInt(obj1
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 (arg1
)->SetHeight(arg2
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3336 PyObject
* obj1
= 0 ;
3338 (char *) "self",(char *) "width", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 arg2
= (int) SWIG_AsInt(obj1
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 (arg1
)->SetWidth(arg2
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3364 PyObject
* obj0
= 0 ;
3365 PyObject
* obj1
= 0 ;
3367 (char *) "self",(char *) "depth", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 arg2
= (int) SWIG_AsInt(obj1
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 (arg1
)->SetDepth(arg2
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_Bitmap___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3392 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "self",(char *) "other", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3419 static PyObject
*_wrap_Bitmap___ne__(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___ne__",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___ne__(arg1
,(wxBitmap
const *)arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3449 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3452 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3454 return Py_BuildValue((char *)"");
3456 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxBitmap
*arg1
= 0 ;
3459 wxColour
const &arg2_defvalue
= wxNullColour
;
3460 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3463 PyObject
* obj0
= 0 ;
3464 PyObject
* obj1
= 0 ;
3466 (char *) "bitmap",(char *) "colour", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3474 PyErr_SetString(PyExc_TypeError
,"null reference");
3480 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3497 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3500 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3502 return Py_BuildValue((char *)"");
3504 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxString
*arg1
= 0 ;
3508 int arg3
= (int) -1 ;
3509 int arg4
= (int) -1 ;
3511 bool temp1
= False
;
3512 PyObject
* obj0
= 0 ;
3513 PyObject
* obj1
= 0 ;
3514 PyObject
* obj2
= 0 ;
3515 PyObject
* obj3
= 0 ;
3517 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3522 arg1
= wxString_in_helper(obj0
);
3523 if (arg1
== NULL
) SWIG_fail
;
3526 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 arg3
= (int) SWIG_AsInt(obj2
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3533 arg4
= (int) SWIG_AsInt(obj3
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3558 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxIcon
*arg1
= (wxIcon
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3563 (char *) "self", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3583 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (wxIcon
*)new wxIcon();
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3605 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 wxIconLocation
*arg1
= 0 ;
3609 PyObject
* obj0
= 0 ;
3611 (char *) "loc", NULL
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3619 PyErr_SetString(PyExc_TypeError
,"null reference");
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3636 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3638 wxBitmap
*arg1
= 0 ;
3640 PyObject
* obj0
= 0 ;
3642 (char *) "bmp", NULL
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3650 PyErr_SetString(PyExc_TypeError
,"null reference");
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3667 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 PyObject
*arg1
= (PyObject
*) 0 ;
3671 PyObject
* obj0
= 0 ;
3673 (char *) "listOfStrings", NULL
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 result
= (wxIcon
*)new_wxIcon(arg1
);
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3692 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3694 wxIcon
*arg1
= (wxIcon
*) 0 ;
3695 wxString
*arg2
= 0 ;
3698 bool temp2
= False
;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3701 PyObject
* obj2
= 0 ;
3703 (char *) "self",(char *) "name",(char *) "type", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3710 arg2
= wxString_in_helper(obj1
);
3711 if (arg2
== NULL
) SWIG_fail
;
3714 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3738 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxIcon
*arg1
= (wxIcon
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3744 (char *) "self", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (bool)(arg1
)->Ok();
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3764 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxIcon
*arg1
= (wxIcon
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3770 (char *) "self", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= (int)(arg1
)->GetWidth();
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 resultobj
= SWIG_FromInt((int)result
);
3790 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxIcon
*arg1
= (wxIcon
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3796 (char *) "self", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (int)(arg1
)->GetHeight();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_FromInt((int)result
);
3816 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxIcon
*arg1
= (wxIcon
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (int)(arg1
)->GetDepth();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_FromInt((int)result
);
3842 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxIcon
*arg1
= (wxIcon
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "w", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3855 arg2
= (int) SWIG_AsInt(obj1
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 (arg1
)->SetWidth(arg2
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxIcon
*arg1
= (wxIcon
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "h", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3884 arg2
= (int) SWIG_AsInt(obj1
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 (arg1
)->SetHeight(arg2
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxIcon
*arg1
= (wxIcon
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "d", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3913 arg2
= (int) SWIG_AsInt(obj1
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 (arg1
)->SetDepth(arg2
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxIcon
*arg1
= (wxIcon
*) 0 ;
3932 wxBitmap
*arg2
= 0 ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3936 (char *) "self",(char *) "bmp", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3946 PyErr_SetString(PyExc_TypeError
,"null reference");
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 Py_INCREF(Py_None
); resultobj
= Py_None
;
3963 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3966 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3968 return Py_BuildValue((char *)"");
3970 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3973 int arg2
= (int) 0 ;
3974 wxIconLocation
*result
;
3975 bool temp1
= False
;
3976 PyObject
* obj0
= 0 ;
3977 PyObject
* obj1
= 0 ;
3979 (char *) "filename",(char *) "num", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3985 arg1
= wxString_in_helper(obj0
);
3986 if (arg1
== NULL
) SWIG_fail
;
3991 arg2
= (int) SWIG_AsInt(obj1
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4016 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4019 PyObject
* obj0
= 0 ;
4021 (char *) "self", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 Py_INCREF(Py_None
); resultobj
= Py_None
;
4041 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
;
4043 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "self", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4067 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4070 wxString
*arg2
= 0 ;
4071 bool temp2
= False
;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4075 (char *) "self",(char *) "filename", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4082 arg2
= wxString_in_helper(obj1
);
4083 if (arg2
== NULL
) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 (arg1
)->SetFileName((wxString
const &)*arg2
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 Py_INCREF(Py_None
); resultobj
= Py_None
;
4108 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4112 PyObject
* obj0
= 0 ;
4114 (char *) "self", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4124 result
= (wxString
*) &_result_ref
;
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4143 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4145 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4147 PyObject
* obj0
= 0 ;
4148 PyObject
* obj1
= 0 ;
4150 (char *) "self",(char *) "num", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4156 arg2
= (int) SWIG_AsInt(obj1
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 wxIconLocation_SetIndex(arg1
,arg2
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 Py_INCREF(Py_None
); resultobj
= Py_None
;
4172 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4178 (char *) "self", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (int)wxIconLocation_GetIndex(arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_FromInt((int)result
);
4198 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4201 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4203 return Py_BuildValue((char *)"");
4205 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxIconBundle
*result
;
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (wxIconBundle
*)new wxIconBundle();
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4227 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
;
4229 wxString
*arg1
= 0 ;
4231 wxIconBundle
*result
;
4232 bool temp1
= False
;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4236 (char *) "file",(char *) "type", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4241 arg1
= wxString_in_helper(obj0
);
4242 if (arg1
== NULL
) SWIG_fail
;
4245 arg2
= (long) SWIG_AsLong(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4269 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4272 wxIconBundle
*result
;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "icon", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4283 PyErr_SetString(PyExc_TypeError
,"null reference");
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4300 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4303 PyObject
* obj0
= 0 ;
4305 (char *) "self", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 Py_INCREF(Py_None
); resultobj
= Py_None
;
4325 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4329 PyObject
* obj0
= 0 ;
4330 PyObject
* obj1
= 0 ;
4332 (char *) "self",(char *) "icon", NULL
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4342 PyErr_SetString(PyExc_TypeError
,"null reference");
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 Py_INCREF(Py_None
); resultobj
= Py_None
;
4359 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4362 wxString
*arg2
= 0 ;
4364 bool temp2
= False
;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4367 PyObject
* obj2
= 0 ;
4369 (char *) "self",(char *) "file",(char *) "type", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4376 arg2
= wxString_in_helper(obj1
);
4377 if (arg2
== NULL
) SWIG_fail
;
4380 arg3
= (long) SWIG_AsLong(obj2
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 Py_INCREF(Py_None
); resultobj
= Py_None
;
4404 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
;
4406 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4413 (char *) "self",(char *) "size", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4421 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4427 result
= (wxIcon
*) &_result_ref
;
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4434 wxIcon
* resultptr
= new wxIcon(*result
);
4435 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4443 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4446 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4448 return Py_BuildValue((char *)"");
4450 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxString
*arg1
= (wxString
*) 0 ;
4454 int arg3
= (int) 0 ;
4455 int arg4
= (int) 0 ;
4457 bool temp1
= False
;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 PyObject
* obj2
= 0 ;
4461 PyObject
* obj3
= 0 ;
4463 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4468 arg1
= wxString_in_helper(obj0
);
4469 if (arg1
== NULL
) SWIG_fail
;
4472 arg2
= (long) SWIG_AsLong(obj1
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 arg3
= (int) SWIG_AsInt(obj2
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4479 arg4
= (int) SWIG_AsInt(obj3
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4504 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxCursor
*arg1
= (wxCursor
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "self", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4533 PyObject
* obj0
= 0 ;
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4539 arg1
= (int) SWIG_AsInt(obj0
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= (wxCursor
*)new wxCursor(arg1
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4555 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "image", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4569 PyErr_SetString(PyExc_TypeError
,"null reference");
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4586 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 wxCursor
*arg1
= (wxCursor
*) 0 ;
4590 PyObject
* obj0
= 0 ;
4592 (char *) "self", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (bool)(arg1
)->Ok();
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4612 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4615 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4617 return Py_BuildValue((char *)"");
4619 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 int arg1
= (int) 0 ;
4622 int arg2
= (int) 0 ;
4623 int arg3
= (int) 0 ;
4624 int arg4
= (int) 0 ;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4628 PyObject
* obj2
= 0 ;
4629 PyObject
* obj3
= 0 ;
4631 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4636 arg1
= (int) SWIG_AsInt(obj0
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 arg2
= (int) SWIG_AsInt(obj1
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 arg3
= (int) SWIG_AsInt(obj2
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 arg4
= (int) SWIG_AsInt(obj3
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4665 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxBitmap
*arg1
= 0 ;
4668 wxColour
const &arg2_defvalue
= wxNullColour
;
4669 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4670 int arg3
= (int) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4677 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4685 PyErr_SetString(PyExc_TypeError
,"null reference");
4691 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4695 arg3
= (int) SWIG_AsInt(obj2
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4712 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4715 wxPoint
*arg2
= (wxPoint
*) 0 ;
4716 int arg3
= (int) wxWINDING_RULE
;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4721 (char *) "points",(char *) "fillStyle", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4726 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4727 if (arg2
== NULL
) SWIG_fail
;
4730 arg3
= (int) SWIG_AsInt(obj1
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4742 if (arg2
) delete [] arg2
;
4747 if (arg2
) delete [] arg2
;
4753 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxRegion
*arg1
= (wxRegion
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "self", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 Py_INCREF(Py_None
); resultobj
= Py_None
;
4778 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxRegion
*arg1
= (wxRegion
*) 0 ;
4781 PyObject
* obj0
= 0 ;
4783 (char *) "self", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 Py_INCREF(Py_None
); resultobj
= Py_None
;
4803 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
;
4805 wxRegion
*arg1
= (wxRegion
*) 0 ;
4809 PyObject
* obj0
= 0 ;
4810 PyObject
* obj1
= 0 ;
4811 PyObject
* obj2
= 0 ;
4813 (char *) "self",(char *) "x",(char *) "y", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4819 arg2
= (int) SWIG_AsInt(obj1
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4821 arg3
= (int) SWIG_AsInt(obj2
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4837 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxRegion
*arg1
= (wxRegion
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4845 PyObject
* obj2
= 0 ;
4847 (char *) "self",(char *) "x",(char *) "y", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4853 arg2
= (int) SWIG_AsInt(obj1
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4855 arg3
= (int) SWIG_AsInt(obj2
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_FromInt((int)result
);
4871 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxRegion
*arg1
= (wxRegion
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4880 (char *) "self",(char *) "pt", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_FromInt((int)result
);
4904 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxRegion
*arg1
= (wxRegion
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4913 (char *) "self",(char *) "rect", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_FromInt((int)result
);
4937 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxRegion
*arg1
= (wxRegion
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4947 PyObject
* obj2
= 0 ;
4948 PyObject
* obj3
= 0 ;
4949 PyObject
* obj4
= 0 ;
4951 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4957 arg2
= (int) SWIG_AsInt(obj1
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4959 arg3
= (int) SWIG_AsInt(obj2
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4961 arg4
= (int) SWIG_AsInt(obj3
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4963 arg5
= (int) SWIG_AsInt(obj4
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_FromInt((int)result
);
4979 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxRegion
*arg1
= (wxRegion
*) 0 ;
4983 PyObject
* obj0
= 0 ;
4985 (char *) "self", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (arg1
)->GetBox();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
5000 resultptr
= new wxRect((wxRect
&) result
);
5001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5009 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRegion
*arg1
= (wxRegion
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5018 PyObject
* obj1
= 0 ;
5019 PyObject
* obj2
= 0 ;
5020 PyObject
* obj3
= 0 ;
5021 PyObject
* obj4
= 0 ;
5023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 arg2
= (int) SWIG_AsInt(obj1
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5031 arg3
= (int) SWIG_AsInt(obj2
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5033 arg4
= (int) SWIG_AsInt(obj3
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5035 arg5
= (int) SWIG_AsInt(obj4
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxRegion
*arg1
= (wxRegion
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5060 (char *) "self",(char *) "rect", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5068 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5084 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxRegion
*arg1
= (wxRegion
*) 0 ;
5087 wxRegion
*arg2
= 0 ;
5089 PyObject
* obj0
= 0 ;
5090 PyObject
* obj1
= 0 ;
5092 (char *) "self",(char *) "region", NULL
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5102 PyErr_SetString(PyExc_TypeError
,"null reference");
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5119 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5121 wxRegion
*arg1
= (wxRegion
*) 0 ;
5123 PyObject
* obj0
= 0 ;
5125 (char *) "self", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (bool)(arg1
)->IsEmpty();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5145 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 wxRegion
*arg1
= (wxRegion
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5155 PyObject
* obj2
= 0 ;
5156 PyObject
* obj3
= 0 ;
5157 PyObject
* obj4
= 0 ;
5159 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5165 arg2
= (int) SWIG_AsInt(obj1
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5167 arg3
= (int) SWIG_AsInt(obj2
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5169 arg4
= (int) SWIG_AsInt(obj3
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5171 arg5
= (int) SWIG_AsInt(obj4
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5187 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxRegion
*arg1
= (wxRegion
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "rect", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5220 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxRegion
*arg1
= (wxRegion
*) 0 ;
5223 wxRegion
*arg2
= 0 ;
5225 PyObject
* obj0
= 0 ;
5226 PyObject
* obj1
= 0 ;
5228 (char *) "self",(char *) "region", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5238 PyErr_SetString(PyExc_TypeError
,"null reference");
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5255 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxRegion
*arg1
= (wxRegion
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5265 PyObject
* obj2
= 0 ;
5266 PyObject
* obj3
= 0 ;
5267 PyObject
* obj4
= 0 ;
5269 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 arg2
= (int) SWIG_AsInt(obj1
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5277 arg3
= (int) SWIG_AsInt(obj2
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5279 arg4
= (int) SWIG_AsInt(obj3
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5281 arg5
= (int) SWIG_AsInt(obj4
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5297 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxRegion
*arg1
= (wxRegion
*) 0 ;
5303 PyObject
* obj0
= 0 ;
5304 PyObject
* obj1
= 0 ;
5306 (char *) "self",(char *) "rect", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5314 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5330 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxRegion
*arg1
= (wxRegion
*) 0 ;
5333 wxRegion
*arg2
= 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "region", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5348 PyErr_SetString(PyExc_TypeError
,"null reference");
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5365 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxRegion
*arg1
= (wxRegion
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5375 PyObject
* obj2
= 0 ;
5376 PyObject
* obj3
= 0 ;
5377 PyObject
* obj4
= 0 ;
5379 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5385 arg2
= (int) SWIG_AsInt(obj1
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5387 arg3
= (int) SWIG_AsInt(obj2
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5389 arg4
= (int) SWIG_AsInt(obj3
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5391 arg5
= (int) SWIG_AsInt(obj4
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5407 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxRegion
*arg1
= (wxRegion
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5416 (char *) "self",(char *) "rect", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5440 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxRegion
*arg1
= (wxRegion
*) 0 ;
5443 wxRegion
*arg2
= 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "region", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5458 PyErr_SetString(PyExc_TypeError
,"null reference");
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5475 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxRegion
*arg1
= (wxRegion
*) 0 ;
5478 SwigValueWrapper
< wxBitmap
> result
;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "self", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (arg1
)->ConvertToBitmap();
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5495 wxBitmap
* resultptr
;
5496 resultptr
= new wxBitmap((wxBitmap
&) result
);
5497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5505 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxRegion
*arg1
= (wxRegion
*) 0 ;
5508 wxBitmap
*arg2
= 0 ;
5509 wxColour
const &arg3_defvalue
= wxNullColour
;
5510 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5511 int arg4
= (int) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 PyObject
* obj2
= 0 ;
5517 PyObject
* obj3
= 0 ;
5519 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5529 PyErr_SetString(PyExc_TypeError
,"null reference");
5535 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5539 arg4
= (int) SWIG_AsInt(obj3
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5556 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5559 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5561 return Py_BuildValue((char *)"");
5563 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxRegion
*arg1
= 0 ;
5566 wxRegionIterator
*result
;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "region", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5577 PyErr_SetString(PyExc_TypeError
,"null reference");
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5594 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5599 (char *) "self", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5625 (char *) "self", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (int)(arg1
)->GetX();
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= SWIG_FromInt((int)result
);
5645 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5649 PyObject
* obj0
= 0 ;
5651 (char *) "self", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= (int)(arg1
)->GetY();
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_FromInt((int)result
);
5671 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5677 (char *) "self", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (int)(arg1
)->GetW();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_FromInt((int)result
);
5697 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5703 (char *) "self", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (int)(arg1
)->GetWidth();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_FromInt((int)result
);
5723 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5727 PyObject
* obj0
= 0 ;
5729 (char *) "self", NULL
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= (int)(arg1
)->GetH();
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= SWIG_FromInt((int)result
);
5749 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5753 PyObject
* obj0
= 0 ;
5755 (char *) "self", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (int)(arg1
)->GetHeight();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= SWIG_FromInt((int)result
);
5775 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5781 (char *) "self", NULL
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (arg1
)->GetRect();
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5796 resultptr
= new wxRect((wxRect
&) result
);
5797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5805 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5811 (char *) "self", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 result
= (bool)(arg1
)->HaveRects();
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5831 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5834 PyObject
* obj0
= 0 ;
5836 (char *) "self", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5861 (char *) "self", NULL
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 wxRegionIterator_Next(arg1
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 Py_INCREF(Py_None
); resultobj
= Py_None
;
5881 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5887 (char *) "self", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5907 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5910 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5912 return Py_BuildValue((char *)"");
5914 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxNativeFontInfo
*result
;
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
5936 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5938 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "self", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 Py_INCREF(Py_None
); resultobj
= Py_None
;
5961 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5986 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5993 (char *) "self",(char *) "font", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
5998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6003 PyErr_SetString(PyExc_TypeError
,"null reference");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6026 (char *) "self", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_FromInt((int)result
);
6046 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "self", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_FromInt((int)result
);
6072 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "self", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_FromInt((int)result
);
6098 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6124 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6156 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "self", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_FromInt((int)result
);
6182 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6188 (char *) "self", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_FromInt((int)result
);
6208 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6215 (char *) "self",(char *) "pointsize", NULL
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6221 arg2
= (int) SWIG_AsInt(obj1
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 (arg1
)->SetPointSize(arg2
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 Py_INCREF(Py_None
); resultobj
= Py_None
;
6237 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6239 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6244 (char *) "self",(char *) "style", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6250 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 Py_INCREF(Py_None
); resultobj
= Py_None
;
6266 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "self",(char *) "weight", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 Py_INCREF(Py_None
); resultobj
= Py_None
;
6295 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6302 (char *) "self",(char *) "underlined", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 arg2
= (bool) SWIG_AsBool(obj1
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 (arg1
)->SetUnderlined(arg2
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 Py_INCREF(Py_None
); resultobj
= Py_None
;
6324 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6331 (char *) "self",(char *) "facename", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 wxString
* sptr
= wxString_in_helper(obj1
);
6339 if (sptr
== NULL
) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 (arg1
)->SetFaceName(arg2
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 Py_INCREF(Py_None
); resultobj
= Py_None
;
6357 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6362 PyObject
* obj1
= 0 ;
6364 (char *) "self",(char *) "family", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 Py_INCREF(Py_None
); resultobj
= Py_None
;
6386 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6393 (char *) "self",(char *) "encoding", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6399 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 Py_INCREF(Py_None
); resultobj
= Py_None
;
6415 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6418 wxString
*arg2
= 0 ;
6420 bool temp2
= False
;
6421 PyObject
* obj0
= 0 ;
6422 PyObject
* obj1
= 0 ;
6424 (char *) "self",(char *) "s", NULL
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6431 arg2
= wxString_in_helper(obj1
);
6432 if (arg2
== NULL
) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "self", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6489 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= wxNativeFontInfo___str__(arg1
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6521 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6524 wxString
*arg2
= 0 ;
6526 bool temp2
= False
;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6530 (char *) "self",(char *) "s", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6537 arg2
= wxString_in_helper(obj1
);
6538 if (arg2
== NULL
) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6563 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6567 PyObject
* obj0
= 0 ;
6569 (char *) "self", NULL
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6595 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6598 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6600 return Py_BuildValue((char *)"");
6602 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6605 wxString
*arg2
= (wxString
*) 0 ;
6606 bool temp2
= False
;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6610 (char *) "self",(char *) "facename", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 arg2
= wxString_in_helper(obj1
);
6618 if (arg2
== NULL
) SWIG_fail
;
6621 if (arg1
) (arg1
)->facename
= *arg2
;
6623 Py_INCREF(Py_None
); resultobj
= Py_None
;
6638 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6644 (char *) "self", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 result
= (wxString
*)& ((arg1
)->facename
);
6654 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6656 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6665 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6669 PyObject
* obj0
= 0 ;
6670 PyObject
* obj1
= 0 ;
6672 (char *) "self",(char *) "encoding", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6680 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6682 Py_INCREF(Py_None
); resultobj
= Py_None
;
6689 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6695 (char *) "self", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6701 result
= (int) ((arg1
)->encoding
);
6703 resultobj
= SWIG_FromInt((int)result
);
6710 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxNativeEncodingInfo
*result
;
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6732 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6737 (char *) "self", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 Py_INCREF(Py_None
); resultobj
= Py_None
;
6757 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6760 wxString
*arg2
= 0 ;
6762 bool temp2
= False
;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6766 (char *) "self",(char *) "s", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6773 arg2
= wxString_in_helper(obj1
);
6774 if (arg2
== NULL
) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6799 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "self", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6831 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6834 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6836 return Py_BuildValue((char *)"");
6838 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6841 wxNativeEncodingInfo
*result
;
6842 PyObject
* obj0
= 0 ;
6844 (char *) "encoding", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6848 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6864 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxNativeEncodingInfo
*arg1
= 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "info", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6878 PyErr_SetString(PyExc_TypeError
,"null reference");
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6895 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
;
6897 wxFontMapper
*result
;
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxFontMapper
*)new wxFontMapper();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
6917 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 Py_INCREF(Py_None
); resultobj
= Py_None
;
6942 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxFontMapper
*result
;
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (wxFontMapper
*)wxFontMapper::Get();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6964 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6967 wxFontMapper
*result
;
6968 PyObject
* obj0
= 0 ;
6970 (char *) "mapper", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
6975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
6990 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6993 wxString
*arg2
= 0 ;
6994 bool arg3
= (bool) True
;
6996 bool temp2
= False
;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
6999 PyObject
* obj2
= 0 ;
7001 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 arg2
= wxString_in_helper(obj1
);
7009 if (arg2
== NULL
) SWIG_fail
;
7013 arg3
= (bool) SWIG_AsBool(obj2
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= SWIG_FromInt((int)result
);
7038 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7060 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7064 PyObject
* obj0
= 0 ;
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7070 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (int)wxFontMapper::GetEncoding(arg1
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_FromInt((int)result
);
7086 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "encoding", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7096 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7118 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7122 PyObject
* obj0
= 0 ;
7124 (char *) "encoding", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7128 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7150 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7153 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7157 (char *) "self",(char *) "config", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 (arg1
)->SetConfig(arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 Py_INCREF(Py_None
); resultobj
= Py_None
;
7179 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7182 wxString
*arg2
= 0 ;
7183 bool temp2
= False
;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7187 (char *) "self",(char *) "prefix", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7194 arg2
= wxString_in_helper(obj1
);
7195 if (arg2
== NULL
) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= wxFontMapper::GetDefaultConfigPath();
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7248 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7254 bool arg4
= (bool) True
;
7256 bool temp3
= False
;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7259 PyObject
* obj2
= 0 ;
7260 PyObject
* obj3
= 0 ;
7262 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7268 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 arg3
= wxString_in_helper(obj2
);
7273 if (arg3
== NULL
) SWIG_fail
;
7278 arg4
= (bool) SWIG_AsBool(obj3
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7303 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7307 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7308 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7310 bool temp3
= False
;
7311 PyObject
* obj0
= 0 ;
7312 PyObject
* obj1
= 0 ;
7313 PyObject
* obj2
= 0 ;
7315 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7321 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7325 arg3
= wxString_in_helper(obj2
);
7326 if (arg3
== NULL
) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7352 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7355 wxWindow
*arg2
= (wxWindow
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7357 PyObject
* obj1
= 0 ;
7359 (char *) "self",(char *) "parent", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 (arg1
)->SetDialogParent(arg2
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7384 wxString
*arg2
= 0 ;
7385 bool temp2
= False
;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7389 (char *) "self",(char *) "title", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 arg2
= wxString_in_helper(obj1
);
7397 if (arg2
== NULL
) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7425 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7427 return Py_BuildValue((char *)"");
7429 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7435 bool arg5
= (bool) False
;
7436 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7437 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7438 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7440 bool temp6
= False
;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7443 PyObject
* obj2
= 0 ;
7444 PyObject
* obj3
= 0 ;
7445 PyObject
* obj4
= 0 ;
7446 PyObject
* obj5
= 0 ;
7447 PyObject
* obj6
= 0 ;
7449 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7453 arg1
= (int) SWIG_AsInt(obj0
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7455 arg2
= (int) SWIG_AsInt(obj1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7457 arg3
= (int) SWIG_AsInt(obj2
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7459 arg4
= (int) SWIG_AsInt(obj3
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 arg5
= (bool) SWIG_AsBool(obj4
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7467 arg6
= wxString_in_helper(obj5
);
7468 if (arg6
== NULL
) SWIG_fail
;
7473 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7498 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxFont
*arg1
= (wxFont
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7503 (char *) "self", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 Py_INCREF(Py_None
); resultobj
= Py_None
;
7523 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxNativeFontInfo
*arg1
= 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "info", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7537 PyErr_SetString(PyExc_TypeError
,"null reference");
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7554 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxString
*arg1
= 0 ;
7558 bool temp1
= False
;
7559 PyObject
* obj0
= 0 ;
7561 (char *) "info", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7566 arg1
= wxString_in_helper(obj0
);
7567 if (arg1
== NULL
) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7592 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7596 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7599 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7601 bool temp4
= False
;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7604 PyObject
* obj2
= 0 ;
7605 PyObject
* obj3
= 0 ;
7606 PyObject
* obj4
= 0 ;
7608 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7612 arg1
= (int) SWIG_AsInt(obj0
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7614 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 arg3
= (int) SWIG_AsInt(obj2
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7622 arg4
= wxString_in_helper(obj3
);
7623 if (arg4
== NULL
) SWIG_fail
;
7628 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7653 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxFont
*arg1
= (wxFont
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7659 (char *) "self", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)((wxFont
const *)arg1
)->Ok();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7679 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxFont
*arg1
= (wxFont
*) 0 ;
7682 wxFont
*arg2
= (wxFont
*) 0 ;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7687 (char *) "self",(char *) "other", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7709 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxFont
*arg1
= (wxFont
*) 0 ;
7712 wxFont
*arg2
= (wxFont
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "other", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7739 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxFont
*arg1
= (wxFont
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_FromInt((int)result
);
7765 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxFont
*arg1
= (wxFont
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7771 (char *) "self", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_FromInt((int)result
);
7791 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxFont
*arg1
= (wxFont
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7797 (char *) "self", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_FromInt((int)result
);
7817 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxFont
*arg1
= (wxFont
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_FromInt((int)result
);
7843 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxFont
*arg1
= (wxFont
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7869 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxFont
*arg1
= (wxFont
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= ((wxFont
const *)arg1
)->GetFaceName();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7901 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxFont
*arg1
= (wxFont
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7907 (char *) "self", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= SWIG_FromInt((int)result
);
7927 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxFont
*arg1
= (wxFont
*) 0 ;
7930 wxNativeFontInfo
*result
;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
7953 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxFont
*arg1
= (wxFont
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7959 (char *) "self", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7979 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
;
7981 wxFont
*arg1
= (wxFont
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7985 (char *) "self", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8011 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxFont
*arg1
= (wxFont
*) 0 ;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "self", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8043 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxFont
*arg1
= (wxFont
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8048 PyObject
* obj1
= 0 ;
8050 (char *) "self",(char *) "pointSize", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8056 arg2
= (int) SWIG_AsInt(obj1
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->SetPointSize(arg2
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxFont
*arg1
= (wxFont
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8079 (char *) "self",(char *) "family", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 arg2
= (int) SWIG_AsInt(obj1
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 (arg1
)->SetFamily(arg2
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxFont
*arg1
= (wxFont
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8108 (char *) "self",(char *) "style", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8114 arg2
= (int) SWIG_AsInt(obj1
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 (arg1
)->SetStyle(arg2
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 Py_INCREF(Py_None
); resultobj
= Py_None
;
8130 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxFont
*arg1
= (wxFont
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8137 (char *) "self",(char *) "weight", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 arg2
= (int) SWIG_AsInt(obj1
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 (arg1
)->SetWeight(arg2
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8159 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxFont
*arg1
= (wxFont
*) 0 ;
8162 wxString
*arg2
= 0 ;
8163 bool temp2
= False
;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8167 (char *) "self",(char *) "faceName", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8174 arg2
= wxString_in_helper(obj1
);
8175 if (arg2
== NULL
) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 Py_INCREF(Py_None
); resultobj
= Py_None
;
8200 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxFont
*arg1
= (wxFont
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8207 (char *) "self",(char *) "underlined", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 arg2
= (bool) SWIG_AsBool(obj1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 (arg1
)->SetUnderlined(arg2
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 Py_INCREF(Py_None
); resultobj
= Py_None
;
8229 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxFont
*arg1
= (wxFont
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8234 PyObject
* obj1
= 0 ;
8236 (char *) "self",(char *) "encoding", NULL
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8258 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxFont
*arg1
= (wxFont
*) 0 ;
8261 wxNativeFontInfo
*arg2
= 0 ;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8265 (char *) "self",(char *) "info", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8275 PyErr_SetString(PyExc_TypeError
,"null reference");
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8292 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxFont
*arg1
= (wxFont
*) 0 ;
8295 wxString
*arg2
= 0 ;
8296 bool temp2
= False
;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8300 (char *) "self",(char *) "info", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 arg2
= wxString_in_helper(obj1
);
8308 if (arg2
== NULL
) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 Py_INCREF(Py_None
); resultobj
= Py_None
;
8333 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxFont
*arg1
= (wxFont
*) 0 ;
8336 wxString
*arg2
= 0 ;
8337 bool temp2
= False
;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8341 (char *) "self",(char *) "info", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 arg2
= wxString_in_helper(obj1
);
8349 if (arg2
== NULL
) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8374 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxFont
*arg1
= (wxFont
*) 0 ;
8378 PyObject
* obj0
= 0 ;
8380 (char *) "self", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8406 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxFont
*arg1
= (wxFont
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= ((wxFont
const *)arg1
)->GetStyleString();
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8438 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxFont
*arg1
= (wxFont
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= ((wxFont
const *)arg1
)->GetWeightString();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8470 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxFont
*arg1
= (wxFont
*) 0 ;
8473 bool arg2
= (bool) True
;
8474 PyObject
* obj0
= 0 ;
8475 PyObject
* obj1
= 0 ;
8477 (char *) "self",(char *) "no", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 arg2
= (bool) SWIG_AsBool(obj1
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 (arg1
)->SetNoAntiAliasing(arg2
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 Py_INCREF(Py_None
); resultobj
= Py_None
;
8501 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxFont
*arg1
= (wxFont
*) 0 ;
8505 PyObject
* obj0
= 0 ;
8507 (char *) "self", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= (bool)(arg1
)->GetNoAntiAliasing();
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8527 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (int)wxFont::GetDefaultEncoding();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_FromInt((int)result
);
8549 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "encoding", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8558 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 Py_INCREF(Py_None
); resultobj
= Py_None
;
8574 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8579 return Py_BuildValue((char *)"");
8581 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxPyFontEnumerator
*result
;
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8603 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 Py_INCREF(Py_None
); resultobj
= Py_None
;
8628 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8631 PyObject
*arg2
= (PyObject
*) 0 ;
8632 PyObject
*arg3
= (PyObject
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8636 PyObject
* obj2
= 0 ;
8637 PyObject
* obj3
= 0 ;
8639 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 arg4
= (bool) SWIG_AsBool(obj3
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 Py_INCREF(Py_None
); resultobj
= Py_None
;
8663 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8666 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8667 bool arg3
= (bool) False
;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8671 PyObject
* obj2
= 0 ;
8673 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8680 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8684 arg3
= (bool) SWIG_AsBool(obj2
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8701 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8704 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8705 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8707 bool temp2
= False
;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8711 (char *) "self",(char *) "facename", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8719 arg2
= wxString_in_helper(obj1
);
8720 if (arg2
== NULL
) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8746 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8750 PyObject
* obj0
= 0 ;
8752 (char *) "self", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8772 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8776 PyObject
* obj0
= 0 ;
8778 (char *) "self", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8798 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8801 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8803 return Py_BuildValue((char *)"");
8805 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8812 (char *) "self",(char *) "Language", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8818 arg2
= (int) SWIG_AsInt(obj1
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8820 if (arg1
) (arg1
)->Language
= arg2
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 result
= (int) ((arg1
)->Language
);
8843 resultobj
= SWIG_FromInt((int)result
);
8850 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8853 wxString
*arg2
= (wxString
*) 0 ;
8854 bool temp2
= False
;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8858 (char *) "self",(char *) "CanonicalName", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8865 arg2
= wxString_in_helper(obj1
);
8866 if (arg2
== NULL
) SWIG_fail
;
8869 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8886 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8892 (char *) "self", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8898 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8902 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8904 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8913 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8916 wxString
*arg2
= (wxString
*) 0 ;
8917 bool temp2
= False
;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8921 (char *) "self",(char *) "Description", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8928 arg2
= wxString_in_helper(obj1
);
8929 if (arg2
== NULL
) SWIG_fail
;
8932 if (arg1
) (arg1
)->Description
= *arg2
;
8934 Py_INCREF(Py_None
); resultobj
= Py_None
;
8949 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8953 PyObject
* obj0
= 0 ;
8955 (char *) "self", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
8960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 result
= (wxString
*)& ((arg1
)->Description
);
8965 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8967 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8976 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8979 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8981 return Py_BuildValue((char *)"");
8983 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8986 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8988 PyObject
* obj0
= 0 ;
8989 PyObject
* obj1
= 0 ;
8991 (char *) "language",(char *) "flags", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8996 arg1
= (int) SWIG_AsInt(obj0
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 arg2
= (int) SWIG_AsInt(obj1
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9017 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxLocale
*arg1
= (wxLocale
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9022 (char *) "self", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxLocale
*arg1
= (wxLocale
*) 0 ;
9045 wxString
*arg2
= 0 ;
9046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9050 bool arg5
= (bool) True
;
9051 bool arg6
= (bool) False
;
9053 bool temp2
= False
;
9054 bool temp3
= False
;
9055 bool temp4
= False
;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9058 PyObject
* obj2
= 0 ;
9059 PyObject
* obj3
= 0 ;
9060 PyObject
* obj4
= 0 ;
9061 PyObject
* obj5
= 0 ;
9063 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9070 arg2
= wxString_in_helper(obj1
);
9071 if (arg2
== NULL
) SWIG_fail
;
9076 arg3
= wxString_in_helper(obj2
);
9077 if (arg3
== NULL
) SWIG_fail
;
9083 arg4
= wxString_in_helper(obj3
);
9084 if (arg4
== NULL
) SWIG_fail
;
9089 arg5
= (bool) SWIG_AsBool(obj4
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9093 arg6
= (bool) SWIG_AsBool(obj5
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9134 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxLocale
*arg1
= (wxLocale
*) 0 ;
9137 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9138 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9140 PyObject
* obj0
= 0 ;
9141 PyObject
* obj1
= 0 ;
9142 PyObject
* obj2
= 0 ;
9144 (char *) "self",(char *) "language",(char *) "flags", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9151 arg2
= (int) SWIG_AsInt(obj1
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9155 arg3
= (int) SWIG_AsInt(obj2
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9172 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (int)wxLocale::GetSystemLanguage();
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_FromInt((int)result
);
9194 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (int)wxLocale::GetSystemEncoding();
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_FromInt((int)result
);
9216 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= wxLocale::GetSystemEncodingName();
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9244 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxLocale
*arg1
= (wxLocale
*) 0 ;
9248 PyObject
* obj0
= 0 ;
9250 (char *) "self", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9270 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxLocale
*arg1
= (wxLocale
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= ((wxLocale
const *)arg1
)->GetLocale();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9302 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxLocale
*arg1
= (wxLocale
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_FromInt((int)result
);
9328 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxLocale
*arg1
= (wxLocale
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= ((wxLocale
const *)arg1
)->GetSysName();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9360 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxLocale
*arg1
= (wxLocale
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9392 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxString
*arg1
= 0 ;
9395 bool temp1
= False
;
9396 PyObject
* obj0
= 0 ;
9398 (char *) "prefix", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9403 arg1
= wxString_in_helper(obj0
);
9404 if (arg1
== NULL
) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 Py_INCREF(Py_None
); resultobj
= Py_None
;
9429 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxLocale
*arg1
= (wxLocale
*) 0 ;
9432 wxString
*arg2
= 0 ;
9434 bool temp2
= False
;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9438 (char *) "self",(char *) "szDomain", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9445 arg2
= wxString_in_helper(obj1
);
9446 if (arg2
== NULL
) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9471 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxLocale
*arg1
= (wxLocale
*) 0 ;
9474 wxString
*arg2
= 0 ;
9476 bool temp2
= False
;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9480 (char *) "self",(char *) "szDomain", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9487 arg2
= wxString_in_helper(obj1
);
9488 if (arg2
== NULL
) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9513 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9516 wxLanguageInfo
*result
;
9517 PyObject
* obj0
= 0 ;
9519 (char *) "lang", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9523 arg1
= (int) SWIG_AsInt(obj0
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9539 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9543 PyObject
* obj0
= 0 ;
9545 (char *) "lang", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9549 arg1
= (int) SWIG_AsInt(obj0
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= wxLocale::GetLanguageName(arg1
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9571 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
*resultobj
;
9573 wxString
*arg1
= 0 ;
9574 wxLanguageInfo
*result
;
9575 bool temp1
= False
;
9576 PyObject
* obj0
= 0 ;
9578 (char *) "locale", NULL
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9583 arg1
= wxString_in_helper(obj0
);
9584 if (arg1
== NULL
) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9609 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxLanguageInfo
*arg1
= 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "info", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9622 PyErr_SetString(PyExc_TypeError
,"null reference");
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 Py_INCREF(Py_None
); resultobj
= Py_None
;
9639 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxLocale
*arg1
= (wxLocale
*) 0 ;
9642 wxString
*arg2
= 0 ;
9643 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9644 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9646 bool temp2
= False
;
9647 bool temp3
= False
;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9650 PyObject
* obj2
= 0 ;
9652 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 arg2
= wxString_in_helper(obj1
);
9660 if (arg2
== NULL
) SWIG_fail
;
9665 arg3
= wxString_in_helper(obj2
);
9666 if (arg3
== NULL
) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9706 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxLocale
*arg1
= (wxLocale
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9712 (char *) "self", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9722 result
= (wxString
*) &_result_ref
;
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9732 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9741 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9744 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9746 return Py_BuildValue((char *)"");
9748 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (wxLocale
*)wxGetLocale();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
9770 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9771 PyObject
*resultobj
;
9772 wxString
*arg1
= 0 ;
9774 bool temp1
= False
;
9775 PyObject
* obj0
= 0 ;
9777 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9779 arg1
= wxString_in_helper(obj0
);
9780 if (arg1
== NULL
) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= wxGetTranslation((wxString
const &)*arg1
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9811 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9812 PyObject
*resultobj
;
9813 wxString
*arg1
= 0 ;
9814 wxString
*arg2
= 0 ;
9817 bool temp1
= False
;
9818 bool temp2
= False
;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9821 PyObject
* obj2
= 0 ;
9823 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9825 arg1
= wxString_in_helper(obj0
);
9826 if (arg1
== NULL
) SWIG_fail
;
9830 arg2
= wxString_in_helper(obj1
);
9831 if (arg2
== NULL
) SWIG_fail
;
9834 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9872 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9877 argc
= PyObject_Length(args
);
9878 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9879 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9884 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9887 return _wrap_GetTranslation__SWIG_0(self
,args
);
9893 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9897 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9900 _v
= SWIG_CheckUnsignedLong(argv
[2]);
9902 return _wrap_GetTranslation__SWIG_1(self
,args
);
9908 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9913 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxEncodingConverter
*result
;
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
9935 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9965 int arg4
= (int) wxCONVERT_STRICT
;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9969 PyObject
* obj2
= 0 ;
9970 PyObject
* obj3
= 0 ;
9972 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
9977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9978 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9980 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 arg4
= (int) SWIG_AsInt(obj3
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10000 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10003 wxString
*arg2
= 0 ;
10005 bool temp2
= False
;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self",(char *) "input", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10016 arg2
= wxString_in_helper(obj1
);
10017 if (arg2
== NULL
) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10048 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10051 int arg2
= (int) wxPLATFORM_CURRENT
;
10052 wxFontEncodingArray result
;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "enc",(char *) "platform", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10060 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 arg2
= (int) SWIG_AsInt(obj1
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= PyList_New(0);
10075 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10076 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10077 PyList_Append(resultobj
, number
);
10087 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10090 wxFontEncodingArray result
;
10091 PyObject
* obj0
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "enc", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10097 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= PyList_New(0);
10108 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10109 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10110 PyList_Append(resultobj
, number
);
10120 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "encIn",(char *) "encOut", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10132 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10134 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10150 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10153 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10155 return Py_BuildValue((char *)"");
10157 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxDC
*arg1
= (wxDC
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10182 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxDC
*arg1
= (wxDC
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->BeginDrawing();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10207 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxDC
*arg1
= (wxDC
*) 0 ;
10210 PyObject
* obj0
= 0 ;
10211 char *kwnames
[] = {
10212 (char *) "self", NULL
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 (arg1
)->EndDrawing();
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 Py_INCREF(Py_None
); resultobj
= Py_None
;
10232 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxDC
*arg1
= (wxDC
*) 0 ;
10237 wxColour
*arg4
= 0 ;
10238 int arg5
= (int) wxFLOOD_SURFACE
;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 PyObject
* obj2
= 0 ;
10244 PyObject
* obj3
= 0 ;
10245 PyObject
* obj4
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10253 arg2
= (int) SWIG_AsInt(obj1
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10255 arg3
= (int) SWIG_AsInt(obj2
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10259 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10262 arg5
= (int) SWIG_AsInt(obj4
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10279 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxDC
*arg1
= (wxDC
*) 0 ;
10282 wxPoint
*arg2
= 0 ;
10283 wxColour
*arg3
= 0 ;
10284 int arg4
= (int) wxFLOOD_SURFACE
;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 PyObject
* obj2
= 0 ;
10291 PyObject
* obj3
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10305 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10308 arg4
= (int) SWIG_AsInt(obj3
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10325 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxDC
*arg1
= (wxDC
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 PyObject
* obj2
= 0 ;
10334 char *kwnames
[] = {
10335 (char *) "self",(char *) "x",(char *) "y", NULL
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 arg2
= (int) SWIG_AsInt(obj1
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10343 arg3
= (int) SWIG_AsInt(obj2
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 wxColour
* resultptr
;
10354 resultptr
= new wxColour((wxColour
&) result
);
10355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10363 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxDC
*arg1
= (wxDC
*) 0 ;
10366 wxPoint
*arg2
= 0 ;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "pt", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10390 wxColour
* resultptr
;
10391 resultptr
= new wxColour((wxColour
&) result
);
10392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10400 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxDC
*arg1
= (wxDC
*) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 PyObject
* obj1
= 0 ;
10409 PyObject
* obj2
= 0 ;
10410 PyObject
* obj3
= 0 ;
10411 PyObject
* obj4
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10419 arg2
= (int) SWIG_AsInt(obj1
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10421 arg3
= (int) SWIG_AsInt(obj2
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10423 arg4
= (int) SWIG_AsInt(obj3
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10425 arg5
= (int) SWIG_AsInt(obj4
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 Py_INCREF(Py_None
); resultobj
= Py_None
;
10441 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
;
10443 wxDC
*arg1
= (wxDC
*) 0 ;
10444 wxPoint
*arg2
= 0 ;
10445 wxPoint
*arg3
= 0 ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 PyObject
* obj2
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxDC
*arg1
= (wxDC
*) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "x",(char *) "y", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 arg2
= (int) SWIG_AsInt(obj1
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10497 arg3
= (int) SWIG_AsInt(obj2
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->CrossHair(arg2
,arg3
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxDC
*arg1
= (wxDC
*) 0 ;
10516 wxPoint
*arg2
= 0 ;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self",(char *) "pt", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 Py_INCREF(Py_None
); resultobj
= Py_None
;
10545 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxDC
*arg1
= (wxDC
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 PyObject
* obj2
= 0 ;
10557 PyObject
* obj3
= 0 ;
10558 PyObject
* obj4
= 0 ;
10559 PyObject
* obj5
= 0 ;
10560 PyObject
* obj6
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10568 arg2
= (int) SWIG_AsInt(obj1
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10570 arg3
= (int) SWIG_AsInt(obj2
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10572 arg4
= (int) SWIG_AsInt(obj3
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10574 arg5
= (int) SWIG_AsInt(obj4
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10576 arg6
= (int) SWIG_AsInt(obj5
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10578 arg7
= (int) SWIG_AsInt(obj6
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 Py_INCREF(Py_None
); resultobj
= Py_None
;
10594 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxDC
*arg1
= (wxDC
*) 0 ;
10597 wxPoint
*arg2
= 0 ;
10598 wxPoint
*arg3
= 0 ;
10599 wxPoint
*arg4
= 0 ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 PyObject
* obj3
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10620 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10624 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 Py_INCREF(Py_None
); resultobj
= Py_None
;
10640 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxDC
*arg1
= (wxDC
*) 0 ;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 PyObject
* obj2
= 0 ;
10650 PyObject
* obj3
= 0 ;
10651 PyObject
* obj4
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10659 arg2
= (int) SWIG_AsInt(obj1
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10661 arg3
= (int) SWIG_AsInt(obj2
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10663 arg4
= (int) SWIG_AsInt(obj3
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10665 arg5
= (int) SWIG_AsInt(obj4
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxDC
*arg1
= (wxDC
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self",(char *) "rect", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxDC
*arg1
= (wxDC
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 PyObject
* obj2
= 0 ;
10725 PyObject
* obj3
= 0 ;
10726 PyObject
* obj4
= 0 ;
10727 PyObject
* obj5
= 0 ;
10728 PyObject
* obj6
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10736 arg2
= (int) SWIG_AsInt(obj1
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10738 arg3
= (int) SWIG_AsInt(obj2
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10740 arg4
= (int) SWIG_AsInt(obj3
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10742 arg5
= (int) SWIG_AsInt(obj4
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10744 arg6
= (double) SWIG_AsDouble(obj5
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10746 arg7
= (double) SWIG_AsDouble(obj6
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10762 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxDC
*arg1
= (wxDC
*) 0 ;
10765 wxPoint
*arg2
= 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 PyObject
* obj2
= 0 ;
10774 PyObject
* obj3
= 0 ;
10775 PyObject
* obj4
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10785 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10789 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10791 arg4
= (double) SWIG_AsDouble(obj3
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10793 arg5
= (double) SWIG_AsDouble(obj4
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 Py_INCREF(Py_None
); resultobj
= Py_None
;
10809 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxDC
*arg1
= (wxDC
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 PyObject
* obj2
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self",(char *) "x",(char *) "y", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10824 arg2
= (int) SWIG_AsInt(obj1
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10826 arg3
= (int) SWIG_AsInt(obj2
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 (arg1
)->DrawPoint(arg2
,arg3
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 Py_INCREF(Py_None
); resultobj
= Py_None
;
10842 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxDC
*arg1
= (wxDC
*) 0 ;
10845 wxPoint
*arg2
= 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "pt", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 Py_INCREF(Py_None
); resultobj
= Py_None
;
10874 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxDC
*arg1
= (wxDC
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10884 PyObject
* obj3
= 0 ;
10885 PyObject
* obj4
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10893 arg2
= (int) SWIG_AsInt(obj1
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10895 arg3
= (int) SWIG_AsInt(obj2
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10897 arg4
= (int) SWIG_AsInt(obj3
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10899 arg5
= (int) SWIG_AsInt(obj4
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 Py_INCREF(Py_None
); resultobj
= Py_None
;
10915 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxDC
*arg1
= (wxDC
*) 0 ;
10918 wxPoint
*arg2
= 0 ;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 PyObject
* obj2
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self",(char *) "pt",(char *) "sz", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10938 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxDC
*arg1
= (wxDC
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self",(char *) "rect", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10974 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 Py_INCREF(Py_None
); resultobj
= Py_None
;
10986 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxDC
*arg1
= (wxDC
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 PyObject
* obj1
= 0 ;
10996 PyObject
* obj2
= 0 ;
10997 PyObject
* obj3
= 0 ;
10998 PyObject
* obj4
= 0 ;
10999 PyObject
* obj5
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11007 arg2
= (int) SWIG_AsInt(obj1
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11009 arg3
= (int) SWIG_AsInt(obj2
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11011 arg4
= (int) SWIG_AsInt(obj3
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11013 arg5
= (int) SWIG_AsInt(obj4
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11015 arg6
= (double) SWIG_AsDouble(obj5
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxDC
*arg1
= (wxDC
*) 0 ;
11034 wxPoint
*arg2
= 0 ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 PyObject
* obj2
= 0 ;
11042 PyObject
* obj3
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11056 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11058 arg4
= (double) SWIG_AsDouble(obj3
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 Py_INCREF(Py_None
); resultobj
= Py_None
;
11074 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxDC
*arg1
= (wxDC
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 PyObject
* obj2
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "r",(char *) "radius", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
11094 arg3
= (double) SWIG_AsDouble(obj2
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxDC
*arg1
= (wxDC
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 PyObject
* obj2
= 0 ;
11119 PyObject
* obj3
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 arg2
= (int) SWIG_AsInt(obj1
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11129 arg3
= (int) SWIG_AsInt(obj2
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11131 arg4
= (int) SWIG_AsInt(obj3
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 Py_INCREF(Py_None
); resultobj
= Py_None
;
11147 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxDC
*arg1
= (wxDC
*) 0 ;
11150 wxPoint
*arg2
= 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "pt",(char *) "radius", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11167 arg3
= (int) SWIG_AsInt(obj2
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 Py_INCREF(Py_None
); resultobj
= Py_None
;
11183 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxDC
*arg1
= (wxDC
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 PyObject
* obj2
= 0 ;
11193 PyObject
* obj3
= 0 ;
11194 PyObject
* obj4
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11202 arg2
= (int) SWIG_AsInt(obj1
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11204 arg3
= (int) SWIG_AsInt(obj2
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11206 arg4
= (int) SWIG_AsInt(obj3
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11208 arg5
= (int) SWIG_AsInt(obj4
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 Py_INCREF(Py_None
); resultobj
= Py_None
;
11224 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxDC
*arg1
= (wxDC
*) 0 ;
11227 wxPoint
*arg2
= 0 ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 PyObject
* obj2
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self",(char *) "pt",(char *) "sz", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11247 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 Py_INCREF(Py_None
); resultobj
= Py_None
;
11263 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxDC
*arg1
= (wxDC
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "rect", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 Py_INCREF(Py_None
); resultobj
= Py_None
;
11295 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxDC
*arg1
= (wxDC
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 PyObject
* obj2
= 0 ;
11304 PyObject
* obj3
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11315 if (arg2
== NULL
) {
11316 PyErr_SetString(PyExc_TypeError
,"null reference");
11319 arg3
= (int) SWIG_AsInt(obj2
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11321 arg4
= (int) SWIG_AsInt(obj3
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 Py_INCREF(Py_None
); resultobj
= Py_None
;
11337 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxDC
*arg1
= (wxDC
*) 0 ;
11341 wxPoint
*arg3
= 0 ;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 PyObject
* obj2
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "icon",(char *) "pt", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11356 if (arg2
== NULL
) {
11357 PyErr_SetString(PyExc_TypeError
,"null reference");
11362 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 Py_INCREF(Py_None
); resultobj
= Py_None
;
11378 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxDC
*arg1
= (wxDC
*) 0 ;
11381 wxBitmap
*arg2
= 0 ;
11384 bool arg5
= (bool) False
;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 PyObject
* obj2
= 0 ;
11388 PyObject
* obj3
= 0 ;
11389 PyObject
* obj4
= 0 ;
11390 char *kwnames
[] = {
11391 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11400 if (arg2
== NULL
) {
11401 PyErr_SetString(PyExc_TypeError
,"null reference");
11404 arg3
= (int) SWIG_AsInt(obj2
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11406 arg4
= (int) SWIG_AsInt(obj3
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 arg5
= (bool) SWIG_AsBool(obj4
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 Py_INCREF(Py_None
); resultobj
= Py_None
;
11426 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxDC
*arg1
= (wxDC
*) 0 ;
11429 wxBitmap
*arg2
= 0 ;
11430 wxPoint
*arg3
= 0 ;
11431 bool arg4
= (bool) False
;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 PyObject
* obj2
= 0 ;
11436 PyObject
* obj3
= 0 ;
11437 char *kwnames
[] = {
11438 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11447 if (arg2
== NULL
) {
11448 PyErr_SetString(PyExc_TypeError
,"null reference");
11453 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11456 arg4
= (bool) SWIG_AsBool(obj3
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 Py_INCREF(Py_None
); resultobj
= Py_None
;
11473 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxDC
*arg1
= (wxDC
*) 0 ;
11476 wxString
*arg2
= 0 ;
11479 bool temp2
= False
;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 PyObject
* obj3
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 arg2
= wxString_in_helper(obj1
);
11493 if (arg2
== NULL
) SWIG_fail
;
11496 arg3
= (int) SWIG_AsInt(obj2
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11498 arg4
= (int) SWIG_AsInt(obj3
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11522 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxDC
*arg1
= (wxDC
*) 0 ;
11525 wxString
*arg2
= 0 ;
11526 wxPoint
*arg3
= 0 ;
11527 bool temp2
= False
;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 PyObject
* obj2
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self",(char *) "text",(char *) "pt", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 arg2
= wxString_in_helper(obj1
);
11541 if (arg2
== NULL
) SWIG_fail
;
11546 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11570 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxDC
*arg1
= (wxDC
*) 0 ;
11573 wxString
*arg2
= 0 ;
11577 bool temp2
= False
;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 PyObject
* obj2
= 0 ;
11581 PyObject
* obj3
= 0 ;
11582 PyObject
* obj4
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11591 arg2
= wxString_in_helper(obj1
);
11592 if (arg2
== NULL
) SWIG_fail
;
11595 arg3
= (int) SWIG_AsInt(obj2
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11597 arg4
= (int) SWIG_AsInt(obj3
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11599 arg5
= (double) SWIG_AsDouble(obj4
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 Py_INCREF(Py_None
); resultobj
= Py_None
;
11623 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxDC
*arg1
= (wxDC
*) 0 ;
11626 wxString
*arg2
= 0 ;
11627 wxPoint
*arg3
= 0 ;
11629 bool temp2
= False
;
11631 PyObject
* obj0
= 0 ;
11632 PyObject
* obj1
= 0 ;
11633 PyObject
* obj2
= 0 ;
11634 PyObject
* obj3
= 0 ;
11635 char *kwnames
[] = {
11636 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11643 arg2
= wxString_in_helper(obj1
);
11644 if (arg2
== NULL
) SWIG_fail
;
11649 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11651 arg4
= (double) SWIG_AsDouble(obj3
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 Py_INCREF(Py_None
); resultobj
= Py_None
;
11675 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxDC
*arg1
= (wxDC
*) 0 ;
11682 wxDC
*arg6
= (wxDC
*) 0 ;
11685 int arg9
= (int) wxCOPY
;
11686 bool arg10
= (bool) False
;
11687 int arg11
= (int) -1 ;
11688 int arg12
= (int) -1 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 PyObject
* obj2
= 0 ;
11693 PyObject
* obj3
= 0 ;
11694 PyObject
* obj4
= 0 ;
11695 PyObject
* obj5
= 0 ;
11696 PyObject
* obj6
= 0 ;
11697 PyObject
* obj7
= 0 ;
11698 PyObject
* obj8
= 0 ;
11699 PyObject
* obj9
= 0 ;
11700 PyObject
* obj10
= 0 ;
11701 PyObject
* obj11
= 0 ;
11702 char *kwnames
[] = {
11703 (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
11706 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
;
11707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11709 arg2
= (int) SWIG_AsInt(obj1
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11711 arg3
= (int) SWIG_AsInt(obj2
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11713 arg4
= (int) SWIG_AsInt(obj3
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11715 arg5
= (int) SWIG_AsInt(obj4
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11717 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11719 arg7
= (int) SWIG_AsInt(obj6
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11721 arg8
= (int) SWIG_AsInt(obj7
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 arg9
= (int) SWIG_AsInt(obj8
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 arg10
= (bool) SWIG_AsBool(obj9
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11732 arg11
= (int) SWIG_AsInt(obj10
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11736 arg12
= (int) SWIG_AsInt(obj11
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11753 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxDC
*arg1
= (wxDC
*) 0 ;
11756 wxPoint
*arg2
= 0 ;
11758 wxDC
*arg4
= (wxDC
*) 0 ;
11759 wxPoint
*arg5
= 0 ;
11760 int arg6
= (int) wxCOPY
;
11761 bool arg7
= (bool) False
;
11762 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11763 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11769 PyObject
* obj0
= 0 ;
11770 PyObject
* obj1
= 0 ;
11771 PyObject
* obj2
= 0 ;
11772 PyObject
* obj3
= 0 ;
11773 PyObject
* obj4
= 0 ;
11774 PyObject
* obj5
= 0 ;
11775 PyObject
* obj6
= 0 ;
11776 PyObject
* obj7
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11790 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11792 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
11793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11796 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11799 arg6
= (int) SWIG_AsInt(obj5
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 arg7
= (bool) SWIG_AsBool(obj6
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11809 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11826 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxDC
*arg1
= (wxDC
*) 0 ;
11830 wxPoint
*arg3
= (wxPoint
*) 0 ;
11831 int arg4
= (int) 0 ;
11832 int arg5
= (int) 0 ;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 PyObject
* obj2
= 0 ;
11836 PyObject
* obj3
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11845 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11846 if (arg3
== NULL
) SWIG_fail
;
11849 arg4
= (int) SWIG_AsInt(obj2
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 arg5
= (int) SWIG_AsInt(obj3
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 Py_INCREF(Py_None
); resultobj
= Py_None
;
11865 if (arg3
) delete [] arg3
;
11870 if (arg3
) delete [] arg3
;
11876 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxDC
*arg1
= (wxDC
*) 0 ;
11880 wxPoint
*arg3
= (wxPoint
*) 0 ;
11881 int arg4
= (int) 0 ;
11882 int arg5
= (int) 0 ;
11883 int arg6
= (int) wxODDEVEN_RULE
;
11884 PyObject
* obj0
= 0 ;
11885 PyObject
* obj1
= 0 ;
11886 PyObject
* obj2
= 0 ;
11887 PyObject
* obj3
= 0 ;
11888 PyObject
* obj4
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11897 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11898 if (arg3
== NULL
) SWIG_fail
;
11901 arg4
= (int) SWIG_AsInt(obj2
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 arg5
= (int) SWIG_AsInt(obj3
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 arg6
= (int) SWIG_AsInt(obj4
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 Py_INCREF(Py_None
); resultobj
= Py_None
;
11921 if (arg3
) delete [] arg3
;
11926 if (arg3
) delete [] arg3
;
11932 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxDC
*arg1
= (wxDC
*) 0 ;
11935 wxString
*arg2
= 0 ;
11937 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11938 int arg5
= (int) -1 ;
11939 bool temp2
= False
;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 PyObject
* obj2
= 0 ;
11944 PyObject
* obj3
= 0 ;
11945 PyObject
* obj4
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11954 arg2
= wxString_in_helper(obj1
);
11955 if (arg2
== NULL
) SWIG_fail
;
11960 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11963 arg4
= (int) SWIG_AsInt(obj3
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 arg5
= (int) SWIG_AsInt(obj4
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11992 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxDC
*arg1
= (wxDC
*) 0 ;
11995 wxString
*arg2
= 0 ;
11996 wxBitmap
*arg3
= 0 ;
11998 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11999 int arg6
= (int) -1 ;
12001 bool temp2
= False
;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 PyObject
* obj2
= 0 ;
12006 PyObject
* obj3
= 0 ;
12007 PyObject
* obj4
= 0 ;
12008 PyObject
* obj5
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12017 arg2
= wxString_in_helper(obj1
);
12018 if (arg2
== NULL
) SWIG_fail
;
12021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12024 if (arg3
== NULL
) {
12025 PyErr_SetString(PyExc_TypeError
,"null reference");
12030 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12033 arg5
= (int) SWIG_AsInt(obj4
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 arg6
= (int) SWIG_AsInt(obj5
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12048 wxRect
* resultptr
;
12049 resultptr
= new wxRect((wxRect
&) result
);
12050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12066 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxDC
*arg1
= (wxDC
*) 0 ;
12070 wxPoint
*arg3
= (wxPoint
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self",(char *) "points", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12081 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12082 if (arg3
== NULL
) SWIG_fail
;
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 (arg1
)->DrawSpline(arg2
,arg3
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 if (arg3
) delete [] arg3
;
12098 if (arg3
) delete [] arg3
;
12104 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxDC
*arg1
= (wxDC
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 Py_INCREF(Py_None
); resultobj
= Py_None
;
12129 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxDC
*arg1
= (wxDC
*) 0 ;
12132 wxString
*arg2
= 0 ;
12134 bool temp2
= False
;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self",(char *) "message", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12145 arg2
= wxString_in_helper(obj1
);
12146 if (arg2
== NULL
) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12171 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxDC
*arg1
= (wxDC
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 Py_INCREF(Py_None
); resultobj
= Py_None
;
12196 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxDC
*arg1
= (wxDC
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 (arg1
)->StartPage();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 Py_INCREF(Py_None
); resultobj
= Py_None
;
12221 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxDC
*arg1
= (wxDC
*) 0 ;
12224 PyObject
* obj0
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 Py_INCREF(Py_None
); resultobj
= Py_None
;
12246 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxDC
*arg1
= (wxDC
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 PyObject
* obj1
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self",(char *) "font", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12262 if (arg2
== NULL
) {
12263 PyErr_SetString(PyExc_TypeError
,"null reference");
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 (arg1
)->SetFont((wxFont
const &)*arg2
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 Py_INCREF(Py_None
); resultobj
= Py_None
;
12280 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxDC
*arg1
= (wxDC
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self",(char *) "pen", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12296 if (arg2
== NULL
) {
12297 PyErr_SetString(PyExc_TypeError
,"null reference");
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->SetPen((wxPen
const &)*arg2
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12314 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxDC
*arg1
= (wxDC
*) 0 ;
12317 wxBrush
*arg2
= 0 ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self",(char *) "brush", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12330 if (arg2
== NULL
) {
12331 PyErr_SetString(PyExc_TypeError
,"null reference");
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 Py_INCREF(Py_None
); resultobj
= Py_None
;
12348 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxDC
*arg1
= (wxDC
*) 0 ;
12351 wxBrush
*arg2
= 0 ;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self",(char *) "brush", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12364 if (arg2
== NULL
) {
12365 PyErr_SetString(PyExc_TypeError
,"null reference");
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 Py_INCREF(Py_None
); resultobj
= Py_None
;
12382 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxDC
*arg1
= (wxDC
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 PyObject
* obj1
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self",(char *) "mode", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 arg2
= (int) SWIG_AsInt(obj1
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetBackgroundMode(arg2
);
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 Py_INCREF(Py_None
); resultobj
= Py_None
;
12411 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxDC
*arg1
= (wxDC
*) 0 ;
12414 wxPalette
*arg2
= 0 ;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self",(char *) "palette", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12427 if (arg2
== NULL
) {
12428 PyErr_SetString(PyExc_TypeError
,"null reference");
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 Py_INCREF(Py_None
); resultobj
= Py_None
;
12445 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
;
12447 wxDC
*arg1
= (wxDC
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 PyObject
* obj2
= 0 ;
12455 PyObject
* obj3
= 0 ;
12456 PyObject
* obj4
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12464 arg2
= (int) SWIG_AsInt(obj1
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12466 arg3
= (int) SWIG_AsInt(obj2
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12468 arg4
= (int) SWIG_AsInt(obj3
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12470 arg5
= (int) SWIG_AsInt(obj4
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 Py_INCREF(Py_None
); resultobj
= Py_None
;
12486 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxDC
*arg1
= (wxDC
*) 0 ;
12489 wxPoint
*arg2
= 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 PyObject
* obj2
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self",(char *) "pt",(char *) "sz", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12509 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 Py_INCREF(Py_None
); resultobj
= Py_None
;
12525 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxDC
*arg1
= (wxDC
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "rect", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxDC
*arg1
= (wxDC
*) 0 ;
12560 wxRegion
*arg2
= 0 ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "region", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12573 if (arg2
== NULL
) {
12574 PyErr_SetString(PyExc_TypeError
,"null reference");
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 Py_INCREF(Py_None
); resultobj
= Py_None
;
12591 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxDC
*arg1
= (wxDC
*) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 (arg1
)->DestroyClippingRegion();
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 Py_INCREF(Py_None
); resultobj
= Py_None
;
12616 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxDC
*arg1
= (wxDC
*) 0 ;
12619 int *arg2
= (int *) 0 ;
12620 int *arg3
= (int *) 0 ;
12621 int *arg4
= (int *) 0 ;
12622 int *arg5
= (int *) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 Py_INCREF(Py_None
); resultobj
= Py_None
;
12648 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12649 resultobj
= t_output_helper(resultobj
,o
);
12652 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12653 resultobj
= t_output_helper(resultobj
,o
);
12656 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12657 resultobj
= t_output_helper(resultobj
,o
);
12660 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12661 resultobj
= t_output_helper(resultobj
,o
);
12669 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxDC
*arg1
= (wxDC
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= wxDC_GetClippingRect(arg1
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 wxRect
* resultptr
;
12690 resultptr
= new wxRect((wxRect
&) result
);
12691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12699 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxDC
*arg1
= (wxDC
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= SWIG_FromInt((int)result
);
12725 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxDC
*arg1
= (wxDC
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_FromInt((int)result
);
12751 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxDC
*arg1
= (wxDC
*) 0 ;
12754 wxString
*arg2
= 0 ;
12755 int *arg3
= (int *) 0 ;
12756 int *arg4
= (int *) 0 ;
12757 bool temp2
= False
;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "string", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 arg2
= wxString_in_helper(obj1
);
12773 if (arg2
== NULL
) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12785 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12786 resultobj
= t_output_helper(resultobj
,o
);
12789 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12790 resultobj
= t_output_helper(resultobj
,o
);
12806 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxDC
*arg1
= (wxDC
*) 0 ;
12809 wxString
*arg2
= 0 ;
12810 int *arg3
= (int *) 0 ;
12811 int *arg4
= (int *) 0 ;
12812 int *arg5
= (int *) 0 ;
12813 int *arg6
= (int *) 0 ;
12814 wxFont
*arg7
= (wxFont
*) NULL
;
12815 bool temp2
= False
;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 PyObject
* obj2
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "string",(char *) "font", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12835 arg2
= wxString_in_helper(obj1
);
12836 if (arg2
== NULL
) SWIG_fail
;
12840 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 Py_INCREF(Py_None
); resultobj
= Py_None
;
12852 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12853 resultobj
= t_output_helper(resultobj
,o
);
12856 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12857 resultobj
= t_output_helper(resultobj
,o
);
12860 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12861 resultobj
= t_output_helper(resultobj
,o
);
12864 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12865 resultobj
= t_output_helper(resultobj
,o
);
12881 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
;
12883 wxDC
*arg1
= (wxDC
*) 0 ;
12884 wxString
*arg2
= 0 ;
12885 int *arg3
= (int *) 0 ;
12886 int *arg4
= (int *) 0 ;
12887 int *arg5
= (int *) 0 ;
12888 wxFont
*arg6
= (wxFont
*) NULL
;
12889 bool temp2
= False
;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 PyObject
* obj2
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self",(char *) "text",(char *) "font", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12907 arg2
= wxString_in_helper(obj1
);
12908 if (arg2
== NULL
) SWIG_fail
;
12912 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
12913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12925 resultobj
= t_output_helper(resultobj
,o
);
12928 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12929 resultobj
= t_output_helper(resultobj
,o
);
12932 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12933 resultobj
= t_output_helper(resultobj
,o
);
12949 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxDC
*arg1
= (wxDC
*) 0 ;
12952 wxString
*arg2
= 0 ;
12954 bool temp2
= False
;
12955 PyObject
* obj0
= 0 ;
12956 PyObject
* obj1
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self",(char *) "text", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12965 arg2
= wxString_in_helper(obj1
);
12966 if (arg2
== NULL
) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= PyList_New(0);
12979 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12980 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12981 PyList_Append(resultobj
, val
);
12999 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxDC
*arg1
= (wxDC
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 result
= (arg1
)->GetSize();
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 wxSize
* resultptr
;
13020 resultptr
= new wxSize((wxSize
&) result
);
13021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13029 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxDC
*arg1
= (wxDC
*) 0 ;
13032 int *arg2
= (int *) 0 ;
13033 int *arg3
= (int *) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 (arg1
)->GetSize(arg2
,arg3
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 Py_INCREF(Py_None
); resultobj
= Py_None
;
13055 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13056 resultobj
= t_output_helper(resultobj
,o
);
13059 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13060 resultobj
= t_output_helper(resultobj
,o
);
13068 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxDC
*arg1
= (wxDC
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13088 wxSize
* resultptr
;
13089 resultptr
= new wxSize((wxSize
&) result
);
13090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13098 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxDC
*arg1
= (wxDC
*) 0 ;
13101 int *arg2
= (int *) 0 ;
13102 int *arg3
= (int *) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 Py_INCREF(Py_None
); resultobj
= Py_None
;
13124 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13125 resultobj
= t_output_helper(resultobj
,o
);
13128 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13129 resultobj
= t_output_helper(resultobj
,o
);
13137 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxDC
*arg1
= (wxDC
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "x", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 arg2
= (int) SWIG_AsInt(obj1
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_FromInt((int)result
);
13167 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxDC
*arg1
= (wxDC
*) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "y", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13181 arg2
= (int) SWIG_AsInt(obj1
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= SWIG_FromInt((int)result
);
13197 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
;
13199 wxDC
*arg1
= (wxDC
*) 0 ;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "x", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13211 arg2
= (int) SWIG_AsInt(obj1
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_FromInt((int)result
);
13227 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxDC
*arg1
= (wxDC
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "y", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13241 arg2
= (int) SWIG_AsInt(obj1
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= SWIG_FromInt((int)result
);
13257 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxDC
*arg1
= (wxDC
*) 0 ;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "x", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg2
= (int) SWIG_AsInt(obj1
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 resultobj
= SWIG_FromInt((int)result
);
13287 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxDC
*arg1
= (wxDC
*) 0 ;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self",(char *) "y", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13301 arg2
= (int) SWIG_AsInt(obj1
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= SWIG_FromInt((int)result
);
13317 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxDC
*arg1
= (wxDC
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "x", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13331 arg2
= (int) SWIG_AsInt(obj1
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= SWIG_FromInt((int)result
);
13347 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxDC
*arg1
= (wxDC
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "y", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 arg2
= (int) SWIG_AsInt(obj1
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_FromInt((int)result
);
13377 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxDC
*arg1
= (wxDC
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13403 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxDC
*arg1
= (wxDC
*) 0 ;
13407 PyObject
* obj0
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13429 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxDC
*arg1
= (wxDC
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "self", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= SWIG_FromInt((int)result
);
13455 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
;
13457 wxDC
*arg1
= (wxDC
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= ((wxDC
const *)arg1
)->GetPPI();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13475 wxSize
* resultptr
;
13476 resultptr
= new wxSize((wxSize
&) result
);
13477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13485 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxDC
*arg1
= (wxDC
*) 0 ;
13489 PyObject
* obj0
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (bool)((wxDC
const *)arg1
)->Ok();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxDC
*arg1
= (wxDC
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_FromInt((int)result
);
13537 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxDC
*arg1
= (wxDC
*) 0 ;
13541 PyObject
* obj0
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13553 result
= (wxBrush
*) &_result_ref
;
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13560 wxBrush
* resultptr
= new wxBrush(*result
);
13561 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13569 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxDC
*arg1
= (wxDC
*) 0 ;
13573 PyObject
* obj0
= 0 ;
13574 char *kwnames
[] = {
13575 (char *) "self", NULL
13578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13585 result
= (wxBrush
*) &_result_ref
;
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13592 wxBrush
* resultptr
= new wxBrush(*result
);
13593 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13601 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxDC
*arg1
= (wxDC
*) 0 ;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13617 result
= (wxFont
*) &_result_ref
;
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13624 wxFont
* resultptr
= new wxFont(*result
);
13625 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13633 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxDC
*arg1
= (wxDC
*) 0 ;
13637 PyObject
* obj0
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13649 result
= (wxPen
*) &_result_ref
;
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13656 wxPen
* resultptr
= new wxPen(*result
);
13657 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13665 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxDC
*arg1
= (wxDC
*) 0 ;
13669 PyObject
* obj0
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13681 result
= (wxColour
*) &_result_ref
;
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13694 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
;
13696 wxDC
*arg1
= (wxDC
*) 0 ;
13698 PyObject
* obj0
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13710 result
= (wxColour
*) &_result_ref
;
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13723 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxDC
*arg1
= (wxDC
*) 0 ;
13726 wxColour
*arg2
= 0 ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "colour", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 Py_INCREF(Py_None
); resultobj
= Py_None
;
13755 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxDC
*arg1
= (wxDC
*) 0 ;
13758 wxColour
*arg2
= 0 ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self",(char *) "colour", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 Py_INCREF(Py_None
); resultobj
= Py_None
;
13787 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
;
13789 wxDC
*arg1
= (wxDC
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_FromInt((int)result
);
13813 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxDC
*arg1
= (wxDC
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "mode", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13826 arg2
= (int) SWIG_AsInt(obj1
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->SetMapMode(arg2
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxDC
*arg1
= (wxDC
*) 0 ;
13845 double *arg2
= (double *) 0 ;
13846 double *arg3
= (double *) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 Py_INCREF(Py_None
); resultobj
= Py_None
;
13868 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13869 resultobj
= t_output_helper(resultobj
,o
);
13872 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13873 resultobj
= t_output_helper(resultobj
,o
);
13881 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
;
13883 wxDC
*arg1
= (wxDC
*) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 PyObject
* obj2
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self",(char *) "x",(char *) "y", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 arg2
= (double) SWIG_AsDouble(obj1
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13898 arg3
= (double) SWIG_AsDouble(obj2
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 (arg1
)->SetUserScale(arg2
,arg3
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 Py_INCREF(Py_None
); resultobj
= Py_None
;
13914 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxDC
*arg1
= (wxDC
*) 0 ;
13917 double *arg2
= (double *) 0 ;
13918 double *arg3
= (double *) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 (arg1
)->GetLogicalScale(arg2
,arg3
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 Py_INCREF(Py_None
); resultobj
= Py_None
;
13940 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13941 resultobj
= t_output_helper(resultobj
,o
);
13944 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13945 resultobj
= t_output_helper(resultobj
,o
);
13953 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13954 PyObject
*resultobj
;
13955 wxDC
*arg1
= (wxDC
*) 0 ;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 PyObject
* obj2
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "x",(char *) "y", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13968 arg2
= (double) SWIG_AsDouble(obj1
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13970 arg3
= (double) SWIG_AsDouble(obj2
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 (arg1
)->SetLogicalScale(arg2
,arg3
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 Py_INCREF(Py_None
); resultobj
= Py_None
;
13986 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxDC
*arg1
= (wxDC
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14006 wxPoint
* resultptr
;
14007 resultptr
= new wxPoint((wxPoint
&) result
);
14008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14016 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxDC
*arg1
= (wxDC
*) 0 ;
14019 int *arg2
= (int *) 0 ;
14020 int *arg3
= (int *) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 Py_INCREF(Py_None
); resultobj
= Py_None
;
14042 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14043 resultobj
= t_output_helper(resultobj
,o
);
14046 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14047 resultobj
= t_output_helper(resultobj
,o
);
14055 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxDC
*arg1
= (wxDC
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 PyObject
* obj1
= 0 ;
14062 PyObject
* obj2
= 0 ;
14063 char *kwnames
[] = {
14064 (char *) "self",(char *) "x",(char *) "y", NULL
14067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14070 arg2
= (int) SWIG_AsInt(obj1
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14072 arg3
= (int) SWIG_AsInt(obj2
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 Py_INCREF(Py_None
); resultobj
= Py_None
;
14088 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxDC
*arg1
= (wxDC
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14108 wxPoint
* resultptr
;
14109 resultptr
= new wxPoint((wxPoint
&) result
);
14110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14118 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxDC
*arg1
= (wxDC
*) 0 ;
14121 int *arg2
= (int *) 0 ;
14122 int *arg3
= (int *) 0 ;
14125 PyObject
* obj0
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 Py_INCREF(Py_None
); resultobj
= Py_None
;
14144 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14145 resultobj
= t_output_helper(resultobj
,o
);
14148 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14149 resultobj
= t_output_helper(resultobj
,o
);
14157 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxDC
*arg1
= (wxDC
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 PyObject
* obj1
= 0 ;
14164 PyObject
* obj2
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self",(char *) "x",(char *) "y", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14172 arg2
= (int) SWIG_AsInt(obj1
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14174 arg3
= (int) SWIG_AsInt(obj2
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 Py_INCREF(Py_None
); resultobj
= Py_None
;
14190 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxDC
*arg1
= (wxDC
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 PyObject
* obj2
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14205 arg2
= (bool) SWIG_AsBool(obj1
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14207 arg3
= (bool) SWIG_AsBool(obj2
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 Py_INCREF(Py_None
); resultobj
= Py_None
;
14223 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxDC
*arg1
= (wxDC
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= SWIG_FromInt((int)result
);
14249 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxDC
*arg1
= (wxDC
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self",(char *) "function", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14262 arg2
= (int) SWIG_AsInt(obj1
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 (arg1
)->SetLogicalFunction(arg2
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 Py_INCREF(Py_None
); resultobj
= Py_None
;
14278 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxDC
*arg1
= (wxDC
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 PyObject
* obj1
= 0 ;
14284 char *kwnames
[] = {
14285 (char *) "self",(char *) "opt", NULL
14288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 arg2
= (bool) SWIG_AsBool(obj1
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 (arg1
)->SetOptimization(arg2
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 Py_INCREF(Py_None
); resultobj
= Py_None
;
14307 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
;
14309 wxDC
*arg1
= (wxDC
*) 0 ;
14311 PyObject
* obj0
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "self", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (bool)(arg1
)->GetOptimization();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14333 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxDC
*arg1
= (wxDC
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "x",(char *) "y", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14348 arg2
= (int) SWIG_AsInt(obj1
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14350 arg3
= (int) SWIG_AsInt(obj2
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxDC
*arg1
= (wxDC
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 (arg1
)->ResetBoundingBox();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 Py_INCREF(Py_None
); resultobj
= Py_None
;
14391 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxDC
*arg1
= (wxDC
*) 0 ;
14395 PyObject
* obj0
= 0 ;
14396 char *kwnames
[] = {
14397 (char *) "self", NULL
14400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (int)((wxDC
const *)arg1
)->MinX();
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_FromInt((int)result
);
14417 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxDC
*arg1
= (wxDC
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (int)((wxDC
const *)arg1
)->MaxX();
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= SWIG_FromInt((int)result
);
14443 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxDC
*arg1
= (wxDC
*) 0 ;
14447 PyObject
* obj0
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (int)((wxDC
const *)arg1
)->MinY();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_FromInt((int)result
);
14469 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxDC
*arg1
= (wxDC
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 char *kwnames
[] = {
14475 (char *) "self", NULL
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 result
= (int)((wxDC
const *)arg1
)->MaxY();
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= SWIG_FromInt((int)result
);
14495 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxDC
*arg1
= (wxDC
*) 0 ;
14498 int *arg2
= (int *) 0 ;
14499 int *arg3
= (int *) 0 ;
14500 int *arg4
= (int *) 0 ;
14501 int *arg5
= (int *) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 Py_INCREF(Py_None
); resultobj
= Py_None
;
14527 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14528 resultobj
= t_output_helper(resultobj
,o
);
14531 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14532 resultobj
= t_output_helper(resultobj
,o
);
14535 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14536 resultobj
= t_output_helper(resultobj
,o
);
14539 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14540 resultobj
= t_output_helper(resultobj
,o
);
14548 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxDC
*arg1
= (wxDC
*) 0 ;
14551 PyObject
*arg2
= (PyObject
*) 0 ;
14552 PyObject
*arg3
= (PyObject
*) 0 ;
14553 PyObject
*arg4
= (PyObject
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 PyObject
* obj2
= 0 ;
14558 PyObject
* obj3
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= result
;
14583 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxDC
*arg1
= (wxDC
*) 0 ;
14586 PyObject
*arg2
= (PyObject
*) 0 ;
14587 PyObject
*arg3
= (PyObject
*) 0 ;
14588 PyObject
*arg4
= (PyObject
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 PyObject
* obj2
= 0 ;
14593 PyObject
* obj3
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
;
14618 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxDC
*arg1
= (wxDC
*) 0 ;
14621 PyObject
*arg2
= (PyObject
*) 0 ;
14622 PyObject
*arg3
= (PyObject
*) 0 ;
14623 PyObject
*arg4
= (PyObject
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 PyObject
* obj2
= 0 ;
14628 PyObject
* obj3
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= result
;
14653 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxDC
*arg1
= (wxDC
*) 0 ;
14656 PyObject
*arg2
= (PyObject
*) 0 ;
14657 PyObject
*arg3
= (PyObject
*) 0 ;
14658 PyObject
*arg4
= (PyObject
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 PyObject
* obj2
= 0 ;
14663 PyObject
* obj3
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= result
;
14688 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxDC
*arg1
= (wxDC
*) 0 ;
14691 PyObject
*arg2
= (PyObject
*) 0 ;
14692 PyObject
*arg3
= (PyObject
*) 0 ;
14693 PyObject
*arg4
= (PyObject
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 PyObject
* obj2
= 0 ;
14698 PyObject
* obj3
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= result
;
14723 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxDC
*arg1
= (wxDC
*) 0 ;
14726 PyObject
*arg2
= (PyObject
*) 0 ;
14727 PyObject
*arg3
= (PyObject
*) 0 ;
14728 PyObject
*arg4
= (PyObject
*) 0 ;
14729 PyObject
*arg5
= (PyObject
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 PyObject
* obj1
= 0 ;
14733 PyObject
* obj2
= 0 ;
14734 PyObject
* obj3
= 0 ;
14735 PyObject
* obj4
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= result
;
14761 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14764 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14766 return Py_BuildValue((char *)"");
14768 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMemoryDC
*result
;
14771 char *kwnames
[] = {
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (wxMemoryDC
*)new wxMemoryDC();
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14790 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxDC
*arg1
= (wxDC
*) 0 ;
14793 wxMemoryDC
*result
;
14794 PyObject
* obj0
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "oldDC", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
14816 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14819 wxBitmap
*arg2
= 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self",(char *) "bitmap", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14832 if (arg2
== NULL
) {
14833 PyErr_SetString(PyExc_TypeError
,"null reference");
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 Py_INCREF(Py_None
); resultobj
= Py_None
;
14850 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14853 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14855 return Py_BuildValue((char *)"");
14857 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14858 PyObject
*resultobj
;
14859 wxDC
*arg1
= (wxDC
*) 0 ;
14860 wxBitmap
*arg2
= 0 ;
14861 wxBufferedDC
*result
;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14865 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
14869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14871 if (arg2
== NULL
) {
14872 PyErr_SetString(PyExc_TypeError
,"null reference");
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14889 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
14890 PyObject
*resultobj
;
14891 wxDC
*arg1
= (wxDC
*) 0 ;
14893 wxBufferedDC
*result
;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14898 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
14919 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
14924 argc
= PyObject_Length(args
);
14925 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
14926 argv
[ii
] = PyTuple_GetItem(args
,ii
);
14932 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14942 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
14950 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
14958 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14967 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
14970 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
14975 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
14980 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
14981 PyObject
*resultobj
;
14982 wxDC
*arg1
= (wxDC
*) 0 ;
14984 wxBufferedDC
*result
;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14989 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15010 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 Py_INCREF(Py_None
); resultobj
= Py_None
;
15035 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15063 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15065 return Py_BuildValue((char *)"");
15067 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxWindow
*arg1
= (wxWindow
*) 0 ;
15070 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15071 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15072 wxBufferedPaintDC
*result
;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "window",(char *) "buffer", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15086 if (arg2
== NULL
) {
15087 PyErr_SetString(PyExc_TypeError
,"null reference");
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15105 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15108 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15110 return Py_BuildValue((char *)"");
15112 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxScreenDC
*result
;
15115 char *kwnames
[] = {
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (wxScreenDC
*)new wxScreenDC();
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15134 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15137 wxWindow
*arg2
= (wxWindow
*) 0 ;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self",(char *) "window", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15164 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
;
15166 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15167 wxRect
*arg2
= (wxRect
*) NULL
;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self",(char *) "rect", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15196 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= (bool)(arg1
)->EndDrawingOnTop();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15222 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15225 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15227 return Py_BuildValue((char *)"");
15229 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxWindow
*arg1
= (wxWindow
*) 0 ;
15232 wxClientDC
*result
;
15233 PyObject
* obj0
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "win", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (wxClientDC
*)new wxClientDC(arg1
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15255 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15258 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15260 return Py_BuildValue((char *)"");
15262 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxWindow
*arg1
= (wxWindow
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "win", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15288 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15291 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15293 return Py_BuildValue((char *)"");
15295 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxWindow
*arg1
= (wxWindow
*) 0 ;
15298 wxWindowDC
*result
;
15299 PyObject
* obj0
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "win", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15321 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15324 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15326 return Py_BuildValue((char *)"");
15328 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15332 wxMirrorDC
*result
;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "dc",(char *) "mirror", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15343 if (arg1
== NULL
) {
15344 PyErr_SetString(PyExc_TypeError
,"null reference");
15347 arg2
= (bool) SWIG_AsBool(obj1
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15363 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15366 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15368 return Py_BuildValue((char *)"");
15370 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxPrintData
*arg1
= 0 ;
15373 wxPostScriptDC
*result
;
15374 PyObject
* obj0
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "printData", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15383 if (arg1
== NULL
) {
15384 PyErr_SetString(PyExc_TypeError
,"null reference");
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15401 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15404 wxPrintData
*result
;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15417 result
= (wxPrintData
*) &_result_ref
;
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15430 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15433 wxPrintData
*arg2
= 0 ;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "data", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15446 if (arg2
== NULL
) {
15447 PyErr_SetString(PyExc_TypeError
,"null reference");
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 Py_INCREF(Py_None
); resultobj
= Py_None
;
15464 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15467 PyObject
* obj0
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "ppi", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15473 arg1
= (int) SWIG_AsInt(obj0
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 wxPostScriptDC::SetResolution(arg1
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 Py_INCREF(Py_None
); resultobj
= Py_None
;
15489 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15492 char *kwnames
[] = {
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (int)wxPostScriptDC::GetResolution();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= SWIG_FromInt((int)result
);
15511 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15514 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15516 return Py_BuildValue((char *)"");
15518 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15521 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15522 wxMetaFile
*result
;
15523 bool temp1
= False
;
15524 PyObject
* obj0
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "filename", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15532 arg1
= wxString_in_helper(obj0
);
15533 if (arg1
== NULL
) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15559 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15562 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15564 return Py_BuildValue((char *)"");
15566 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15569 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15570 int arg2
= (int) 0 ;
15571 int arg3
= (int) 0 ;
15572 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15573 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15574 wxMetaFileDC
*result
;
15575 bool temp1
= False
;
15576 bool temp4
= False
;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 PyObject
* obj2
= 0 ;
15580 PyObject
* obj3
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15588 arg1
= wxString_in_helper(obj0
);
15589 if (arg1
== NULL
) SWIG_fail
;
15594 arg2
= (int) SWIG_AsInt(obj1
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15598 arg3
= (int) SWIG_AsInt(obj2
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15603 arg4
= wxString_in_helper(obj3
);
15604 if (arg4
== NULL
) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
15638 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15641 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15643 return Py_BuildValue((char *)"");
15645 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxPrintData
*arg1
= 0 ;
15648 wxPrinterDC
*result
;
15649 PyObject
* obj0
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "printData", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15658 if (arg1
== NULL
) {
15659 PyErr_SetString(PyExc_TypeError
,"null reference");
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
15676 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15679 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15681 return Py_BuildValue((char *)"");
15683 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
;
15687 int arg3
= (int) True
;
15688 int arg4
= (int) 1 ;
15689 wxImageList
*result
;
15690 PyObject
* obj0
= 0 ;
15691 PyObject
* obj1
= 0 ;
15692 PyObject
* obj2
= 0 ;
15693 PyObject
* obj3
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15699 arg1
= (int) SWIG_AsInt(obj0
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15701 arg2
= (int) SWIG_AsInt(obj1
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 arg3
= (int) SWIG_AsInt(obj2
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 arg4
= (int) SWIG_AsInt(obj3
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= wxPyMake_wxObject(result
);
15727 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxImageList
*arg1
= (wxImageList
*) 0 ;
15730 PyObject
* obj0
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 Py_INCREF(Py_None
); resultobj
= Py_None
;
15752 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxImageList
*arg1
= (wxImageList
*) 0 ;
15755 wxBitmap
*arg2
= 0 ;
15756 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15757 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15759 PyObject
* obj0
= 0 ;
15760 PyObject
* obj1
= 0 ;
15761 PyObject
* obj2
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15772 if (arg2
== NULL
) {
15773 PyErr_SetString(PyExc_TypeError
,"null reference");
15777 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15780 if (arg3
== NULL
) {
15781 PyErr_SetString(PyExc_TypeError
,"null reference");
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_FromInt((int)result
);
15799 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxImageList
*arg1
= (wxImageList
*) 0 ;
15802 wxBitmap
*arg2
= 0 ;
15803 wxColour
*arg3
= 0 ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 PyObject
* obj2
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15819 if (arg2
== NULL
) {
15820 PyErr_SetString(PyExc_TypeError
,"null reference");
15825 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15834 resultobj
= SWIG_FromInt((int)result
);
15841 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxImageList
*arg1
= (wxImageList
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self",(char *) "icon", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15858 if (arg2
== NULL
) {
15859 PyErr_SetString(PyExc_TypeError
,"null reference");
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_FromInt((int)result
);
15876 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxImageList
*arg1
= (wxImageList
*) 0 ;
15880 wxBitmap
*arg3
= 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 PyObject
* obj2
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15892 arg2
= (int) SWIG_AsInt(obj1
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15894 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
15895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15897 if (arg3
== NULL
) {
15898 PyErr_SetString(PyExc_TypeError
,"null reference");
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15915 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxImageList
*arg1
= (wxImageList
*) 0 ;
15922 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15923 bool arg7
= (bool) (bool)False
;
15925 PyObject
* obj0
= 0 ;
15926 PyObject
* obj1
= 0 ;
15927 PyObject
* obj2
= 0 ;
15928 PyObject
* obj3
= 0 ;
15929 PyObject
* obj4
= 0 ;
15930 PyObject
* obj5
= 0 ;
15931 PyObject
* obj6
= 0 ;
15932 char *kwnames
[] = {
15933 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 arg2
= (int) SWIG_AsInt(obj1
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15941 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
15942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15944 if (arg3
== NULL
) {
15945 PyErr_SetString(PyExc_TypeError
,"null reference");
15948 arg4
= (int) SWIG_AsInt(obj3
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15950 arg5
= (int) SWIG_AsInt(obj4
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 arg6
= (int) SWIG_AsInt(obj5
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15957 arg7
= (bool const) SWIG_AsBool(obj6
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15974 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxImageList
*arg1
= (wxImageList
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
15985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 result
= (int)(arg1
)->GetImageCount();
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= SWIG_FromInt((int)result
);
16000 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxImageList
*arg1
= (wxImageList
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "index", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 arg2
= (int) SWIG_AsInt(obj1
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)(arg1
)->Remove(arg2
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16030 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxImageList
*arg1
= (wxImageList
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (bool)(arg1
)->RemoveAll();
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16056 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxImageList
*arg1
= (wxImageList
*) 0 ;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self",(char *) "index", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16075 arg2
= (int) SWIG_AsInt(obj1
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 Py_INCREF(Py_None
); resultobj
= Py_None
;
16086 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16087 resultobj
= t_output_helper(resultobj
,o
);
16090 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16091 resultobj
= t_output_helper(resultobj
,o
);
16099 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16102 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16104 return Py_BuildValue((char *)"");
16106 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
16107 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16112 static PyObject
*_wrap_NORMAL_FONT_get() {
16115 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16120 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
16121 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16126 static PyObject
*_wrap_SMALL_FONT_get() {
16129 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16134 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16135 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16140 static PyObject
*_wrap_ITALIC_FONT_get() {
16143 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16148 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16149 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16154 static PyObject
*_wrap_SWISS_FONT_get() {
16157 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16162 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16163 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16168 static PyObject
*_wrap_RED_PEN_get() {
16171 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16176 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16177 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16182 static PyObject
*_wrap_CYAN_PEN_get() {
16185 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16190 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16191 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16196 static PyObject
*_wrap_GREEN_PEN_get() {
16199 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16204 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16205 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16210 static PyObject
*_wrap_BLACK_PEN_get() {
16213 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16218 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16219 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16224 static PyObject
*_wrap_WHITE_PEN_get() {
16227 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16232 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16233 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16238 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16241 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16246 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16247 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16252 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16255 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16260 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16261 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16266 static PyObject
*_wrap_GREY_PEN_get() {
16269 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16274 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16275 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16280 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16283 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16288 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16289 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16294 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16297 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16302 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16303 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16308 static PyObject
*_wrap_BLUE_BRUSH_get() {
16311 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16316 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16317 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16322 static PyObject
*_wrap_GREEN_BRUSH_get() {
16325 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16330 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16331 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16336 static PyObject
*_wrap_WHITE_BRUSH_get() {
16339 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16344 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16345 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16350 static PyObject
*_wrap_BLACK_BRUSH_get() {
16353 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16358 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16359 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16364 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16367 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16372 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16373 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16378 static PyObject
*_wrap_CYAN_BRUSH_get() {
16381 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16386 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16387 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16392 static PyObject
*_wrap_RED_BRUSH_get() {
16395 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16400 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16401 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16406 static PyObject
*_wrap_GREY_BRUSH_get() {
16409 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16414 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16415 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16420 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16423 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16428 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16429 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16434 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16437 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16442 static int _wrap_BLACK_set(PyObject
*_val
) {
16443 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16448 static PyObject
*_wrap_BLACK_get() {
16451 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16456 static int _wrap_WHITE_set(PyObject
*_val
) {
16457 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16462 static PyObject
*_wrap_WHITE_get() {
16465 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16470 static int _wrap_RED_set(PyObject
*_val
) {
16471 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16476 static PyObject
*_wrap_RED_get() {
16479 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16484 static int _wrap_BLUE_set(PyObject
*_val
) {
16485 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16490 static PyObject
*_wrap_BLUE_get() {
16493 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16498 static int _wrap_GREEN_set(PyObject
*_val
) {
16499 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16504 static PyObject
*_wrap_GREEN_get() {
16507 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
16512 static int _wrap_CYAN_set(PyObject
*_val
) {
16513 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16518 static PyObject
*_wrap_CYAN_get() {
16521 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
16526 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16527 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16532 static PyObject
*_wrap_LIGHT_GREY_get() {
16535 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
16540 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16541 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16546 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16549 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16554 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16555 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16560 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16563 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16568 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16569 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16574 static PyObject
*_wrap_CROSS_CURSOR_get() {
16577 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
16582 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16583 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16588 static PyObject
*_wrap_NullBitmap_get() {
16591 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
16596 static int _wrap_NullIcon_set(PyObject
*_val
) {
16597 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16602 static PyObject
*_wrap_NullIcon_get() {
16605 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
16610 static int _wrap_NullCursor_set(PyObject
*_val
) {
16611 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16616 static PyObject
*_wrap_NullCursor_get() {
16619 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
16624 static int _wrap_NullPen_set(PyObject
*_val
) {
16625 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16630 static PyObject
*_wrap_NullPen_get() {
16633 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
16638 static int _wrap_NullBrush_set(PyObject
*_val
) {
16639 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16644 static PyObject
*_wrap_NullBrush_get() {
16647 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
16652 static int _wrap_NullPalette_set(PyObject
*_val
) {
16653 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16658 static PyObject
*_wrap_NullPalette_get() {
16661 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
16666 static int _wrap_NullFont_set(PyObject
*_val
) {
16667 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16672 static PyObject
*_wrap_NullFont_get() {
16675 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
16680 static int _wrap_NullColour_set(PyObject
*_val
) {
16681 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16686 static PyObject
*_wrap_NullColour_get() {
16689 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
16694 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxPenList
*arg1
= (wxPenList
*) 0 ;
16697 wxPen
*arg2
= (wxPen
*) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "self",(char *) "pen", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->AddPen(arg2
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 Py_INCREF(Py_None
); resultobj
= Py_None
;
16723 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxPenList
*arg1
= (wxPenList
*) 0 ;
16726 wxColour
*arg2
= 0 ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 PyObject
* obj2
= 0 ;
16734 PyObject
* obj3
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16746 arg3
= (int) SWIG_AsInt(obj2
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16748 arg4
= (int) SWIG_AsInt(obj3
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
16764 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxPenList
*arg1
= (wxPenList
*) 0 ;
16767 wxPen
*arg2
= (wxPen
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self",(char *) "pen", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
16778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 (arg1
)->RemovePen(arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 Py_INCREF(Py_None
); resultobj
= Py_None
;
16793 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxPenList
*arg1
= (wxPenList
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "self", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
16804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (int)(arg1
)->GetCount();
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_FromInt((int)result
);
16819 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16822 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16824 return Py_BuildValue((char *)"");
16826 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16829 wxBrush
*arg2
= (wxBrush
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self",(char *) "brush", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 (arg1
)->AddBrush(arg2
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 Py_INCREF(Py_None
); resultobj
= Py_None
;
16855 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16858 wxColour
*arg2
= 0 ;
16862 PyObject
* obj0
= 0 ;
16863 PyObject
* obj1
= 0 ;
16864 PyObject
* obj2
= 0 ;
16865 char *kwnames
[] = {
16866 (char *) "self",(char *) "colour",(char *) "style", NULL
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16876 arg3
= (int) SWIG_AsInt(obj2
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
16892 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16895 wxBrush
*arg2
= (wxBrush
*) 0 ;
16896 PyObject
* obj0
= 0 ;
16897 PyObject
* obj1
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "self",(char *) "brush", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
16906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 (arg1
)->RemoveBrush(arg2
);
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 Py_INCREF(Py_None
); resultobj
= Py_None
;
16921 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16923 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "self", NULL
16930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
16932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (int)(arg1
)->GetCount();
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= SWIG_FromInt((int)result
);
16947 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
16949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16950 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16952 return Py_BuildValue((char *)"");
16954 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxColourDatabase
*result
;
16957 char *kwnames
[] = {
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (wxColourDatabase
*)new wxColourDatabase();
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
16976 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16979 PyObject
* obj0
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 Py_INCREF(Py_None
); resultobj
= Py_None
;
17001 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17004 wxString
*arg2
= 0 ;
17006 bool temp2
= False
;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self",(char *) "name", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 arg2
= wxString_in_helper(obj1
);
17018 if (arg2
== NULL
) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 wxColour
* resultptr
;
17030 resultptr
= new wxColour((wxColour
&) result
);
17031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17047 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17050 wxColour
*arg2
= 0 ;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "colour", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17086 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17089 wxString
*arg2
= 0 ;
17090 wxColour
*arg3
= 0 ;
17091 bool temp2
= False
;
17093 PyObject
* obj0
= 0 ;
17094 PyObject
* obj1
= 0 ;
17095 PyObject
* obj2
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self",(char *) "name",(char *) "colour", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17104 arg2
= wxString_in_helper(obj1
);
17105 if (arg2
== NULL
) SWIG_fail
;
17110 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 Py_INCREF(Py_None
); resultobj
= Py_None
;
17134 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17137 wxString
*arg2
= 0 ;
17141 bool temp2
= False
;
17142 PyObject
* obj0
= 0 ;
17143 PyObject
* obj1
= 0 ;
17144 PyObject
* obj2
= 0 ;
17145 PyObject
* obj3
= 0 ;
17146 PyObject
* obj4
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 arg2
= wxString_in_helper(obj1
);
17156 if (arg2
== NULL
) SWIG_fail
;
17159 arg3
= (int) SWIG_AsInt(obj2
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17161 arg4
= (int) SWIG_AsInt(obj3
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17163 arg5
= (int) SWIG_AsInt(obj4
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 Py_INCREF(Py_None
); resultobj
= Py_None
;
17187 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17190 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17192 return Py_BuildValue((char *)"");
17194 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxFontList
*arg1
= (wxFontList
*) 0 ;
17197 wxFont
*arg2
= (wxFont
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self",(char *) "font", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 (arg1
)->AddFont(arg2
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 Py_INCREF(Py_None
); resultobj
= Py_None
;
17223 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxFontList
*arg1
= (wxFontList
*) 0 ;
17230 bool arg6
= (bool) False
;
17231 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17232 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17233 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17235 bool temp7
= False
;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 PyObject
* obj2
= 0 ;
17239 PyObject
* obj3
= 0 ;
17240 PyObject
* obj4
= 0 ;
17241 PyObject
* obj5
= 0 ;
17242 PyObject
* obj6
= 0 ;
17243 PyObject
* obj7
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17251 arg2
= (int) SWIG_AsInt(obj1
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17253 arg3
= (int) SWIG_AsInt(obj2
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17255 arg4
= (int) SWIG_AsInt(obj3
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17257 arg5
= (int) SWIG_AsInt(obj4
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 arg6
= (bool) SWIG_AsBool(obj5
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17265 arg7
= wxString_in_helper(obj6
);
17266 if (arg7
== NULL
) SWIG_fail
;
17271 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17296 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17298 wxFontList
*arg1
= (wxFontList
*) 0 ;
17299 wxFont
*arg2
= (wxFont
*) 0 ;
17300 PyObject
* obj0
= 0 ;
17301 PyObject
* obj1
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self",(char *) "font", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 (arg1
)->RemoveFont(arg2
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxFontList
*arg1
= (wxFontList
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (int)(arg1
)->GetCount();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= SWIG_FromInt((int)result
);
17351 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17354 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17356 return Py_BuildValue((char *)"");
17358 static int _wrap_TheFontList_set(PyObject
*_val
) {
17359 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17364 static PyObject
*_wrap_TheFontList_get() {
17367 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17372 static int _wrap_ThePenList_set(PyObject
*_val
) {
17373 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17378 static PyObject
*_wrap_ThePenList_get() {
17381 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17386 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17387 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17392 static PyObject
*_wrap_TheBrushList_get() {
17395 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17400 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17401 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17406 static PyObject
*_wrap_TheColourDatabase_get() {
17409 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17414 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17417 char *kwnames
[] = {
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (wxEffects
*)new wxEffects();
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17436 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxEffects
*arg1
= (wxEffects
*) 0 ;
17440 PyObject
* obj0
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17456 wxColour
* resultptr
;
17457 resultptr
= new wxColour((wxColour
&) result
);
17458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17466 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxEffects
*arg1
= (wxEffects
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 wxColour
* resultptr
;
17487 resultptr
= new wxColour((wxColour
&) result
);
17488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17496 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxEffects
*arg1
= (wxEffects
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 wxColour
* resultptr
;
17517 resultptr
= new wxColour((wxColour
&) result
);
17518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17526 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxEffects
*arg1
= (wxEffects
*) 0 ;
17530 PyObject
* obj0
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 wxColour
* resultptr
;
17547 resultptr
= new wxColour((wxColour
&) result
);
17548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17556 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxEffects
*arg1
= (wxEffects
*) 0 ;
17560 PyObject
* obj0
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 wxColour
* resultptr
;
17577 resultptr
= new wxColour((wxColour
&) result
);
17578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17586 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxEffects
*arg1
= (wxEffects
*) 0 ;
17589 wxColour
*arg2
= 0 ;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self",(char *) "c", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 Py_INCREF(Py_None
); resultobj
= Py_None
;
17618 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxEffects
*arg1
= (wxEffects
*) 0 ;
17621 wxColour
*arg2
= 0 ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "c", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17634 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 Py_INCREF(Py_None
); resultobj
= Py_None
;
17650 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxEffects
*arg1
= (wxEffects
*) 0 ;
17653 wxColour
*arg2
= 0 ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self",(char *) "c", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 Py_INCREF(Py_None
); resultobj
= Py_None
;
17682 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxEffects
*arg1
= (wxEffects
*) 0 ;
17685 wxColour
*arg2
= 0 ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self",(char *) "c", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 Py_INCREF(Py_None
); resultobj
= Py_None
;
17714 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxEffects
*arg1
= (wxEffects
*) 0 ;
17717 wxColour
*arg2
= 0 ;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "c", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 Py_INCREF(Py_None
); resultobj
= Py_None
;
17746 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxEffects
*arg1
= (wxEffects
*) 0 ;
17749 wxColour
*arg2
= 0 ;
17750 wxColour
*arg3
= 0 ;
17751 wxColour
*arg4
= 0 ;
17752 wxColour
*arg5
= 0 ;
17753 wxColour
*arg6
= 0 ;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 PyObject
* obj2
= 0 ;
17762 PyObject
* obj3
= 0 ;
17763 PyObject
* obj4
= 0 ;
17764 PyObject
* obj5
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17778 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17782 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17786 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17790 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17799 Py_INCREF(Py_None
); resultobj
= Py_None
;
17806 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
;
17808 wxEffects
*arg1
= (wxEffects
*) 0 ;
17811 int arg4
= (int) 1 ;
17813 PyObject
* obj0
= 0 ;
17814 PyObject
* obj1
= 0 ;
17815 PyObject
* obj2
= 0 ;
17816 PyObject
* obj3
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17827 if (arg2
== NULL
) {
17828 PyErr_SetString(PyExc_TypeError
,"null reference");
17833 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17836 arg4
= (int) SWIG_AsInt(obj3
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 Py_INCREF(Py_None
); resultobj
= Py_None
;
17853 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxEffects
*arg1
= (wxEffects
*) 0 ;
17858 wxBitmap
*arg4
= 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 PyObject
* obj2
= 0 ;
17864 PyObject
* obj3
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17874 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17876 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
17877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17879 if (arg3
== NULL
) {
17880 PyErr_SetString(PyExc_TypeError
,"null reference");
17883 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17886 if (arg4
== NULL
) {
17887 PyErr_SetString(PyExc_TypeError
,"null reference");
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17907 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17909 return Py_BuildValue((char *)"");
17911 static PyMethodDef SwigMethods
[] = {
17912 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17913 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17914 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17915 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17916 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17917 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17918 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17919 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17920 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17921 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17922 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17923 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17924 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17925 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17926 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17927 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17928 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
17929 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17930 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17931 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17932 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17933 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17934 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17935 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17936 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17937 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17938 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17939 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17940 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17941 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17942 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17943 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17944 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17945 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17946 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17947 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17948 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17949 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17950 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17951 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17952 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17953 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17954 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17955 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17956 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17957 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17958 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
17959 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17960 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17961 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17962 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17963 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17964 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17965 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17966 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17967 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17968 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17969 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17970 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17971 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17972 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17973 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17974 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17975 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17976 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17977 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17978 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17979 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17980 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17981 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17982 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17983 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17984 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17985 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17986 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17987 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17988 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17989 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17990 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17991 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17992 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17993 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17994 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17995 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17996 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17997 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17998 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17999 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18000 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18001 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18002 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18003 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18004 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18005 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18006 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18007 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18008 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18009 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18010 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18011 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18012 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18013 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18014 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18015 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18016 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18017 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18018 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18019 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18020 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18021 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18022 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18023 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18024 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18025 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18026 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18027 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18028 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18029 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18030 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18031 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18032 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18033 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18034 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18035 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18036 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18037 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18038 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18039 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18040 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18041 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18042 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18043 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18044 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18045 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18046 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18047 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18048 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18049 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18050 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18051 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18052 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18053 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18054 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18055 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18056 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18057 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18058 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18059 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18060 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18061 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18062 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18063 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18064 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18065 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18066 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18067 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18068 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18069 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18070 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18071 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18072 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18073 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18074 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18075 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18076 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18077 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18078 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18079 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18080 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18081 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18082 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18083 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18084 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18085 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18086 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18087 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18088 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18089 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18090 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18091 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18092 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18093 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18094 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18095 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18096 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18097 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18098 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18099 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18100 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18101 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18102 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18103 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18104 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18105 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18106 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18107 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18108 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18109 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18110 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18111 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18112 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18113 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18114 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18115 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18116 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18117 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18118 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18119 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18120 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18121 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18122 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18123 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18124 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18125 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18126 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18127 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18128 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18129 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18130 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18131 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18132 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18133 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18134 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18135 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18136 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18137 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18138 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18139 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18140 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18141 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18142 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18143 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18144 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18145 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18146 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18147 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18148 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18149 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18150 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18151 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18152 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18153 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18154 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18155 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18156 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18157 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18158 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18159 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18160 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18161 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18162 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18163 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18164 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18165 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18166 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18167 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18168 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18169 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18170 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18171 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18172 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18173 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18174 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18177 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18178 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18179 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18180 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18181 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18182 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18184 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18185 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18186 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18191 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18195 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18196 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18197 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18198 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18201 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18202 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18203 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18206 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18208 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18210 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18211 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18213 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18215 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18216 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18217 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18219 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18221 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18227 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18229 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18231 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18233 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18234 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18235 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18242 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18245 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18250 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18255 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18262 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18267 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18282 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18283 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18284 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18285 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18286 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18287 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18288 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18289 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18290 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18291 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18292 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18293 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18294 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18295 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18296 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18297 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18298 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18299 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18300 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18301 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18302 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18303 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18304 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18305 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18306 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18307 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18308 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18309 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18310 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18311 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18312 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18313 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18314 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18315 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18316 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18317 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18318 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18319 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18320 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18321 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18322 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18323 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18324 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18325 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18326 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18327 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18328 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18329 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18330 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18331 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18332 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18333 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18334 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18335 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18336 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18337 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18338 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18339 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18340 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18341 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18342 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18343 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18344 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18345 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18346 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18347 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18348 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18349 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18350 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18351 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18352 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18353 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18354 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18355 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18356 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18357 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18358 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18359 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18360 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18361 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18362 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18363 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18364 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18365 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18366 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18367 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18368 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18369 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18370 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18371 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18372 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18373 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18374 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18375 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18376 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18377 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18378 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18379 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18380 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18381 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18382 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18383 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18384 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18385 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18386 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18387 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18388 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18389 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18390 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18391 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18392 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18393 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18394 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18395 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18396 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18397 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18398 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18399 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18400 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18401 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18402 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18403 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18404 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18405 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18406 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18407 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18408 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18409 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18410 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18411 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18412 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18413 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18414 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18415 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18416 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18417 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18418 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18419 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18420 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18421 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18422 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18423 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18424 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18425 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18426 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18431 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18433 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18434 return (void *)((wxWindow
*) ((wxControl
*) x
));
18436 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18437 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18439 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18440 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18442 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18443 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18445 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18446 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18448 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18449 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18451 static void *_p_wxPenTo_p_wxObject(void *x
) {
18452 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18454 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18455 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18457 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18458 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18460 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18461 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18463 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18464 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18466 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18467 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18469 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18470 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18472 static void *_p_wxIconTo_p_wxObject(void *x
) {
18473 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18475 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18476 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18478 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18479 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18481 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18482 return (void *)((wxObject
*) ((wxSizer
*) x
));
18484 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18485 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18487 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18490 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18491 return (void *)((wxObject
*) ((wxPenList
*) x
));
18493 static void *_p_wxEventTo_p_wxObject(void *x
) {
18494 return (void *)((wxObject
*) ((wxEvent
*) x
));
18496 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18497 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18499 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18500 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18502 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18503 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18505 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18506 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18508 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18509 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18511 static void *_p_wxDCTo_p_wxObject(void *x
) {
18512 return (void *)((wxObject
*) ((wxDC
*) x
));
18514 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18515 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18517 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18518 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18520 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18521 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18523 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18524 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18526 static void *_p_wxControlTo_p_wxObject(void *x
) {
18527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18529 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18530 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18532 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18533 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18535 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18536 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18538 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18539 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18541 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18542 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18544 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18545 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18547 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18548 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18550 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18551 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18553 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18554 return (void *)((wxObject
*) ((wxEffects
*) x
));
18556 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18557 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18559 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18562 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18563 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18565 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18566 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18568 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18569 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18571 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18572 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18574 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18577 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18578 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18580 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18581 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18583 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18584 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18586 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18587 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18589 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18590 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18592 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18593 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18595 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18596 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18598 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18599 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18601 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18602 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18604 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18605 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18607 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18608 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18610 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18611 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18613 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18614 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18616 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18617 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18619 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18620 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18622 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18623 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18625 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18626 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18628 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18629 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18631 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18632 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18634 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18635 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18637 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18638 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18640 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18641 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18643 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18644 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18646 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18647 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18649 static void *_p_wxImageTo_p_wxObject(void *x
) {
18650 return (void *)((wxObject
*) ((wxImage
*) x
));
18652 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18653 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18655 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18656 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18658 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18659 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18661 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18662 return (void *)((wxObject
*) ((wxImageList
*) x
));
18664 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18665 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18667 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18668 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18670 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18671 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18673 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18674 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18676 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18677 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18679 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18680 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18682 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18683 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18685 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18686 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18688 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18691 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18692 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18694 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18695 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18697 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18698 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18700 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18701 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18703 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18704 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18706 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18707 return (void *)((wxObject
*) ((wxMask
*) x
));
18709 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18710 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18712 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18713 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18715 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18716 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18718 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18719 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18721 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18722 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18724 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18725 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18727 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18730 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18731 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18733 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18734 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18736 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18737 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18739 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18742 static void *_p_wxFontTo_p_wxObject(void *x
) {
18743 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18745 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18746 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18748 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18749 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18751 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18754 static void *_p_wxColourTo_p_wxObject(void *x
) {
18755 return (void *)((wxObject
*) ((wxColour
*) x
));
18757 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18758 return (void *)((wxObject
*) ((wxFontList
*) x
));
18760 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18763 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18764 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18766 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18767 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18769 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18770 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18772 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18773 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18775 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18776 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18778 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18779 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18781 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18782 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18784 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18785 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18787 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18788 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18790 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18791 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18793 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18794 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18796 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18797 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18799 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18800 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18802 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18803 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18805 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18806 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18808 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18809 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18811 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18812 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18814 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18815 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18817 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18818 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18820 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18821 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18823 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18824 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18826 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18827 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18829 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18830 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18832 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}};
18833 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}};
18834 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}};
18835 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}};
18836 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}};
18837 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}};
18838 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}};
18839 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}};
18840 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}};
18841 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}};
18842 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}};
18843 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}};
18844 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}};
18845 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}};
18846 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}};
18847 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}};
18848 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}};
18849 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}};
18850 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}};
18851 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}};
18852 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}};
18853 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}};
18854 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}};
18855 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}};
18856 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}};
18857 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}};
18858 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}};
18859 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}};
18860 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}};
18861 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}};
18862 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}};
18863 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}};
18864 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}};
18865 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}};
18866 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}};
18867 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}};
18868 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}};
18869 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}};
18870 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}};
18871 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}};
18872 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}};
18873 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}};
18874 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}};
18875 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}};
18876 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}};
18877 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}};
18878 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}};
18879 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}};
18880 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}};
18881 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}};
18882 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}};
18883 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}};
18884 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}};
18885 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}};
18886 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}};
18887 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}};
18889 static swig_type_info
*swig_types_initial
[] = {
18890 _swigt__p_wxPostScriptDC
,
18892 _swigt__p_wxColour
,
18894 _swigt__p_wxMirrorDC
,
18896 _swigt__p_wxPyFontEnumerator
,
18898 _swigt__p_wxIconLocation
,
18900 _swigt__p_wxMetaFileDC
,
18903 _swigt__p_wxWindow
,
18906 _swigt__p_wxMemoryDC
,
18907 _swigt__p_wxFontMapper
,
18908 _swigt__p_wxEffects
,
18909 _swigt__p_wxNativeEncodingInfo
,
18910 _swigt__p_wxPalette
,
18911 _swigt__p_wxBitmap
,
18912 _swigt__p_wxObject
,
18913 _swigt__p_wxRegionIterator
,
18915 _swigt__p_wxString
,
18916 _swigt__p_wxPrinterDC
,
18917 _swigt__p_wxIconBundle
,
18920 _swigt__p_wxScreenDC
,
18921 _swigt__p_wxCursor
,
18922 _swigt__p_wxClientDC
,
18923 _swigt__p_wxBufferedDC
,
18924 _swigt__p_wxImageList
,
18925 _swigt__p_unsigned_char
,
18926 _swigt__p_wxGDIObject
,
18928 _swigt__p_wxLocale
,
18929 _swigt__p_wxRegion
,
18930 _swigt__p_wxLanguageInfo
,
18931 _swigt__p_wxConfigBase
,
18932 _swigt__p_wxWindowDC
,
18933 _swigt__p_wxPrintData
,
18934 _swigt__p_wxBrushList
,
18935 _swigt__p_wxFontList
,
18937 _swigt__p_wxBufferedPaintDC
,
18938 _swigt__p_wxPaintDC
,
18939 _swigt__p_wxPenList
,
18942 _swigt__p_wxMetaFile
,
18943 _swigt__p_wxNativeFontInfo
,
18944 _swigt__p_wxEncodingConverter
,
18945 _swigt__p_wxColourDatabase
,
18950 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18952 static swig_const_info swig_const_table
[] = {
18962 SWIGEXPORT(void) SWIG_init(void) {
18963 static PyObject
*SWIG_globals
= 0;
18964 static int typeinit
= 0;
18967 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18968 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18969 d
= PyModule_GetDict(m
);
18972 for (i
= 0; swig_types_initial
[i
]; i
++) {
18973 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18977 SWIG_InstallConstants(d
,swig_const_table
);
18979 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
18980 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
18981 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
18982 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
18983 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18984 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
18985 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
18986 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
18987 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
18988 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
18989 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
18990 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18991 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
18992 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
18993 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
18994 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
18995 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
18996 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
18997 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
18998 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
18999 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19000 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19001 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19002 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19003 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19004 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19005 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19006 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19007 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19008 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19009 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19010 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19011 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19012 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19013 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19014 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19015 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19016 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19017 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19018 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19019 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19020 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19021 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19022 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19023 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19024 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19025 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19026 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19027 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19028 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19029 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19030 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19031 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19032 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19033 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19034 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19035 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19036 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19037 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19038 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19039 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19040 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19041 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19042 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19043 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19044 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19045 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19046 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19047 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19048 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19049 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19050 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19051 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19052 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19053 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19054 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19055 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19056 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19057 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19058 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19059 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19060 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19061 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19062 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19063 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19064 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19065 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19066 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19067 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19068 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19069 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19070 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19071 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19072 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19073 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19074 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19075 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19076 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19077 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19078 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19079 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19080 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19081 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19082 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19083 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19084 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19085 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19086 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19087 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19088 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19089 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19090 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19091 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19092 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19093 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19094 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19095 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19096 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19097 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19098 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19099 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19100 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19101 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19102 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19103 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19104 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19106 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19108 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19109 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19110 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19111 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19112 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19113 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19114 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19115 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19116 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19117 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19118 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19119 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19120 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19121 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19122 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19123 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19124 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19125 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19126 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19127 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19128 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19129 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19130 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19131 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19132 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19133 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19134 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19135 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19136 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19137 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19138 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19139 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19140 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19141 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19142 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19143 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19144 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19145 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19146 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19147 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19148 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19149 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19150 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19151 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19152 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19153 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19154 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19155 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19156 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19157 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19158 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19159 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19160 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19161 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19162 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19163 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19164 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19165 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19166 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19167 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19168 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19169 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19170 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19171 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19172 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19173 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19174 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19175 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19176 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19177 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19178 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19179 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19180 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19181 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19182 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19183 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19184 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19185 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19186 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19187 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19188 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19189 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19190 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19191 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19192 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19193 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19194 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19195 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19196 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19197 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19198 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19199 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19200 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19201 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19202 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19203 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19204 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19205 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19206 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19207 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19208 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19209 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19210 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19211 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19212 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19213 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19214 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19215 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19216 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19217 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19218 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19219 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19220 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19221 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19222 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19223 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19224 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19225 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19226 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19227 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19228 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19229 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19230 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19231 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19232 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19233 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19234 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19235 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19236 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19237 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19238 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19239 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19240 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19241 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19242 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19243 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19244 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19245 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19246 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19247 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19248 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19249 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19250 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19251 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19252 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19253 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19254 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19255 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19256 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19257 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19258 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19259 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19260 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19261 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19262 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19263 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19264 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19265 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19266 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19267 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19268 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19269 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19270 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19271 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19272 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19273 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19274 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19275 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19276 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19277 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19278 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19279 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19280 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19281 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19282 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19283 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19284 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19285 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19286 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19287 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19288 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19289 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19290 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19291 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19292 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19293 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19294 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19295 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19296 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19297 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19298 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19299 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19300 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19301 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19302 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19303 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19304 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19305 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19306 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19307 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19308 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19309 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19310 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19311 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19312 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19313 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19314 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19315 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19316 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19317 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19318 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19319 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19320 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19321 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19322 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19323 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19324 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19325 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19326 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19327 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19328 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19329 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19330 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19331 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19332 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19333 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19334 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19335 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19336 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19337 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19338 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19339 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19340 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19341 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19342 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19343 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19344 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19345 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19346 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19347 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19348 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19349 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19350 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19351 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19352 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19353 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19354 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19355 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19356 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19357 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19358 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19359 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19360 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19361 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19362 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19363 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19364 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19365 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19366 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19367 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19368 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19369 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19370 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19371 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19372 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19373 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19374 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19375 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19376 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19377 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19378 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19379 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19380 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19381 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19382 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19383 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19384 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19385 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19386 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19387 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19388 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19389 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19390 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19391 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19392 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19393 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19394 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19395 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19396 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19397 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19398 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19399 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19400 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19401 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19402 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19403 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19404 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19405 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19406 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19407 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19409 // Work around a chicken/egg problem in drawlist.cpp
19410 wxPyDrawList_SetAPIPtr();