1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
210 #define SWIGTYPE_p_wxBrush swig_types[1]
211 #define SWIGTYPE_p_wxColour swig_types[2]
212 #define SWIGTYPE_p_wxDC swig_types[3]
213 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
214 #define SWIGTYPE_p_byte swig_types[5]
215 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
216 #define SWIGTYPE_p_char swig_types[7]
217 #define SWIGTYPE_p_wxIconLocation swig_types[8]
218 #define SWIGTYPE_p_wxImage swig_types[9]
219 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
220 #define SWIGTYPE_p_wxMask swig_types[11]
221 #define SWIGTYPE_p_wxSize swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxWindow swig_types[14]
224 #define SWIGTYPE_p_double swig_types[15]
225 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
226 #define SWIGTYPE_p_wxFontMapper swig_types[17]
227 #define SWIGTYPE_p_wxEffects swig_types[18]
228 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
229 #define SWIGTYPE_p_wxPalette swig_types[20]
230 #define SWIGTYPE_p_wxBitmap swig_types[21]
231 #define SWIGTYPE_p_wxObject swig_types[22]
232 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
233 #define SWIGTYPE_p_wxRect swig_types[24]
234 #define SWIGTYPE_p_wxString swig_types[25]
235 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
236 #define SWIGTYPE_p_wxIconBundle swig_types[27]
237 #define SWIGTYPE_p_wxPoint swig_types[28]
238 #define SWIGTYPE_p_wxDash swig_types[29]
239 #define SWIGTYPE_p_wxScreenDC swig_types[30]
240 #define SWIGTYPE_p_wxCursor swig_types[31]
241 #define SWIGTYPE_p_wxClientDC swig_types[32]
242 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
243 #define SWIGTYPE_p_wxImageList swig_types[34]
244 #define SWIGTYPE_p_unsigned_char swig_types[35]
245 #define SWIGTYPE_p_wxGDIObject swig_types[36]
246 #define SWIGTYPE_p_wxIcon swig_types[37]
247 #define SWIGTYPE_p_wxLocale swig_types[38]
248 #define SWIGTYPE_p_wxRegion swig_types[39]
249 #define SWIGTYPE_p_wxConfigBase swig_types[40]
250 #define SWIGTYPE_p_wxLanguageInfo swig_types[41]
251 #define SWIGTYPE_p_wxWindowDC swig_types[42]
252 #define SWIGTYPE_p_wxPrintData swig_types[43]
253 #define SWIGTYPE_p_wxBrushList swig_types[44]
254 #define SWIGTYPE_p_wxFontList swig_types[45]
255 #define SWIGTYPE_p_wxPen swig_types[46]
256 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
257 #define SWIGTYPE_p_wxPaintDC swig_types[48]
258 #define SWIGTYPE_p_wxPenList swig_types[49]
259 #define SWIGTYPE_p_wxPyPen swig_types[50]
260 #define SWIGTYPE_p_int swig_types[51]
261 #define SWIGTYPE_p_wxMetaFile swig_types[52]
262 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
263 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
264 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
265 static swig_type_info
*swig_types
[57];
267 /* -------- TYPES TABLE (END) -------- */
270 /*-----------------------------------------------
272 ------------------------------------------------*/
273 #define SWIG_init init_gdi
275 #define SWIG_name "_gdi"
277 /* Auxiliar swig macros */
280 #define SWIGSTATICINLINE(a) static inline a
281 #define SWIGSTATIC(a) static a
282 #define swig_new_array(type, size) (new type[(size)])
283 #define swig_delete_array(cptr) delete[] cptr
284 #define swig_const_cast(type,a) const_cast<type>(a)
285 #define swig_static_cast(type,a) static_cast<type>(a)
286 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
288 #ifdef HAVE_NUMERIC_CAST
289 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
291 #define swig_numeric_cast(type,a) static_cast<type>(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
299 #define swig_delete_array(cptr) free((char*)cptr)
300 #define swig_const_cast(type,a) (type)(a)
301 #define swig_static_cast(type,a) (type)(a)
302 #define swig_reinterpret_cast(type,a) (type)(a)
303 #define swig_numeric_cast(type,a) (type)(a)
305 #endif /* __cplusplus */
308 #define SWIG_FromSignedChar PyInt_FromLong
309 #define SWIG_FromUnsignedChar PyInt_FromLong
310 #define SWIG_FromShort PyInt_FromLong
311 #define SWIG_FromUnsignedShort PyInt_FromLong
312 #define SWIG_FromInt PyInt_FromLong
313 #define SWIG_FromLong PyInt_FromLong
314 #define SWIG_FromFloat PyFloat_FromDouble
315 #define SWIG_FromDouble PyFloat_FromDouble
316 #define SWIG_FromFloat PyFloat_FromDouble
317 #define SWIG_FromDouble PyFloat_FromDouble
320 #include "wx/wxPython/wxPython.h"
321 #include "wx/wxPython/pyclasses.h"
324 static const wxString
wxPyEmptyString(wxEmptyString
);
326 SWIGSTATICINLINE(bool)
327 SWIG_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATICINLINE(int)
334 SWIG_CheckBool(PyObject
* obj
)
337 if (PyErr_Occurred()) {
349 SWIGSTATICINLINE(unsigned long)
350 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
351 unsigned long max_value
)
353 if (!PyErr_Occurred()) {
354 if (value
> max_value
) {
356 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
357 value
, type
, max_value
);
358 PyErr_SetObject(PyExc_OverflowError
, err
);
366 SWIGSTATICINLINE(long)
367 SWIG_AsLong(PyObject
* obj
)
369 if (PyNumber_Check(obj
))
370 return PyInt_AsLong(obj
);
372 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
373 obj
->ob_type
->tp_name
);
374 PyErr_SetObject(PyExc_TypeError
, errmsg
);
381 SWIGSTATICINLINE(unsigned long)
382 SWIG_AsUnsignedLong(PyObject
* obj
)
384 if (PyLong_Check(obj
)) {
385 return PyLong_AsUnsignedLong(obj
);
387 long i
= SWIG_AsLong(obj
);
388 if ( !PyErr_Occurred() && (i
< 0)) {
389 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
396 SWIGSTATICINLINE(unsigned char)
397 SWIG_AsUnsignedChar(PyObject
*obj
)
399 return swig_numeric_cast(unsigned char,
400 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
401 "unsigned char", UCHAR_MAX
));
405 SWIGSTATICINLINE(int)
406 SWIG_CheckUnsignedChar(PyObject
* obj
)
408 SWIG_AsUnsignedChar(obj
);
409 if (PyErr_Occurred()) {
418 SWIGSTATICINLINE(int)
419 SWIG_CheckUnsignedLong(PyObject
* obj
)
421 SWIG_AsUnsignedLong(obj
);
422 if (PyErr_Occurred()) {
430 PyObject
*wxColour_Get(wxColour
*self
){
431 PyObject
* rv
= PyTuple_New(3);
437 green
= self
->Green();
440 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
441 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
442 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
445 unsigned long wxColour_GetRGB(wxColour
*self
){
446 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
449 SWIGSTATICINLINE(PyObject
* )
450 SWIG_FromUnsignedLong(unsigned long value
)
452 return (value
> LONG_MAX
) ?
453 PyLong_FromUnsignedLong(value
)
454 : PyInt_FromLong(swig_numeric_cast(long,value
));
458 SWIGSTATICINLINE(long)
459 SWIG_CheckLongInRange(long value
, const char* type
,
460 long min_value
, long max_value
)
462 if (!PyErr_Occurred()) {
463 if (value
< min_value
) {
465 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
466 value
, type
, min_value
);
468 PyErr_SetObject(PyExc_OverflowError
, err
);
470 } else if (value
> max_value
) {
472 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
473 value
, type
, max_value
);
474 PyErr_SetObject(PyExc_OverflowError
, err
);
482 #if INT_MAX != LONG_MAX
483 SWIGSTATICINLINE(int)
484 SWIG_AsInt(PyObject
*obj
)
486 return swig_numeric_cast(int,
487 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
488 "int", INT_MIN
, INT_MAX
));
491 #define SWIG_AsInt SWIG_AsLong
495 SWIGSTATICINLINE(int)
496 SWIG_CheckInt(PyObject
* obj
)
499 if (PyErr_Occurred()) {
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
534 PyObject
*wxPen_GetDashes(wxPen
*self
){
536 int count
= self
->GetDashes(&dashes
);
537 bool blocked
= wxPyBeginBlockThreads();
538 PyObject
* retval
= PyList_New(0);
539 for (int x
=0; x
<count
; x
++)
540 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
541 wxPyEndBlockThreads(blocked
);
544 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
545 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
553 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
557 m_dash
= new wxDash
[nb_dashes
];
558 for (int i
=0; i
<nb_dashes
; i
++) {
561 wxPen::SetDashes(nb_dashes
, m_dash
);
565 SWIGSTATICINLINE(short)
566 SWIG_AsShort(PyObject
*obj
)
568 return swig_numeric_cast(short,
569 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
570 "short", SHRT_MIN
, SHRT_MAX
));
574 SWIGSTATICINLINE(int)
575 SWIG_CheckShort(PyObject
* obj
)
578 if (PyErr_Occurred()) {
587 #include <wx/image.h>
589 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
590 char** cArray
= NULL
;
593 if (!PyList_Check(listOfStrings
)) {
594 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
597 count
= PyList_Size(listOfStrings
);
598 cArray
= new char*[count
];
600 for(int x
=0; x
<count
; x
++) {
601 // TODO: Need some validation and error checking here
602 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
608 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
609 char** cArray
= NULL
;
612 cArray
= ConvertListOfStrings(listOfStrings
);
615 bmp
= new wxBitmap(cArray
);
619 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
622 PyString_AsStringAndSize(bits
, &buf
, &length
);
623 return new wxBitmap(buf
, width
, height
, depth
);
625 wxBitmap
*new_wxBitmap__SWIG_0(int width
,int height
,int depth
){
626 return new wxBitmap(width
, height
, depth
);
628 wxBitmap
*new_wxBitmap__SWIG_1(wxSize
const &size
,int depth
){
629 return new wxBitmap(size
.x
, size
.y
, depth
);
631 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
632 wxSize
size(self
->GetWidth(), self
->GetHeight());
635 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
636 wxMask
*mask
= new wxMask(*self
, colour
);
639 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
640 self
->SetWidth(size
.x
);
641 self
->SetHeight(size
.y
);
643 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
644 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
645 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
647 return new wxMask(bitmap
, *wxBLACK
);
649 return new wxMask(bitmap
, colour
);
652 #include <wx/iconbndl.h>
654 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
655 wxIcon
* icon
= new wxIcon();
656 icon
->CopyFromBitmap(bmp
);
659 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
660 char** cArray
= NULL
;
663 cArray
= ConvertListOfStrings(listOfStrings
);
666 icon
= new wxIcon(cArray
);
670 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
674 return new wxIconLocation(*filename
);
677 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
684 int wxIconLocation_GetIndex(wxIconLocation
*self
){
692 SWIGSTATICINLINE(int)
693 SWIG_CheckLong(PyObject
* obj
)
696 if (PyErr_Occurred()) {
704 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
706 wxCHECK_MSG(False
, NULL
,
707 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
709 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
714 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
715 wxPyRaiseNotImplemented();
718 void wxRegionIterator_Next(wxRegionIterator
*self
){
721 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
722 return self
->operator bool();
725 #include <wx/fontutil.h>
726 #include <wx/fontmap.h>
727 #include <wx/fontenum.h>
729 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
730 return self
->ToString();
733 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
734 static wxNativeEncodingInfo info
;
735 if ( wxGetNativeFontEncoding(encoding
, &info
) )
741 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
742 wxFontEncoding alt_enc
;
743 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
744 return PyInt_FromLong(alt_enc
);
750 wxFont
*new_wxFont(wxString
const &info
){
751 wxNativeFontInfo nfi
;
752 nfi
.FromString(info
);
753 return new wxFont(nfi
);
755 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
756 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
758 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
759 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
761 class wxPyFontEnumerator
: public wxFontEnumerator
{
763 wxPyFontEnumerator() {}
764 ~wxPyFontEnumerator() {}
766 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
767 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
772 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
773 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
776 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
777 wxArrayString
* arr
= self
->GetEncodings();
778 return wxArrayString2PyList_helper(*arr
);
780 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
781 wxArrayString
* arr
= self
->GetFacenames();
782 return wxArrayString2PyList_helper(*arr
);
787 #include "wx/wxPython/pydrawxxx.h"
789 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
791 self
->GetPixel(x
, y
, &col
);
794 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
796 self
->GetPixel(pt
, &col
);
800 SWIGSTATICINLINE(double)
801 SWIG_AsDouble(PyObject
*obj
)
803 if (PyNumber_Check(obj
))
804 return PyFloat_AsDouble(obj
);
806 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
807 obj
->ob_type
->tp_name
);
808 PyErr_SetObject(PyExc_TypeError
, errmsg
);
815 SWIGSTATICINLINE(int)
816 SWIG_CheckDouble(PyObject
* obj
)
819 if (PyErr_Occurred()) {
827 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
829 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
832 wxRect
wxDC_GetClippingRect(wxDC
*self
){
834 self
->GetClippingBox(rect
);
837 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
839 self
->GetPartialTextExtents(text
, widths
);
842 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
843 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
845 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
846 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
848 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
849 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
851 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
852 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
854 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
855 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
857 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
858 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
861 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
869 //-=-=-=-=-=-=-=-=-=-=-
872 // Use the standard wxBufferedDC
873 #include <wx/dcbuffer.h>
877 // Or, temporarily put a set of classes here similar to the old buffered DC
878 // classes until the real ones can be fixed to work "correctly" again.
880 class wxBufferedDC
: public wxMemoryDC
888 wxBufferedDC() : m_dc( 0 ) {}
890 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
891 : m_dc( dc
), m_buffer( buffer
)
893 SelectObject( m_buffer
);
896 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
897 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
899 SelectObject( m_buffer
);
908 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
909 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
910 _T("wxBufferedDC already initialised") );
913 SelectObject( m_buffer
);
916 void Init( wxDC
*dc
, const wxSize
&area
) {
917 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
918 _T("wxBufferedDC already initialised") );
920 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
921 SelectObject( m_buffer
);
925 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
926 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
932 class wxBufferedPaintDC
: public wxBufferedDC
938 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
939 : m_paintdc( window
)
941 window
->PrepareDC( m_paintdc
);
943 if( buffer
!= wxNullBitmap
)
944 Init( &m_paintdc
, buffer
);
946 Init( &m_paintdc
, window
->GetClientSize() );
949 ~wxBufferedPaintDC() {
955 //-=-=-=-=-=-=-=-=-=-=-
961 #include <wx/metafile.h>
965 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
966 self
->AddColour(name
, wxColour(red
, green
, blue
));
969 #include <wx/effects.h>
974 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 result
= (wxGDIObject
*)new wxGDIObject();
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) SWIG_fail
;
989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
996 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
998 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
999 PyObject
* obj0
= 0 ;
1001 (char *) "self", NULL
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1011 wxPyEndAllowThreads(__tstate
);
1012 if (PyErr_Occurred()) SWIG_fail
;
1014 Py_INCREF(Py_None
); resultobj
= Py_None
;
1021 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
*resultobj
;
1023 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1025 PyObject
* obj0
= 0 ;
1027 (char *) "self", NULL
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 result
= (bool)(arg1
)->GetVisible();
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) SWIG_fail
;
1041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1049 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
*resultobj
;
1051 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1053 PyObject
* obj0
= 0 ;
1054 PyObject
* obj1
= 0 ;
1056 (char *) "self",(char *) "visible", NULL
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1062 arg2
= (bool) SWIG_AsBool(obj1
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1066 (arg1
)->SetVisible(arg2
);
1068 wxPyEndAllowThreads(__tstate
);
1069 if (PyErr_Occurred()) SWIG_fail
;
1071 Py_INCREF(Py_None
); resultobj
= Py_None
;
1078 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
*resultobj
;
1080 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1082 PyObject
* obj0
= 0 ;
1084 (char *) "self", NULL
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1092 result
= (bool)(arg1
)->IsNull();
1094 wxPyEndAllowThreads(__tstate
);
1095 if (PyErr_Occurred()) SWIG_fail
;
1098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1106 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1109 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1111 return Py_BuildValue((char *)"");
1113 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
*resultobj
;
1115 unsigned char arg1
= (unsigned char) 0 ;
1116 unsigned char arg2
= (unsigned char) 0 ;
1117 unsigned char arg3
= (unsigned char) 0 ;
1119 PyObject
* obj0
= 0 ;
1120 PyObject
* obj1
= 0 ;
1121 PyObject
* obj2
= 0 ;
1123 (char *) "red",(char *) "green",(char *) "blue", NULL
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1128 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1132 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1133 if (PyErr_Occurred()) SWIG_fail
;
1136 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1137 if (PyErr_Occurred()) SWIG_fail
;
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) SWIG_fail
;
1146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1153 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
*resultobj
;
1155 wxString
*arg1
= 0 ;
1157 bool temp1
= False
;
1158 PyObject
* obj0
= 0 ;
1160 (char *) "colorName", NULL
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1165 arg1
= wxString_in_helper(obj0
);
1166 if (arg1
== NULL
) SWIG_fail
;
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) SWIG_fail
;
1176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1191 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
*resultobj
;
1193 unsigned long arg1
;
1195 PyObject
* obj0
= 0 ;
1197 (char *) "colRGB", NULL
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1201 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1205 result
= (wxColour
*)new wxColour(arg1
);
1207 wxPyEndAllowThreads(__tstate
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1217 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
*resultobj
;
1219 wxColour
*arg1
= (wxColour
*) 0 ;
1220 PyObject
* obj0
= 0 ;
1222 (char *) "self", NULL
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1232 wxPyEndAllowThreads(__tstate
);
1233 if (PyErr_Occurred()) SWIG_fail
;
1235 Py_INCREF(Py_None
); resultobj
= Py_None
;
1242 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
*resultobj
;
1244 wxColour
*arg1
= (wxColour
*) 0 ;
1245 unsigned char result
;
1246 PyObject
* obj0
= 0 ;
1248 (char *) "self", NULL
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (unsigned char)(arg1
)->Red();
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1261 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1268 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1270 wxColour
*arg1
= (wxColour
*) 0 ;
1271 unsigned char result
;
1272 PyObject
* obj0
= 0 ;
1274 (char *) "self", NULL
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 result
= (unsigned char)(arg1
)->Green();
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) SWIG_fail
;
1287 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1294 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
*resultobj
;
1296 wxColour
*arg1
= (wxColour
*) 0 ;
1297 unsigned char result
;
1298 PyObject
* obj0
= 0 ;
1300 (char *) "self", NULL
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1308 result
= (unsigned char)(arg1
)->Blue();
1310 wxPyEndAllowThreads(__tstate
);
1311 if (PyErr_Occurred()) SWIG_fail
;
1313 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
1320 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxColour
*arg1
= (wxColour
*) 0 ;
1324 PyObject
* obj0
= 0 ;
1326 (char *) "self", NULL
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 result
= (bool)(arg1
)->Ok();
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1348 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
*resultobj
;
1350 wxColour
*arg1
= (wxColour
*) 0 ;
1351 unsigned char arg2
;
1352 unsigned char arg3
;
1353 unsigned char arg4
;
1354 PyObject
* obj0
= 0 ;
1355 PyObject
* obj1
= 0 ;
1356 PyObject
* obj2
= 0 ;
1357 PyObject
* obj3
= 0 ;
1359 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1365 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1367 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1369 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
1370 if (PyErr_Occurred()) SWIG_fail
;
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 (arg1
)->Set(arg2
,arg3
,arg4
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) SWIG_fail
;
1378 Py_INCREF(Py_None
); resultobj
= Py_None
;
1385 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
*resultobj
;
1387 wxColour
*arg1
= (wxColour
*) 0 ;
1388 unsigned long arg2
;
1389 PyObject
* obj0
= 0 ;
1390 PyObject
* obj1
= 0 ;
1392 (char *) "self",(char *) "colRGB", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1398 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1407 Py_INCREF(Py_None
); resultobj
= Py_None
;
1414 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
*resultobj
;
1416 wxColour
*arg1
= (wxColour
*) 0 ;
1417 wxString
*arg2
= 0 ;
1418 bool temp2
= False
;
1419 PyObject
* obj0
= 0 ;
1420 PyObject
* obj1
= 0 ;
1422 (char *) "self",(char *) "colourName", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1429 arg2
= wxString_in_helper(obj1
);
1430 if (arg2
== NULL
) SWIG_fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 (arg1
)->InitFromName((wxString
const &)*arg2
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 Py_INCREF(Py_None
); resultobj
= Py_None
;
1455 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxColour
*arg1
= (wxColour
*) 0 ;
1459 PyObject
* obj0
= 0 ;
1461 (char *) "self", NULL
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1474 resultobj
= SWIG_FromLong((long)result
);
1481 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
*resultobj
;
1483 wxColour
*arg1
= (wxColour
*) 0 ;
1484 wxColour
*arg2
= 0 ;
1487 PyObject
* obj0
= 0 ;
1488 PyObject
* obj1
= 0 ;
1490 (char *) "self",(char *) "colour", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1498 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1502 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1504 wxPyEndAllowThreads(__tstate
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1516 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
*resultobj
;
1518 wxColour
*arg1
= (wxColour
*) 0 ;
1519 wxColour
*arg2
= 0 ;
1522 PyObject
* obj0
= 0 ;
1523 PyObject
* obj1
= 0 ;
1525 (char *) "self",(char *) "colour", NULL
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1551 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxColour
*arg1
= (wxColour
*) 0 ;
1555 PyObject
* obj0
= 0 ;
1557 (char *) "self", NULL
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 result
= (PyObject
*)wxColour_Get(arg1
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1577 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1579 wxColour
*arg1
= (wxColour
*) 0 ;
1580 unsigned long result
;
1581 PyObject
* obj0
= 0 ;
1583 (char *) "self", NULL
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 result
= (unsigned long)wxColour_GetRGB(arg1
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
1603 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1606 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1608 return Py_BuildValue((char *)"");
1610 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
*resultobj
;
1613 unsigned char *arg2
= (unsigned char *) 0 ;
1614 unsigned char *arg3
= (unsigned char *) 0 ;
1615 unsigned char *arg4
= (unsigned char *) 0 ;
1617 PyObject
* obj0
= 0 ;
1618 PyObject
* obj1
= 0 ;
1619 PyObject
* obj2
= 0 ;
1620 PyObject
* obj3
= 0 ;
1622 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1626 arg1
= (int) SWIG_AsInt(obj0
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1630 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1632 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1648 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1650 wxPalette
*arg1
= (wxPalette
*) 0 ;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "self", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 Py_INCREF(Py_None
); resultobj
= Py_None
;
1673 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
*resultobj
;
1675 wxPalette
*arg1
= (wxPalette
*) 0 ;
1680 PyObject
* obj0
= 0 ;
1681 PyObject
* obj1
= 0 ;
1682 PyObject
* obj2
= 0 ;
1683 PyObject
* obj3
= 0 ;
1685 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1691 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1693 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1695 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 resultobj
= SWIG_FromInt((int)result
);
1711 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxPalette
*arg1
= (wxPalette
*) 0 ;
1715 byte
*arg3
= (byte
*) 0 ;
1716 byte
*arg4
= (byte
*) 0 ;
1717 byte
*arg5
= (byte
*) 0 ;
1722 PyObject
* obj0
= 0 ;
1723 PyObject
* obj1
= 0 ;
1725 (char *) "self",(char *) "pixel", NULL
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1734 arg2
= (int) SWIG_AsInt(obj1
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1747 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1748 resultobj
= t_output_helper(resultobj
,o
);
1751 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1752 resultobj
= t_output_helper(resultobj
,o
);
1755 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1756 resultobj
= t_output_helper(resultobj
,o
);
1764 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxPalette
*arg1
= (wxPalette
*) 0 ;
1768 PyObject
* obj0
= 0 ;
1770 (char *) "self", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 result
= (bool)(arg1
)->Ok();
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1792 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1795 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1797 return Py_BuildValue((char *)"");
1799 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxColour
*arg1
= 0 ;
1802 int arg2
= (int) 1 ;
1803 int arg3
= (int) wxSOLID
;
1806 PyObject
* obj0
= 0 ;
1807 PyObject
* obj1
= 0 ;
1808 PyObject
* obj2
= 0 ;
1810 (char *) "colour",(char *) "width",(char *) "style", NULL
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1816 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1819 arg2
= (int) SWIG_AsInt(obj1
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1823 arg3
= (int) SWIG_AsInt(obj2
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1840 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxPen
*arg1
= (wxPen
*) 0 ;
1843 PyObject
* obj0
= 0 ;
1845 (char *) "self", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxPen
*arg1
= (wxPen
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1871 (char *) "self", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 result
= (int)(arg1
)->GetCap();
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1884 resultobj
= SWIG_FromInt((int)result
);
1891 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxPen
*arg1
= (wxPen
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1897 (char *) "self", NULL
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 result
= (arg1
)->GetColour();
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1911 wxColour
* resultptr
;
1912 resultptr
= new wxColour((wxColour
&) result
);
1913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1921 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxPen
*arg1
= (wxPen
*) 0 ;
1925 PyObject
* obj0
= 0 ;
1927 (char *) "self", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 result
= (int)(arg1
)->GetJoin();
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1940 resultobj
= SWIG_FromInt((int)result
);
1947 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
*resultobj
;
1949 wxPen
*arg1
= (wxPen
*) 0 ;
1951 PyObject
* obj0
= 0 ;
1953 (char *) "self", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 result
= (int)(arg1
)->GetStyle();
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) SWIG_fail
;
1966 resultobj
= SWIG_FromInt((int)result
);
1973 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
*resultobj
;
1975 wxPen
*arg1
= (wxPen
*) 0 ;
1977 PyObject
* obj0
= 0 ;
1979 (char *) "self", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 result
= (int)(arg1
)->GetWidth();
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 resultobj
= SWIG_FromInt((int)result
);
1999 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxPen
*arg1
= (wxPen
*) 0 ;
2003 PyObject
* obj0
= 0 ;
2005 (char *) "self", NULL
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= (bool)(arg1
)->Ok();
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2027 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxPen
*arg1
= (wxPen
*) 0 ;
2031 PyObject
* obj0
= 0 ;
2032 PyObject
* obj1
= 0 ;
2034 (char *) "self",(char *) "cap_style", NULL
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2040 arg2
= (int) SWIG_AsInt(obj1
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 (arg1
)->SetCap(arg2
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 Py_INCREF(Py_None
); resultobj
= Py_None
;
2056 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
*resultobj
;
2058 wxPen
*arg1
= (wxPen
*) 0 ;
2059 wxColour
*arg2
= 0 ;
2061 PyObject
* obj0
= 0 ;
2062 PyObject
* obj1
= 0 ;
2064 (char *) "self",(char *) "colour", NULL
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 (arg1
)->SetColour(*arg2
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 Py_INCREF(Py_None
); resultobj
= Py_None
;
2088 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxPen
*arg1
= (wxPen
*) 0 ;
2092 PyObject
* obj0
= 0 ;
2093 PyObject
* obj1
= 0 ;
2095 (char *) "self",(char *) "join_style", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2101 arg2
= (int) SWIG_AsInt(obj1
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 (arg1
)->SetJoin(arg2
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 Py_INCREF(Py_None
); resultobj
= Py_None
;
2117 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxPen
*arg1
= (wxPen
*) 0 ;
2121 PyObject
* obj0
= 0 ;
2122 PyObject
* obj1
= 0 ;
2124 (char *) "self",(char *) "style", NULL
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2130 arg2
= (int) SWIG_AsInt(obj1
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 (arg1
)->SetStyle(arg2
);
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) SWIG_fail
;
2139 Py_INCREF(Py_None
); resultobj
= Py_None
;
2146 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2148 wxPen
*arg1
= (wxPen
*) 0 ;
2150 PyObject
* obj0
= 0 ;
2151 PyObject
* obj1
= 0 ;
2153 (char *) "self",(char *) "width", NULL
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 arg2
= (int) SWIG_AsInt(obj1
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 (arg1
)->SetWidth(arg2
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 Py_INCREF(Py_None
); resultobj
= Py_None
;
2175 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxPen
*arg1
= (wxPen
*) 0 ;
2179 wxDash
*arg3
= (wxDash
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2181 PyObject
* obj1
= 0 ;
2183 (char *) "self",(char *) "dashes", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2190 arg2
= PyList_Size(obj1
);
2191 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2192 if (arg3
== NULL
) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 (arg1
)->SetDashes(arg2
,arg3
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 Py_INCREF(Py_None
); resultobj
= Py_None
;
2203 if (arg3
) delete [] arg3
;
2208 if (arg3
) delete [] arg3
;
2214 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxPen
*arg1
= (wxPen
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2220 (char *) "self", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2240 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
*resultobj
;
2242 wxPen
*arg1
= (wxPen
*) 0 ;
2243 wxPen
*arg2
= (wxPen
*) 0 ;
2245 PyObject
* obj0
= 0 ;
2246 PyObject
* obj1
= 0 ;
2248 (char *) "self",(char *) "other", NULL
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2272 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 wxPen
*arg1
= (wxPen
*) 0 ;
2275 wxPen
*arg2
= (wxPen
*) 0 ;
2277 PyObject
* obj0
= 0 ;
2278 PyObject
* obj1
= 0 ;
2280 (char *) "self",(char *) "other", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2304 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2307 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2309 return Py_BuildValue((char *)"");
2311 static PyObject
*_wrap_new_PyPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxColour
*arg1
= 0 ;
2314 int arg2
= (int) 1 ;
2315 int arg3
= (int) wxSOLID
;
2318 PyObject
* obj0
= 0 ;
2319 PyObject
* obj1
= 0 ;
2320 PyObject
* obj2
= 0 ;
2322 (char *) "colour",(char *) "width",(char *) "style", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2328 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2331 arg2
= (int) SWIG_AsInt(obj1
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2335 arg3
= (int) SWIG_AsInt(obj2
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPen
, 1);
2352 static PyObject
*_wrap_delete_PyPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2355 PyObject
* obj0
= 0 ;
2357 (char *) "self", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 Py_INCREF(Py_None
); resultobj
= Py_None
;
2377 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2379 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2381 wxDash
*arg3
= (wxDash
*) 0 ;
2382 PyObject
* obj0
= 0 ;
2383 PyObject
* obj1
= 0 ;
2385 (char *) "self",(char *) "dashes", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPen
,
2390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 arg2
= PyList_Size(obj1
);
2393 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2394 if (arg3
== NULL
) SWIG_fail
;
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 (arg1
)->SetDashes(arg2
,arg3
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 Py_INCREF(Py_None
); resultobj
= Py_None
;
2405 if (arg3
) delete [] arg3
;
2410 if (arg3
) delete [] arg3
;
2416 static PyObject
* PyPen_swigregister(PyObject
*, PyObject
*args
) {
2418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2419 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2421 return Py_BuildValue((char *)"");
2423 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxColour
*arg1
= 0 ;
2426 int arg2
= (int) wxSOLID
;
2429 PyObject
* obj0
= 0 ;
2430 PyObject
* obj1
= 0 ;
2432 (char *) "colour",(char *) "style", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2438 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2441 arg2
= (int) SWIG_AsInt(obj1
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2458 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxBrush
*arg1
= (wxBrush
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2463 (char *) "self", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2476 Py_INCREF(Py_None
); resultobj
= Py_None
;
2483 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxBrush
*arg1
= (wxBrush
*) 0 ;
2486 wxColour
*arg2
= 0 ;
2488 PyObject
* obj0
= 0 ;
2489 PyObject
* obj1
= 0 ;
2491 (char *) "self",(char *) "col", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 (arg1
)->SetColour((wxColour
const &)*arg2
);
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2508 Py_INCREF(Py_None
); resultobj
= Py_None
;
2515 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
*resultobj
;
2517 wxBrush
*arg1
= (wxBrush
*) 0 ;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2522 (char *) "self",(char *) "style", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2528 arg2
= (int) SWIG_AsInt(obj1
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 (arg1
)->SetStyle(arg2
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 Py_INCREF(Py_None
); resultobj
= Py_None
;
2544 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxBrush
*arg1
= (wxBrush
*) 0 ;
2547 wxBitmap
*arg2
= 0 ;
2548 PyObject
* obj0
= 0 ;
2549 PyObject
* obj1
= 0 ;
2551 (char *) "self",(char *) "stipple", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2561 PyErr_SetString(PyExc_TypeError
,"null reference");
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2571 Py_INCREF(Py_None
); resultobj
= Py_None
;
2578 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxBrush
*arg1
= (wxBrush
*) 0 ;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "self", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 result
= ((wxBrush
const *)arg1
)->GetColour();
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2598 wxColour
* resultptr
;
2599 resultptr
= new wxColour((wxColour
&) result
);
2600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2608 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxBrush
*arg1
= (wxBrush
*) 0 ;
2612 PyObject
* obj0
= 0 ;
2614 (char *) "self", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2627 resultobj
= SWIG_FromInt((int)result
);
2634 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2636 wxBrush
*arg1
= (wxBrush
*) 0 ;
2638 PyObject
* obj0
= 0 ;
2640 (char *) "self", NULL
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2660 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxBrush
*arg1
= (wxBrush
*) 0 ;
2664 PyObject
* obj0
= 0 ;
2666 (char *) "self", NULL
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 result
= (bool)(arg1
)->Ok();
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2688 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
*resultobj
;
2690 wxBrush
*arg1
= (wxBrush
*) 0 ;
2692 PyObject
* obj0
= 0 ;
2694 (char *) "self", NULL
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 result
= (short)(arg1
)->MacGetTheme();
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2707 resultobj
= SWIG_FromShort((short)result
);
2714 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxBrush
*arg1
= (wxBrush
*) 0 ;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2721 (char *) "self",(char *) "macThemeBrush", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2727 arg2
= (short) SWIG_AsShort(obj1
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 (arg1
)->MacSetTheme(arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 Py_INCREF(Py_None
); resultobj
= Py_None
;
2743 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2746 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2748 return Py_BuildValue((char *)"");
2750 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxString
*arg1
= 0 ;
2753 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2755 bool temp1
= False
;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2759 (char *) "name",(char *) "type", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 arg1
= wxString_in_helper(obj0
);
2765 if (arg1
== NULL
) SWIG_fail
;
2769 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2794 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "self", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2812 Py_INCREF(Py_None
); resultobj
= Py_None
;
2819 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2823 PyObject
* obj0
= 0 ;
2825 (char *) "icon", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2833 PyErr_SetString(PyExc_TypeError
,"null reference");
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2850 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2853 int arg2
= (int) -1 ;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj1
= 0 ;
2858 (char *) "image",(char *) "depth", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2866 PyErr_SetString(PyExc_TypeError
,"null reference");
2870 arg2
= (int) SWIG_AsInt(obj1
);
2871 if (PyErr_Occurred()) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2887 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2889 PyObject
*arg1
= (PyObject
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2893 (char *) "listOfStrings", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2912 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 PyObject
*arg1
= (PyObject
*) 0 ;
2917 int arg4
= (int) 1 ;
2919 PyObject
* obj0
= 0 ;
2920 PyObject
* obj1
= 0 ;
2921 PyObject
* obj2
= 0 ;
2922 PyObject
* obj3
= 0 ;
2924 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2929 arg2
= (int) SWIG_AsInt(obj1
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2931 arg3
= (int) SWIG_AsInt(obj2
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 arg4
= (int) SWIG_AsInt(obj3
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2951 static PyObject
*_wrap_new_EmptyBitmap__SWIG_0(PyObject
*, PyObject
*args
) {
2952 PyObject
*resultobj
;
2955 int arg3
= (int) -1 ;
2957 PyObject
* obj0
= 0 ;
2958 PyObject
* obj1
= 0 ;
2959 PyObject
* obj2
= 0 ;
2961 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_EmptyBitmap",&obj0
,&obj1
,&obj2
)) goto fail
;
2962 arg1
= (int) SWIG_AsInt(obj0
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2964 arg2
= (int) SWIG_AsInt(obj1
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2967 arg3
= (int) SWIG_AsInt(obj2
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 result
= (wxBitmap
*)new_wxBitmap__SWIG_0(arg1
,arg2
,arg3
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2984 static PyObject
*_wrap_new_EmptyBitmap__SWIG_1(PyObject
*, PyObject
*args
) {
2985 PyObject
*resultobj
;
2987 int arg2
= (int) -1 ;
2990 PyObject
* obj0
= 0 ;
2991 PyObject
* obj1
= 0 ;
2993 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_EmptyBitmap",&obj0
,&obj1
)) goto fail
;
2996 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
2999 arg2
= (int) SWIG_AsInt(obj1
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 result
= (wxBitmap
*)new_wxBitmap__SWIG_1((wxSize
const &)*arg1
,arg2
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3016 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
) {
3021 argc
= PyObject_Length(args
);
3022 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3023 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3025 if ((argc
>= 1) && (argc
<= 2)) {
3028 _v
= wxPySimple_typecheck(argv
[0], wxT("wxSize"), 2);
3032 return _wrap_new_EmptyBitmap__SWIG_1(self
,args
);
3034 _v
= SWIG_CheckInt(argv
[1]);
3036 return _wrap_new_EmptyBitmap__SWIG_1(self
,args
);
3040 if ((argc
>= 2) && (argc
<= 3)) {
3042 _v
= SWIG_CheckInt(argv
[0]);
3044 _v
= SWIG_CheckInt(argv
[1]);
3047 return _wrap_new_EmptyBitmap__SWIG_0(self
,args
);
3049 _v
= SWIG_CheckInt(argv
[2]);
3051 return _wrap_new_EmptyBitmap__SWIG_0(self
,args
);
3057 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_EmptyBitmap'");
3062 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3068 (char *) "self", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 result
= (bool)(arg1
)->Ok();
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3090 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3096 (char *) "self", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= (int)(arg1
)->GetWidth();
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 resultobj
= SWIG_FromInt((int)result
);
3116 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3120 PyObject
* obj0
= 0 ;
3122 (char *) "self", NULL
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 result
= (int)(arg1
)->GetHeight();
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) SWIG_fail
;
3135 resultobj
= SWIG_FromInt((int)result
);
3142 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3146 PyObject
* obj0
= 0 ;
3148 (char *) "self", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 result
= (int)(arg1
)->GetDepth();
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3161 resultobj
= SWIG_FromInt((int)result
);
3168 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
*resultobj
;
3170 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3174 (char *) "self", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 result
= wxBitmap_GetSize(arg1
);
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3189 resultptr
= new wxSize((wxSize
&) result
);
3190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3198 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3201 SwigValueWrapper
< wxImage
> result
;
3202 PyObject
* obj0
= 0 ;
3204 (char *) "self", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3218 wxImage
* resultptr
;
3219 resultptr
= new wxImage((wxImage
&) result
);
3220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3228 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3254 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3257 wxMask
*arg2
= (wxMask
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 (char *) "self",(char *) "mask", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 (arg1
)->SetMask(arg2
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 Py_INCREF(Py_None
); resultobj
= Py_None
;
3283 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3286 wxColour
*arg2
= 0 ;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "colour", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3308 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3319 SwigValueWrapper
< wxBitmap
> result
;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3324 (char *) "self",(char *) "rect", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3332 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3342 wxBitmap
* resultptr
;
3343 resultptr
= new wxBitmap((wxBitmap
&) result
);
3344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3352 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3355 wxString
*arg2
= 0 ;
3357 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3359 bool temp2
= False
;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3362 PyObject
* obj2
= 0 ;
3363 PyObject
* obj3
= 0 ;
3365 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3372 arg2
= wxString_in_helper(obj1
);
3373 if (arg2
== NULL
) SWIG_fail
;
3376 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3406 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3409 wxString
*arg2
= 0 ;
3412 bool temp2
= False
;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3415 PyObject
* obj2
= 0 ;
3417 (char *) "self",(char *) "name",(char *) "type", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3424 arg2
= wxString_in_helper(obj1
);
3425 if (arg2
== NULL
) SWIG_fail
;
3428 arg3
= (wxBitmapType
) SWIG_AsInt(obj2
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3454 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3459 PyObject
* obj0
= 0 ;
3460 PyObject
* obj1
= 0 ;
3462 (char *) "self",(char *) "icon", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3472 PyErr_SetString(PyExc_TypeError
,"null reference");
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3491 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3498 (char *) "self",(char *) "height", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3504 arg2
= (int) SWIG_AsInt(obj1
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 (arg1
)->SetHeight(arg2
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 Py_INCREF(Py_None
); resultobj
= Py_None
;
3520 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3524 PyObject
* obj0
= 0 ;
3525 PyObject
* obj1
= 0 ;
3527 (char *) "self",(char *) "width", NULL
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3533 arg2
= (int) SWIG_AsInt(obj1
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 (arg1
)->SetWidth(arg2
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3556 (char *) "self",(char *) "depth", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3562 arg2
= (int) SWIG_AsInt(obj1
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 (arg1
)->SetDepth(arg2
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 Py_INCREF(Py_None
); resultobj
= Py_None
;
3578 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3586 (char *) "self",(char *) "size", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3594 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 Py_INCREF(Py_None
); resultobj
= Py_None
;
3610 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3613 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "other", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3642 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3645 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3647 PyObject
* obj0
= 0 ;
3648 PyObject
* obj1
= 0 ;
3650 (char *) "self",(char *) "other", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3674 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3677 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3679 return Py_BuildValue((char *)"");
3681 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxBitmap
*arg1
= 0 ;
3684 wxColour
const &arg2_defvalue
= wxNullColour
;
3685 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3688 PyObject
* obj0
= 0 ;
3689 PyObject
* obj1
= 0 ;
3691 (char *) "bitmap",(char *) "colour", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3699 PyErr_SetString(PyExc_TypeError
,"null reference");
3705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3722 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3725 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3727 return Py_BuildValue((char *)"");
3729 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxString
*arg1
= 0 ;
3733 int arg3
= (int) -1 ;
3734 int arg4
= (int) -1 ;
3736 bool temp1
= False
;
3737 PyObject
* obj0
= 0 ;
3738 PyObject
* obj1
= 0 ;
3739 PyObject
* obj2
= 0 ;
3740 PyObject
* obj3
= 0 ;
3742 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3747 arg1
= wxString_in_helper(obj0
);
3748 if (arg1
== NULL
) SWIG_fail
;
3751 arg2
= (wxBitmapType
) SWIG_AsInt(obj1
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 arg3
= (int) SWIG_AsInt(obj2
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3758 arg4
= (int) SWIG_AsInt(obj3
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3783 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxIcon
*arg1
= (wxIcon
*) 0 ;
3786 PyObject
* obj0
= 0 ;
3788 (char *) "self", NULL
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (wxIcon
*)new wxIcon();
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3830 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 wxIconLocation
*arg1
= 0 ;
3834 PyObject
* obj0
= 0 ;
3836 (char *) "loc", NULL
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3844 PyErr_SetString(PyExc_TypeError
,"null reference");
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3861 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxBitmap
*arg1
= 0 ;
3865 PyObject
* obj0
= 0 ;
3867 (char *) "bmp", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3875 PyErr_SetString(PyExc_TypeError
,"null reference");
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3892 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 PyObject
*arg1
= (PyObject
*) 0 ;
3896 PyObject
* obj0
= 0 ;
3898 (char *) "listOfStrings", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (wxIcon
*)new_wxIcon(arg1
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3917 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxIcon
*arg1
= (wxIcon
*) 0 ;
3921 PyObject
* obj0
= 0 ;
3923 (char *) "self", NULL
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (bool)(arg1
)->Ok();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3945 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxIcon
*arg1
= (wxIcon
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3951 (char *) "self", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (int)(arg1
)->GetWidth();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= SWIG_FromInt((int)result
);
3971 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxIcon
*arg1
= (wxIcon
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (int)(arg1
)->GetHeight();
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 resultobj
= SWIG_FromInt((int)result
);
3997 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxIcon
*arg1
= (wxIcon
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4003 (char *) "self", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= (int)(arg1
)->GetDepth();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_FromInt((int)result
);
4023 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxIcon
*arg1
= (wxIcon
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4030 (char *) "self",(char *) "w", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4036 arg2
= (int) SWIG_AsInt(obj1
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 (arg1
)->SetWidth(arg2
);
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 Py_INCREF(Py_None
); resultobj
= Py_None
;
4052 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxIcon
*arg1
= (wxIcon
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "h", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= (int) SWIG_AsInt(obj1
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 (arg1
)->SetHeight(arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxIcon
*arg1
= (wxIcon
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4088 (char *) "self",(char *) "d", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 arg2
= (int) SWIG_AsInt(obj1
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 (arg1
)->SetDepth(arg2
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4110 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxIcon
*arg1
= (wxIcon
*) 0 ;
4113 wxBitmap
*arg2
= 0 ;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4117 (char *) "self",(char *) "bmp", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4127 PyErr_SetString(PyExc_TypeError
,"null reference");
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4144 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4147 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4149 return Py_BuildValue((char *)"");
4151 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4154 int arg2
= (int) 0 ;
4155 wxIconLocation
*result
;
4156 bool temp1
= False
;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4160 (char *) "filename",(char *) "num", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4166 arg1
= wxString_in_helper(obj0
);
4167 if (arg1
== NULL
) SWIG_fail
;
4172 arg2
= (int) SWIG_AsInt(obj1
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4197 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4200 PyObject
* obj0
= 0 ;
4202 (char *) "self", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 Py_INCREF(Py_None
); resultobj
= Py_None
;
4222 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4228 (char *) "self", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4250 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4253 wxString
*arg2
= 0 ;
4254 bool temp2
= False
;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4258 (char *) "self",(char *) "filename", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4265 arg2
= wxString_in_helper(obj1
);
4266 if (arg2
== NULL
) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 (arg1
)->SetFileName((wxString
const &)*arg2
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4291 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4297 (char *) "self", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4307 result
= (wxString
*) &_result_ref
;
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4317 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4326 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4333 (char *) "self",(char *) "num", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4339 arg2
= (int) SWIG_AsInt(obj1
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 wxIconLocation_SetIndex(arg1
,arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 Py_INCREF(Py_None
); resultobj
= Py_None
;
4355 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4359 PyObject
* obj0
= 0 ;
4361 (char *) "self", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (int)wxIconLocation_GetIndex(arg1
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_FromInt((int)result
);
4381 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4384 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4386 return Py_BuildValue((char *)"");
4388 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxIconBundle
*result
;
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (wxIconBundle
*)new wxIconBundle();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4410 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxString
*arg1
= 0 ;
4414 wxIconBundle
*result
;
4415 bool temp1
= False
;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4419 (char *) "file",(char *) "type", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4424 arg1
= wxString_in_helper(obj0
);
4425 if (arg1
== NULL
) SWIG_fail
;
4428 arg2
= (long) SWIG_AsLong(obj1
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4452 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4455 wxIconBundle
*result
;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "icon", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4466 PyErr_SetString(PyExc_TypeError
,"null reference");
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4483 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4488 (char *) "self", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 Py_INCREF(Py_None
); resultobj
= Py_None
;
4508 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4513 PyObject
* obj1
= 0 ;
4515 (char *) "self",(char *) "icon", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4525 PyErr_SetString(PyExc_TypeError
,"null reference");
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 Py_INCREF(Py_None
); resultobj
= Py_None
;
4542 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4545 wxString
*arg2
= 0 ;
4547 bool temp2
= False
;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4552 (char *) "self",(char *) "file",(char *) "type", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg2
= wxString_in_helper(obj1
);
4560 if (arg2
== NULL
) SWIG_fail
;
4563 arg3
= (long) SWIG_AsLong(obj2
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4587 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
;
4589 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4594 PyObject
* obj1
= 0 ;
4596 (char *) "self",(char *) "size", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4604 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4610 result
= (wxIcon
*) &_result_ref
;
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 wxIcon
* resultptr
= new wxIcon(*result
);
4618 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4626 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4629 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4631 return Py_BuildValue((char *)"");
4633 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxString
*arg1
= (wxString
*) 0 ;
4637 int arg3
= (int) 0 ;
4638 int arg4
= (int) 0 ;
4640 bool temp1
= False
;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4643 PyObject
* obj2
= 0 ;
4644 PyObject
* obj3
= 0 ;
4646 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4651 arg1
= wxString_in_helper(obj0
);
4652 if (arg1
== NULL
) SWIG_fail
;
4655 arg2
= (long) SWIG_AsLong(obj1
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 arg3
= (int) SWIG_AsInt(obj2
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4662 arg4
= (int) SWIG_AsInt(obj3
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4687 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxCursor
*arg1
= (wxCursor
*) 0 ;
4690 PyObject
* obj0
= 0 ;
4692 (char *) "self", NULL
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4716 PyObject
* obj0
= 0 ;
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4722 arg1
= (int) SWIG_AsInt(obj0
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (wxCursor
*)new wxCursor(arg1
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4738 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4742 PyObject
* obj0
= 0 ;
4744 (char *) "image", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4752 PyErr_SetString(PyExc_TypeError
,"null reference");
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4769 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 wxCursor
*arg1
= (wxCursor
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4775 (char *) "self", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (bool)(arg1
)->Ok();
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4800 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4802 return Py_BuildValue((char *)"");
4804 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 int arg1
= (int) 0 ;
4807 int arg2
= (int) 0 ;
4808 int arg3
= (int) 0 ;
4809 int arg4
= (int) 0 ;
4811 PyObject
* obj0
= 0 ;
4812 PyObject
* obj1
= 0 ;
4813 PyObject
* obj2
= 0 ;
4814 PyObject
* obj3
= 0 ;
4816 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4821 arg1
= (int) SWIG_AsInt(obj0
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4825 arg2
= (int) SWIG_AsInt(obj1
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 arg3
= (int) SWIG_AsInt(obj2
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 arg4
= (int) SWIG_AsInt(obj3
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4850 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxBitmap
*arg1
= 0 ;
4853 wxColour
const &arg2_defvalue
= wxNullColour
;
4854 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4855 int arg3
= (int) 0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4862 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4870 PyErr_SetString(PyExc_TypeError
,"null reference");
4876 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4880 arg3
= (int) SWIG_AsInt(obj2
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4897 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4900 wxPoint
*arg2
= (wxPoint
*) 0 ;
4901 int arg3
= (int) wxWINDING_RULE
;
4903 PyObject
* obj0
= 0 ;
4904 PyObject
* obj1
= 0 ;
4906 (char *) "points",(char *) "fillStyle", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4911 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4912 if (arg2
== NULL
) SWIG_fail
;
4915 arg3
= (int) SWIG_AsInt(obj1
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4927 if (arg2
) delete [] arg2
;
4932 if (arg2
) delete [] arg2
;
4938 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRegion
*arg1
= (wxRegion
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4943 (char *) "self", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 Py_INCREF(Py_None
); resultobj
= Py_None
;
4963 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxRegion
*arg1
= (wxRegion
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4968 (char *) "self", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 Py_INCREF(Py_None
); resultobj
= Py_None
;
4988 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxRegion
*arg1
= (wxRegion
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4996 PyObject
* obj2
= 0 ;
4998 (char *) "self",(char *) "x",(char *) "y", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5004 arg2
= (int) SWIG_AsInt(obj1
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5006 arg3
= (int) SWIG_AsInt(obj2
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_FromInt((int)result
);
5022 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxRegion
*arg1
= (wxRegion
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "self",(char *) "pt", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_FromInt((int)result
);
5055 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxRegion
*arg1
= (wxRegion
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5064 (char *) "self",(char *) "rect", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_FromInt((int)result
);
5088 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxRegion
*arg1
= (wxRegion
*) 0 ;
5096 PyObject
* obj0
= 0 ;
5097 PyObject
* obj1
= 0 ;
5098 PyObject
* obj2
= 0 ;
5099 PyObject
* obj3
= 0 ;
5100 PyObject
* obj4
= 0 ;
5102 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5108 arg2
= (int) SWIG_AsInt(obj1
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5110 arg3
= (int) SWIG_AsInt(obj2
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5112 arg4
= (int) SWIG_AsInt(obj3
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5114 arg5
= (int) SWIG_AsInt(obj4
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= SWIG_FromInt((int)result
);
5130 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
;
5132 wxRegion
*arg1
= (wxRegion
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5136 (char *) "self", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (arg1
)->GetBox();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5151 resultptr
= new wxRect((wxRect
&) result
);
5152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5160 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxRegion
*arg1
= (wxRegion
*) 0 ;
5168 PyObject
* obj0
= 0 ;
5169 PyObject
* obj1
= 0 ;
5170 PyObject
* obj2
= 0 ;
5171 PyObject
* obj3
= 0 ;
5172 PyObject
* obj4
= 0 ;
5174 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5180 arg2
= (int) SWIG_AsInt(obj1
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5182 arg3
= (int) SWIG_AsInt(obj2
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5184 arg4
= (int) SWIG_AsInt(obj3
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5186 arg5
= (int) SWIG_AsInt(obj4
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5204 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxRegion
*arg1
= (wxRegion
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5213 (char *) "self",(char *) "rect", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5239 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxRegion
*arg1
= (wxRegion
*) 0 ;
5242 wxRegion
*arg2
= 0 ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5247 (char *) "self",(char *) "region", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5257 PyErr_SetString(PyExc_TypeError
,"null reference");
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5276 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxRegion
*arg1
= (wxRegion
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "self", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (bool)(arg1
)->IsEmpty();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5304 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxRegion
*arg1
= (wxRegion
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5314 PyObject
* obj2
= 0 ;
5315 PyObject
* obj3
= 0 ;
5316 PyObject
* obj4
= 0 ;
5318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 arg2
= (int) SWIG_AsInt(obj1
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5326 arg3
= (int) SWIG_AsInt(obj2
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5328 arg4
= (int) SWIG_AsInt(obj3
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5330 arg5
= (int) SWIG_AsInt(obj4
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5348 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxRegion
*arg1
= (wxRegion
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5357 (char *) "self",(char *) "rect", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5383 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxRegion
*arg1
= (wxRegion
*) 0 ;
5386 wxRegion
*arg2
= 0 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5391 (char *) "self",(char *) "region", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5401 PyErr_SetString(PyExc_TypeError
,"null reference");
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5420 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxRegion
*arg1
= (wxRegion
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 PyObject
* obj2
= 0 ;
5431 PyObject
* obj3
= 0 ;
5432 PyObject
* obj4
= 0 ;
5434 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5440 arg2
= (int) SWIG_AsInt(obj1
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5442 arg3
= (int) SWIG_AsInt(obj2
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5444 arg4
= (int) SWIG_AsInt(obj3
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5446 arg5
= (int) SWIG_AsInt(obj4
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5464 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxRegion
*arg1
= (wxRegion
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5473 (char *) "self",(char *) "rect", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5481 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5499 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxRegion
*arg1
= (wxRegion
*) 0 ;
5502 wxRegion
*arg2
= 0 ;
5504 PyObject
* obj0
= 0 ;
5505 PyObject
* obj1
= 0 ;
5507 (char *) "self",(char *) "region", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5517 PyErr_SetString(PyExc_TypeError
,"null reference");
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5536 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
;
5538 wxRegion
*arg1
= (wxRegion
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5545 PyObject
* obj1
= 0 ;
5546 PyObject
* obj2
= 0 ;
5547 PyObject
* obj3
= 0 ;
5548 PyObject
* obj4
= 0 ;
5550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5556 arg2
= (int) SWIG_AsInt(obj1
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5558 arg3
= (int) SWIG_AsInt(obj2
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5560 arg4
= (int) SWIG_AsInt(obj3
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5562 arg5
= (int) SWIG_AsInt(obj4
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5580 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxRegion
*arg1
= (wxRegion
*) 0 ;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5589 (char *) "self",(char *) "rect", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5615 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxRegion
*arg1
= (wxRegion
*) 0 ;
5618 wxRegion
*arg2
= 0 ;
5620 PyObject
* obj0
= 0 ;
5621 PyObject
* obj1
= 0 ;
5623 (char *) "self",(char *) "region", NULL
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5633 PyErr_SetString(PyExc_TypeError
,"null reference");
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxRegion
*arg1
= (wxRegion
*) 0 ;
5655 SwigValueWrapper
< wxBitmap
> result
;
5656 PyObject
* obj0
= 0 ;
5658 (char *) "self", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 result
= (arg1
)->ConvertToBitmap();
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5672 wxBitmap
* resultptr
;
5673 resultptr
= new wxBitmap((wxBitmap
&) result
);
5674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5682 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxRegion
*arg1
= (wxRegion
*) 0 ;
5685 wxBitmap
*arg2
= 0 ;
5686 wxColour
const &arg3_defvalue
= wxNullColour
;
5687 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5688 int arg4
= (int) 0 ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5693 PyObject
* obj2
= 0 ;
5694 PyObject
* obj3
= 0 ;
5696 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5706 PyErr_SetString(PyExc_TypeError
,"null reference");
5712 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5716 arg4
= (int) SWIG_AsInt(obj3
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5735 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5738 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5740 return Py_BuildValue((char *)"");
5742 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxRegion
*arg1
= 0 ;
5745 wxRegionIterator
*result
;
5746 PyObject
* obj0
= 0 ;
5748 (char *) "region", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5756 PyErr_SetString(PyExc_TypeError
,"null reference");
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5773 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 Py_INCREF(Py_None
); resultobj
= Py_None
;
5798 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5804 (char *) "self", NULL
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (int)(arg1
)->GetX();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= SWIG_FromInt((int)result
);
5824 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5830 (char *) "self", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= (int)(arg1
)->GetY();
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= SWIG_FromInt((int)result
);
5850 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5854 PyObject
* obj0
= 0 ;
5856 (char *) "self", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (int)(arg1
)->GetW();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_FromInt((int)result
);
5876 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5882 (char *) "self", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= (int)(arg1
)->GetWidth();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_FromInt((int)result
);
5902 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5906 PyObject
* obj0
= 0 ;
5908 (char *) "self", NULL
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (int)(arg1
)->GetH();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_FromInt((int)result
);
5928 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5934 (char *) "self", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (int)(arg1
)->GetHeight();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_FromInt((int)result
);
5954 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (arg1
)->GetRect();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5975 resultptr
= new wxRect((wxRect
&) result
);
5976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5984 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (bool)(arg1
)->HaveRects();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6012 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 Py_INCREF(Py_None
); resultobj
= Py_None
;
6037 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6042 (char *) "self", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 wxRegionIterator_Next(arg1
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 Py_INCREF(Py_None
); resultobj
= Py_None
;
6062 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6090 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6093 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6095 return Py_BuildValue((char *)"");
6097 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxNativeFontInfo
*result
;
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6119 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6124 (char *) "self", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 Py_INCREF(Py_None
); resultobj
= Py_None
;
6144 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "self", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6176 (char *) "self",(char *) "font", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6186 PyErr_SetString(PyExc_TypeError
,"null reference");
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 Py_INCREF(Py_None
); resultobj
= Py_None
;
6203 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6207 PyObject
* obj0
= 0 ;
6209 (char *) "self", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_FromInt((int)result
);
6229 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6235 (char *) "self", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_FromInt((int)result
);
6255 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= SWIG_FromInt((int)result
);
6281 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6309 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6341 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6345 PyObject
* obj0
= 0 ;
6347 (char *) "self", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= SWIG_FromInt((int)result
);
6367 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6373 (char *) "self", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6386 resultobj
= SWIG_FromInt((int)result
);
6393 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6400 (char *) "self",(char *) "pointsize", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= (int) SWIG_AsInt(obj1
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 (arg1
)->SetPointSize(arg2
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 Py_INCREF(Py_None
); resultobj
= Py_None
;
6422 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6427 PyObject
* obj1
= 0 ;
6429 (char *) "self",(char *) "style", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 arg2
= (wxFontStyle
) SWIG_AsInt(obj1
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 Py_INCREF(Py_None
); resultobj
= Py_None
;
6451 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
;
6453 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "self",(char *) "weight", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6464 arg2
= (wxFontWeight
) SWIG_AsInt(obj1
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 Py_INCREF(Py_None
); resultobj
= Py_None
;
6480 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
;
6482 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6487 (char *) "self",(char *) "underlined", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6493 arg2
= (bool) SWIG_AsBool(obj1
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 (arg1
)->SetUnderlined(arg2
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 Py_INCREF(Py_None
); resultobj
= Py_None
;
6509 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6513 PyObject
* obj0
= 0 ;
6514 PyObject
* obj1
= 0 ;
6516 (char *) "self",(char *) "facename", NULL
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6523 wxString
* sptr
= wxString_in_helper(obj1
);
6524 if (sptr
== NULL
) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 (arg1
)->SetFaceName(arg2
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 Py_INCREF(Py_None
); resultobj
= Py_None
;
6542 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6547 PyObject
* obj1
= 0 ;
6549 (char *) "self",(char *) "family", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6555 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 Py_INCREF(Py_None
); resultobj
= Py_None
;
6571 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6578 (char *) "self",(char *) "encoding", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6584 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6603 wxString
*arg2
= 0 ;
6605 bool temp2
= False
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6609 (char *) "self",(char *) "s", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6616 arg2
= wxString_in_helper(obj1
);
6617 if (arg2
== NULL
) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6644 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
;
6646 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6648 PyObject
* obj0
= 0 ;
6650 (char *) "self", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6676 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
;
6678 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= wxNativeFontInfo___str__(arg1
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6708 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6711 wxString
*arg2
= 0 ;
6713 bool temp2
= False
;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6717 (char *) "self",(char *) "s", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6724 arg2
= wxString_in_helper(obj1
);
6725 if (arg2
== NULL
) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6752 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6758 (char *) "self", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6784 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6787 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6789 return Py_BuildValue((char *)"");
6791 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6794 wxString
*arg2
= (wxString
*) 0 ;
6795 bool temp2
= False
;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "facename", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6806 arg2
= wxString_in_helper(obj1
);
6807 if (arg2
== NULL
) SWIG_fail
;
6810 if (arg1
) (arg1
)->facename
= *arg2
;
6812 Py_INCREF(Py_None
); resultobj
= Py_None
;
6827 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6833 (char *) "self", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 result
= (wxString
*)& ((arg1
)->facename
);
6843 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6845 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6854 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6861 (char *) "self",(char *) "encoding", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6869 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6871 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "self", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6890 result
= (int) ((arg1
)->encoding
);
6892 resultobj
= SWIG_FromInt((int)result
);
6899 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6901 wxNativeEncodingInfo
*result
;
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6921 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6926 (char *) "self", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 Py_INCREF(Py_None
); resultobj
= Py_None
;
6946 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6949 wxString
*arg2
= 0 ;
6951 bool temp2
= False
;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6955 (char *) "self",(char *) "s", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 arg2
= wxString_in_helper(obj1
);
6963 if (arg2
== NULL
) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6990 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6994 PyObject
* obj0
= 0 ;
6996 (char *) "self", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7022 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7025 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7027 return Py_BuildValue((char *)"");
7029 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7032 wxNativeEncodingInfo
*result
;
7033 PyObject
* obj0
= 0 ;
7035 (char *) "encoding", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7039 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7055 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxNativeEncodingInfo
*arg1
= 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "info", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7069 PyErr_SetString(PyExc_TypeError
,"null reference");
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7088 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxFontMapper
*result
;
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (wxFontMapper
*)new wxFontMapper();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7110 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7115 (char *) "self", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7137 wxFontMapper
*result
;
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (wxFontMapper
*)wxFontMapper::Get();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7157 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7160 wxFontMapper
*result
;
7161 PyObject
* obj0
= 0 ;
7163 (char *) "mapper", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7183 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7186 wxString
*arg2
= 0 ;
7187 bool arg3
= (bool) True
;
7189 bool temp2
= False
;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7192 PyObject
* obj2
= 0 ;
7194 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7201 arg2
= wxString_in_helper(obj1
);
7202 if (arg2
== NULL
) SWIG_fail
;
7206 arg3
= (bool) SWIG_AsBool(obj2
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_FromInt((int)result
);
7231 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7253 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7257 PyObject
* obj0
= 0 ;
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7263 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (int)wxFontMapper::GetEncoding(arg1
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_FromInt((int)result
);
7279 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7283 PyObject
* obj0
= 0 ;
7285 (char *) "encoding", NULL
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7289 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7311 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7315 PyObject
* obj0
= 0 ;
7317 (char *) "encoding", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7321 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7343 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxString
*arg1
= 0 ;
7347 bool temp1
= False
;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "name", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7355 arg1
= wxString_in_helper(obj0
);
7356 if (arg1
== NULL
) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_FromInt((int)result
);
7381 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7384 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7388 (char *) "self",(char *) "config", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 (arg1
)->SetConfig(arg2
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 Py_INCREF(Py_None
); resultobj
= Py_None
;
7410 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7413 wxString
*arg2
= 0 ;
7414 bool temp2
= False
;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7418 (char *) "self",(char *) "prefix", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 arg2
= wxString_in_helper(obj1
);
7426 if (arg2
== NULL
) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7451 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= wxFontMapper::GetDefaultConfigPath();
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7479 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7483 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7484 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7485 bool arg4
= (bool) True
;
7487 bool temp3
= False
;
7488 PyObject
* obj0
= 0 ;
7489 PyObject
* obj1
= 0 ;
7490 PyObject
* obj2
= 0 ;
7491 PyObject
* obj3
= 0 ;
7493 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7503 arg3
= wxString_in_helper(obj2
);
7504 if (arg3
== NULL
) SWIG_fail
;
7509 arg4
= (bool) SWIG_AsBool(obj3
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7534 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7541 bool temp3
= False
;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7544 PyObject
* obj2
= 0 ;
7546 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7552 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7556 arg3
= wxString_in_helper(obj2
);
7557 if (arg3
== NULL
) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7585 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7588 wxWindow
*arg2
= (wxWindow
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7592 (char *) "self",(char *) "parent", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 (arg1
)->SetDialogParent(arg2
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 Py_INCREF(Py_None
); resultobj
= Py_None
;
7614 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7617 wxString
*arg2
= 0 ;
7618 bool temp2
= False
;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7622 (char *) "self",(char *) "title", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 arg2
= wxString_in_helper(obj1
);
7630 if (arg2
== NULL
) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 Py_INCREF(Py_None
); resultobj
= Py_None
;
7655 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7658 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7660 return Py_BuildValue((char *)"");
7662 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7668 bool arg5
= (bool) False
;
7669 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7670 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7671 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7673 bool temp6
= False
;
7674 PyObject
* obj0
= 0 ;
7675 PyObject
* obj1
= 0 ;
7676 PyObject
* obj2
= 0 ;
7677 PyObject
* obj3
= 0 ;
7678 PyObject
* obj4
= 0 ;
7679 PyObject
* obj5
= 0 ;
7680 PyObject
* obj6
= 0 ;
7682 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7686 arg1
= (int) SWIG_AsInt(obj0
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7688 arg2
= (int) SWIG_AsInt(obj1
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7690 arg3
= (int) SWIG_AsInt(obj2
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7692 arg4
= (int) SWIG_AsInt(obj3
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 arg5
= (bool) SWIG_AsBool(obj4
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7700 arg6
= wxString_in_helper(obj5
);
7701 if (arg6
== NULL
) SWIG_fail
;
7706 arg7
= (wxFontEncoding
) SWIG_AsInt(obj6
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7731 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxFont
*arg1
= (wxFont
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 Py_INCREF(Py_None
); resultobj
= Py_None
;
7756 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxNativeFontInfo
*arg1
= 0 ;
7760 PyObject
* obj0
= 0 ;
7762 (char *) "info", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7770 PyErr_SetString(PyExc_TypeError
,"null reference");
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7787 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxString
*arg1
= 0 ;
7791 bool temp1
= False
;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "info", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7799 arg1
= wxString_in_helper(obj0
);
7800 if (arg1
== NULL
) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7825 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7829 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7830 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7831 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7832 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7834 bool temp4
= False
;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7837 PyObject
* obj2
= 0 ;
7838 PyObject
* obj3
= 0 ;
7839 PyObject
* obj4
= 0 ;
7841 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7845 arg1
= (int) SWIG_AsInt(obj0
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7847 arg2
= (wxFontFamily
) SWIG_AsInt(obj1
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 arg3
= (int) SWIG_AsInt(obj2
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7855 arg4
= wxString_in_helper(obj3
);
7856 if (arg4
== NULL
) SWIG_fail
;
7861 arg5
= (wxFontEncoding
) SWIG_AsInt(obj4
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7886 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxFont
*arg1
= (wxFont
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7892 (char *) "self", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (bool)((wxFont
const *)arg1
)->Ok();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7914 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxFont
*arg1
= (wxFont
*) 0 ;
7917 wxFont
*arg2
= (wxFont
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7922 (char *) "self",(char *) "other", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7946 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 wxFont
*arg1
= (wxFont
*) 0 ;
7949 wxFont
*arg2
= (wxFont
*) 0 ;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7954 (char *) "self",(char *) "other", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7978 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7980 wxFont
*arg1
= (wxFont
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7984 (char *) "self", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_FromInt((int)result
);
8004 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxFont
*arg1
= (wxFont
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "self", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_FromInt((int)result
);
8030 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxFont
*arg1
= (wxFont
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= SWIG_FromInt((int)result
);
8056 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxFont
*arg1
= (wxFont
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "self", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= SWIG_FromInt((int)result
);
8082 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxFont
*arg1
= (wxFont
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "self", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8110 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxFont
*arg1
= (wxFont
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "self", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 result
= ((wxFont
const *)arg1
)->GetFaceName();
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8142 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxFont
*arg1
= (wxFont
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8148 (char *) "self", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= SWIG_FromInt((int)result
);
8168 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxFont
*arg1
= (wxFont
*) 0 ;
8171 wxNativeFontInfo
*result
;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "self", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8194 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxFont
*arg1
= (wxFont
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8200 (char *) "self", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8222 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxFont
*arg1
= (wxFont
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8228 (char *) "self", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8254 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxFont
*arg1
= (wxFont
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8286 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxFont
*arg1
= (wxFont
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8293 (char *) "self",(char *) "pointSize", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 arg2
= (int) SWIG_AsInt(obj1
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 (arg1
)->SetPointSize(arg2
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 Py_INCREF(Py_None
); resultobj
= Py_None
;
8315 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxFont
*arg1
= (wxFont
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8322 (char *) "self",(char *) "family", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 arg2
= (int) SWIG_AsInt(obj1
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 (arg1
)->SetFamily(arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 Py_INCREF(Py_None
); resultobj
= Py_None
;
8344 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxFont
*arg1
= (wxFont
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8351 (char *) "self",(char *) "style", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 arg2
= (int) SWIG_AsInt(obj1
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 (arg1
)->SetStyle(arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 Py_INCREF(Py_None
); resultobj
= Py_None
;
8373 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxFont
*arg1
= (wxFont
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8378 PyObject
* obj1
= 0 ;
8380 (char *) "self",(char *) "weight", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 arg2
= (int) SWIG_AsInt(obj1
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 (arg1
)->SetWeight(arg2
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 Py_INCREF(Py_None
); resultobj
= Py_None
;
8402 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxFont
*arg1
= (wxFont
*) 0 ;
8405 wxString
*arg2
= 0 ;
8406 bool temp2
= False
;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8410 (char *) "self",(char *) "faceName", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8417 arg2
= wxString_in_helper(obj1
);
8418 if (arg2
== NULL
) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 Py_INCREF(Py_None
); resultobj
= Py_None
;
8443 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxFont
*arg1
= (wxFont
*) 0 ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8450 (char *) "self",(char *) "underlined", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8456 arg2
= (bool) SWIG_AsBool(obj1
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 (arg1
)->SetUnderlined(arg2
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 Py_INCREF(Py_None
); resultobj
= Py_None
;
8472 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxFont
*arg1
= (wxFont
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8479 (char *) "self",(char *) "encoding", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8485 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 Py_INCREF(Py_None
); resultobj
= Py_None
;
8501 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxFont
*arg1
= (wxFont
*) 0 ;
8504 wxNativeFontInfo
*arg2
= 0 ;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8508 (char *) "self",(char *) "info", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8518 PyErr_SetString(PyExc_TypeError
,"null reference");
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8528 Py_INCREF(Py_None
); resultobj
= Py_None
;
8535 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxFont
*arg1
= (wxFont
*) 0 ;
8538 wxString
*arg2
= 0 ;
8539 bool temp2
= False
;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8543 (char *) "self",(char *) "info", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8550 arg2
= wxString_in_helper(obj1
);
8551 if (arg2
== NULL
) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 Py_INCREF(Py_None
); resultobj
= Py_None
;
8576 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxFont
*arg1
= (wxFont
*) 0 ;
8579 wxString
*arg2
= 0 ;
8580 bool temp2
= False
;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8584 (char *) "self",(char *) "info", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 arg2
= wxString_in_helper(obj1
);
8592 if (arg2
== NULL
) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8617 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxFont
*arg1
= (wxFont
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8623 (char *) "self", NULL
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8649 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxFont
*arg1
= (wxFont
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "self", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= ((wxFont
const *)arg1
)->GetStyleString();
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8681 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxFont
*arg1
= (wxFont
*) 0 ;
8685 PyObject
* obj0
= 0 ;
8687 (char *) "self", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= ((wxFont
const *)arg1
)->GetWeightString();
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8713 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 wxFont
*arg1
= (wxFont
*) 0 ;
8716 bool arg2
= (bool) True
;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8720 (char *) "self",(char *) "no", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 arg2
= (bool) SWIG_AsBool(obj1
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 (arg1
)->SetNoAntiAliasing(arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 Py_INCREF(Py_None
); resultobj
= Py_None
;
8744 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8746 wxFont
*arg1
= (wxFont
*) 0 ;
8748 PyObject
* obj0
= 0 ;
8750 (char *) "self", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 result
= (bool)(arg1
)->GetNoAntiAliasing();
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8772 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (int)wxFont::GetDefaultEncoding();
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_FromInt((int)result
);
8794 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8797 PyObject
* obj0
= 0 ;
8799 (char *) "encoding", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8803 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 Py_INCREF(Py_None
); resultobj
= Py_None
;
8819 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
8821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8822 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8824 return Py_BuildValue((char *)"");
8826 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxPyFontEnumerator
*result
;
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8848 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "self", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8876 PyObject
*arg2
= (PyObject
*) 0 ;
8877 PyObject
*arg3
= (PyObject
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8882 PyObject
* obj3
= 0 ;
8884 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8892 arg4
= (bool) SWIG_AsBool(obj3
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8908 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8911 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8912 bool arg3
= (bool) False
;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8916 PyObject
* obj2
= 0 ;
8918 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8925 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8929 arg3
= (bool) SWIG_AsBool(obj2
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8948 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8951 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8952 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8954 bool temp2
= False
;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8958 (char *) "self",(char *) "facename", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8966 arg2
= wxString_in_helper(obj1
);
8967 if (arg2
== NULL
) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8995 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9021 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "self", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9047 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9050 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9052 return Py_BuildValue((char *)"");
9054 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9061 (char *) "self",(char *) "Language", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 arg2
= (int) SWIG_AsInt(obj1
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9069 if (arg1
) (arg1
)->Language
= arg2
;
9071 Py_INCREF(Py_None
); resultobj
= Py_None
;
9078 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9082 PyObject
* obj0
= 0 ;
9084 (char *) "self", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 result
= (int) ((arg1
)->Language
);
9092 resultobj
= SWIG_FromInt((int)result
);
9099 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9102 wxString
*arg2
= (wxString
*) 0 ;
9103 bool temp2
= False
;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9107 (char *) "self",(char *) "CanonicalName", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9114 arg2
= wxString_in_helper(obj1
);
9115 if (arg2
== NULL
) SWIG_fail
;
9118 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9120 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "self", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9151 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9153 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9162 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9165 wxString
*arg2
= (wxString
*) 0 ;
9166 bool temp2
= False
;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9170 (char *) "self",(char *) "Description", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9177 arg2
= wxString_in_helper(obj1
);
9178 if (arg2
== NULL
) SWIG_fail
;
9181 if (arg1
) (arg1
)->Description
= *arg2
;
9183 Py_INCREF(Py_None
); resultobj
= Py_None
;
9198 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9202 PyObject
* obj0
= 0 ;
9204 (char *) "self", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9210 result
= (wxString
*)& ((arg1
)->Description
);
9214 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9216 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9225 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9228 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9230 return Py_BuildValue((char *)"");
9232 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9235 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9240 (char *) "language",(char *) "flags", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9245 arg1
= (int) SWIG_AsInt(obj0
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9249 arg2
= (int) SWIG_AsInt(obj1
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9266 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxLocale
*arg1
= (wxLocale
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9291 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxLocale
*arg1
= (wxLocale
*) 0 ;
9294 wxString
*arg2
= 0 ;
9295 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9296 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9297 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9298 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9299 bool arg5
= (bool) True
;
9300 bool arg6
= (bool) False
;
9302 bool temp2
= False
;
9303 bool temp3
= False
;
9304 bool temp4
= False
;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9307 PyObject
* obj2
= 0 ;
9308 PyObject
* obj3
= 0 ;
9309 PyObject
* obj4
= 0 ;
9310 PyObject
* obj5
= 0 ;
9312 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9319 arg2
= wxString_in_helper(obj1
);
9320 if (arg2
== NULL
) SWIG_fail
;
9325 arg3
= wxString_in_helper(obj2
);
9326 if (arg3
== NULL
) SWIG_fail
;
9332 arg4
= wxString_in_helper(obj3
);
9333 if (arg4
== NULL
) SWIG_fail
;
9338 arg5
= (bool) SWIG_AsBool(obj4
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9342 arg6
= (bool) SWIG_AsBool(obj5
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9385 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxLocale
*arg1
= (wxLocale
*) 0 ;
9388 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9389 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 PyObject
* obj2
= 0 ;
9395 (char *) "self",(char *) "language",(char *) "flags", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9402 arg2
= (int) SWIG_AsInt(obj1
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 arg3
= (int) SWIG_AsInt(obj2
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9425 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (int)wxLocale::GetSystemLanguage();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_FromInt((int)result
);
9447 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (int)wxLocale::GetSystemEncoding();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_FromInt((int)result
);
9469 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
*resultobj
;
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= wxLocale::GetSystemEncodingName();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9497 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxLocale
*arg1
= (wxLocale
*) 0 ;
9501 PyObject
* obj0
= 0 ;
9503 (char *) "self", NULL
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9525 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxLocale
*arg1
= (wxLocale
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= ((wxLocale
const *)arg1
)->GetLocale();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9557 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxLocale
*arg1
= (wxLocale
*) 0 ;
9561 PyObject
* obj0
= 0 ;
9563 (char *) "self", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= SWIG_FromInt((int)result
);
9583 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxLocale
*arg1
= (wxLocale
*) 0 ;
9587 PyObject
* obj0
= 0 ;
9589 (char *) "self", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= ((wxLocale
const *)arg1
)->GetSysName();
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9615 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxLocale
*arg1
= (wxLocale
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9647 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxString
*arg1
= 0 ;
9650 bool temp1
= False
;
9651 PyObject
* obj0
= 0 ;
9653 (char *) "prefix", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9658 arg1
= wxString_in_helper(obj0
);
9659 if (arg1
== NULL
) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxLocale
*arg1
= (wxLocale
*) 0 ;
9687 wxString
*arg2
= 0 ;
9689 bool temp2
= False
;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9693 (char *) "self",(char *) "szDomain", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9700 arg2
= wxString_in_helper(obj1
);
9701 if (arg2
== NULL
) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxLocale
*arg1
= (wxLocale
*) 0 ;
9731 wxString
*arg2
= 0 ;
9733 bool temp2
= False
;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9737 (char *) "self",(char *) "szDomain", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9744 arg2
= wxString_in_helper(obj1
);
9745 if (arg2
== NULL
) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9772 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9775 wxLanguageInfo
*result
;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "lang", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9782 arg1
= (int) SWIG_AsInt(obj0
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9798 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "lang", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9808 arg1
= (int) SWIG_AsInt(obj0
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= wxLocale::GetLanguageName(arg1
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9830 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxString
*arg1
= 0 ;
9833 wxLanguageInfo
*result
;
9834 bool temp1
= False
;
9835 PyObject
* obj0
= 0 ;
9837 (char *) "locale", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9842 arg1
= wxString_in_helper(obj0
);
9843 if (arg1
== NULL
) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9868 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxLanguageInfo
*arg1
= 0 ;
9871 PyObject
* obj0
= 0 ;
9873 (char *) "info", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9881 PyErr_SetString(PyExc_TypeError
,"null reference");
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 Py_INCREF(Py_None
); resultobj
= Py_None
;
9898 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxLocale
*arg1
= (wxLocale
*) 0 ;
9901 wxString
*arg2
= 0 ;
9902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9905 bool temp2
= False
;
9906 bool temp3
= False
;
9907 PyObject
* obj0
= 0 ;
9908 PyObject
* obj1
= 0 ;
9909 PyObject
* obj2
= 0 ;
9911 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9918 arg2
= wxString_in_helper(obj1
);
9919 if (arg2
== NULL
) SWIG_fail
;
9924 arg3
= wxString_in_helper(obj2
);
9925 if (arg3
== NULL
) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9965 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
;
9967 wxLocale
*arg1
= (wxLocale
*) 0 ;
9969 PyObject
* obj0
= 0 ;
9971 (char *) "self", NULL
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9981 result
= (wxString
*) &_result_ref
;
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9991 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10000 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10003 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10005 return Py_BuildValue((char *)"");
10007 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10010 char *kwnames
[] = {
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (wxLocale
*)wxGetLocale();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10029 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10030 PyObject
*resultobj
;
10031 wxString
*arg1
= 0 ;
10033 bool temp1
= False
;
10034 PyObject
* obj0
= 0 ;
10036 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10038 arg1
= wxString_in_helper(obj0
);
10039 if (arg1
== NULL
) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= wxGetTranslation((wxString
const &)*arg1
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10070 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10071 PyObject
*resultobj
;
10072 wxString
*arg1
= 0 ;
10073 wxString
*arg2
= 0 ;
10076 bool temp1
= False
;
10077 bool temp2
= False
;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 PyObject
* obj2
= 0 ;
10082 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10084 arg1
= wxString_in_helper(obj0
);
10085 if (arg1
== NULL
) SWIG_fail
;
10089 arg2
= wxString_in_helper(obj1
);
10090 if (arg2
== NULL
) SWIG_fail
;
10093 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10131 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10136 argc
= PyObject_Length(args
);
10137 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10138 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10143 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10146 return _wrap_GetTranslation__SWIG_0(self
,args
);
10152 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10156 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10159 _v
= SWIG_CheckUnsignedLong(argv
[2]);
10161 return _wrap_GetTranslation__SWIG_1(self
,args
);
10167 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10172 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxEncodingConverter
*result
;
10175 char *kwnames
[] = {
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10194 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10224 int arg4
= (int) wxCONVERT_STRICT
;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 PyObject
* obj2
= 0 ;
10229 PyObject
* obj3
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10239 arg3
= (wxFontEncoding
) SWIG_AsInt(obj2
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 arg4
= (int) SWIG_AsInt(obj3
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10261 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10264 wxString
*arg2
= 0 ;
10266 bool temp2
= False
;
10267 PyObject
* obj0
= 0 ;
10268 PyObject
* obj1
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self",(char *) "input", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 arg2
= wxString_in_helper(obj1
);
10278 if (arg2
== NULL
) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10309 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
;
10312 int arg2
= (int) wxPLATFORM_CURRENT
;
10313 wxFontEncodingArray result
;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "enc",(char *) "platform", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10321 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 arg2
= (int) SWIG_AsInt(obj1
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= PyList_New(0);
10336 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10337 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10338 PyList_Append(resultobj
, number
);
10348 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10351 wxFontEncodingArray result
;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "enc", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10358 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= PyList_New(0);
10369 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10370 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10371 PyList_Append(resultobj
, number
);
10381 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "encIn",(char *) "encOut", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10393 arg1
= (wxFontEncoding
) SWIG_AsInt(obj0
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10395 arg2
= (wxFontEncoding
) SWIG_AsInt(obj1
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10413 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10416 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10418 return Py_BuildValue((char *)"");
10420 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxDC
*arg1
= (wxDC
*) 0 ;
10423 PyObject
* obj0
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxDC
*arg1
= (wxDC
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 (arg1
)->BeginDrawing();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 Py_INCREF(Py_None
); resultobj
= Py_None
;
10470 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxDC
*arg1
= (wxDC
*) 0 ;
10473 PyObject
* obj0
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 (arg1
)->EndDrawing();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxDC
*arg1
= (wxDC
*) 0 ;
10500 wxColour
*arg4
= 0 ;
10501 int arg5
= (int) wxFLOOD_SURFACE
;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 PyObject
* obj2
= 0 ;
10507 PyObject
* obj3
= 0 ;
10508 PyObject
* obj4
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 arg2
= (int) SWIG_AsInt(obj1
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10518 arg3
= (int) SWIG_AsInt(obj2
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10522 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10525 arg5
= (int) SWIG_AsInt(obj4
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10544 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxDC
*arg1
= (wxDC
*) 0 ;
10547 wxPoint
*arg2
= 0 ;
10548 wxColour
*arg3
= 0 ;
10549 int arg4
= (int) wxFLOOD_SURFACE
;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 PyObject
* obj2
= 0 ;
10556 PyObject
* obj3
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10570 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10573 arg4
= (int) SWIG_AsInt(obj3
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10592 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxDC
*arg1
= (wxDC
*) 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 PyObject
* obj2
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self",(char *) "x",(char *) "y", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10608 arg2
= (int) SWIG_AsInt(obj1
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10610 arg3
= (int) SWIG_AsInt(obj2
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 wxColour
* resultptr
;
10621 resultptr
= new wxColour((wxColour
&) result
);
10622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10630 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxDC
*arg1
= (wxDC
*) 0 ;
10633 wxPoint
*arg2
= 0 ;
10636 PyObject
* obj0
= 0 ;
10637 PyObject
* obj1
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self",(char *) "pt", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 wxColour
* resultptr
;
10658 resultptr
= new wxColour((wxColour
&) result
);
10659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10667 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxDC
*arg1
= (wxDC
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 PyObject
* obj3
= 0 ;
10678 PyObject
* obj4
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 arg2
= (int) SWIG_AsInt(obj1
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10688 arg3
= (int) SWIG_AsInt(obj2
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10690 arg4
= (int) SWIG_AsInt(obj3
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10692 arg5
= (int) SWIG_AsInt(obj4
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 Py_INCREF(Py_None
); resultobj
= Py_None
;
10708 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxDC
*arg1
= (wxDC
*) 0 ;
10711 wxPoint
*arg2
= 0 ;
10712 wxPoint
*arg3
= 0 ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 PyObject
* obj2
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 Py_INCREF(Py_None
); resultobj
= Py_None
;
10747 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
;
10749 wxDC
*arg1
= (wxDC
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 PyObject
* obj2
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self",(char *) "x",(char *) "y", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 arg2
= (int) SWIG_AsInt(obj1
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10764 arg3
= (int) SWIG_AsInt(obj2
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->CrossHair(arg2
,arg3
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxDC
*arg1
= (wxDC
*) 0 ;
10783 wxPoint
*arg2
= 0 ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "pt", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 Py_INCREF(Py_None
); resultobj
= Py_None
;
10812 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxDC
*arg1
= (wxDC
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj2
= 0 ;
10824 PyObject
* obj3
= 0 ;
10825 PyObject
* obj4
= 0 ;
10826 PyObject
* obj5
= 0 ;
10827 PyObject
* obj6
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 arg2
= (int) SWIG_AsInt(obj1
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10837 arg3
= (int) SWIG_AsInt(obj2
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10839 arg4
= (int) SWIG_AsInt(obj3
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10841 arg5
= (int) SWIG_AsInt(obj4
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10843 arg6
= (int) SWIG_AsInt(obj5
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10845 arg7
= (int) SWIG_AsInt(obj6
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 Py_INCREF(Py_None
); resultobj
= Py_None
;
10861 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxDC
*arg1
= (wxDC
*) 0 ;
10864 wxPoint
*arg2
= 0 ;
10865 wxPoint
*arg3
= 0 ;
10866 wxPoint
*arg4
= 0 ;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 PyObject
* obj2
= 0 ;
10873 PyObject
* obj3
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxDC
*arg1
= (wxDC
*) 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 PyObject
* obj2
= 0 ;
10917 PyObject
* obj3
= 0 ;
10918 PyObject
* obj4
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10926 arg2
= (int) SWIG_AsInt(obj1
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10928 arg3
= (int) SWIG_AsInt(obj2
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10930 arg4
= (int) SWIG_AsInt(obj3
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10932 arg5
= (int) SWIG_AsInt(obj4
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxDC
*arg1
= (wxDC
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "rect", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 Py_INCREF(Py_None
); resultobj
= Py_None
;
10980 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxDC
*arg1
= (wxDC
*) 0 ;
10989 PyObject
* obj0
= 0 ;
10990 PyObject
* obj1
= 0 ;
10991 PyObject
* obj2
= 0 ;
10992 PyObject
* obj3
= 0 ;
10993 PyObject
* obj4
= 0 ;
10994 PyObject
* obj5
= 0 ;
10995 PyObject
* obj6
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 arg2
= (int) SWIG_AsInt(obj1
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11005 arg3
= (int) SWIG_AsInt(obj2
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11007 arg4
= (int) SWIG_AsInt(obj3
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11009 arg5
= (int) SWIG_AsInt(obj4
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11011 arg6
= (double) SWIG_AsDouble(obj5
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11013 arg7
= (double) SWIG_AsDouble(obj6
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 Py_INCREF(Py_None
); resultobj
= Py_None
;
11029 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxDC
*arg1
= (wxDC
*) 0 ;
11032 wxPoint
*arg2
= 0 ;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 PyObject
* obj2
= 0 ;
11041 PyObject
* obj3
= 0 ;
11042 PyObject
* obj4
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
;
11060 arg5
= (double) SWIG_AsDouble(obj4
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 Py_INCREF(Py_None
); resultobj
= Py_None
;
11076 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxDC
*arg1
= (wxDC
*) 0 ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 PyObject
* obj2
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self",(char *) "x",(char *) "y", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 arg2
= (int) SWIG_AsInt(obj1
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11093 arg3
= (int) SWIG_AsInt(obj2
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 (arg1
)->DrawPoint(arg2
,arg3
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 Py_INCREF(Py_None
); resultobj
= Py_None
;
11109 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxDC
*arg1
= (wxDC
*) 0 ;
11112 wxPoint
*arg2
= 0 ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self",(char *) "pt", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxDC
*arg1
= (wxDC
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 PyObject
* obj2
= 0 ;
11151 PyObject
* obj3
= 0 ;
11152 PyObject
* obj4
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11160 arg2
= (int) SWIG_AsInt(obj1
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11162 arg3
= (int) SWIG_AsInt(obj2
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11164 arg4
= (int) SWIG_AsInt(obj3
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11166 arg5
= (int) SWIG_AsInt(obj4
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxDC
*arg1
= (wxDC
*) 0 ;
11185 wxPoint
*arg2
= 0 ;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11191 PyObject
* obj2
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self",(char *) "pt",(char *) "sz", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11205 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 Py_INCREF(Py_None
); resultobj
= Py_None
;
11221 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxDC
*arg1
= (wxDC
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self",(char *) "rect", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11237 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 Py_INCREF(Py_None
); resultobj
= Py_None
;
11253 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxDC
*arg1
= (wxDC
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 PyObject
* obj2
= 0 ;
11264 PyObject
* obj3
= 0 ;
11265 PyObject
* obj4
= 0 ;
11266 PyObject
* obj5
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11274 arg2
= (int) SWIG_AsInt(obj1
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11276 arg3
= (int) SWIG_AsInt(obj2
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11278 arg4
= (int) SWIG_AsInt(obj3
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11280 arg5
= (int) SWIG_AsInt(obj4
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11282 arg6
= (double) SWIG_AsDouble(obj5
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 Py_INCREF(Py_None
); resultobj
= Py_None
;
11298 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxDC
*arg1
= (wxDC
*) 0 ;
11301 wxPoint
*arg2
= 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 PyObject
* obj2
= 0 ;
11309 PyObject
* obj3
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11323 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11325 arg4
= (double) SWIG_AsDouble(obj3
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 Py_INCREF(Py_None
); resultobj
= Py_None
;
11341 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
;
11343 wxDC
*arg1
= (wxDC
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 PyObject
* obj2
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "self",(char *) "r",(char *) "radius", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11361 arg3
= (double) SWIG_AsDouble(obj2
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxDC
*arg1
= (wxDC
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 PyObject
* obj3
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11394 arg2
= (int) SWIG_AsInt(obj1
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11396 arg3
= (int) SWIG_AsInt(obj2
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11398 arg4
= (int) SWIG_AsInt(obj3
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 Py_INCREF(Py_None
); resultobj
= Py_None
;
11414 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxDC
*arg1
= (wxDC
*) 0 ;
11417 wxPoint
*arg2
= 0 ;
11420 PyObject
* obj0
= 0 ;
11421 PyObject
* obj1
= 0 ;
11422 PyObject
* obj2
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "self",(char *) "pt",(char *) "radius", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11434 arg3
= (int) SWIG_AsInt(obj2
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 Py_INCREF(Py_None
); resultobj
= Py_None
;
11450 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxDC
*arg1
= (wxDC
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 PyObject
* obj2
= 0 ;
11460 PyObject
* obj3
= 0 ;
11461 PyObject
* obj4
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11469 arg2
= (int) SWIG_AsInt(obj1
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11471 arg3
= (int) SWIG_AsInt(obj2
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11473 arg4
= (int) SWIG_AsInt(obj3
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11475 arg5
= (int) SWIG_AsInt(obj4
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 Py_INCREF(Py_None
); resultobj
= Py_None
;
11491 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxDC
*arg1
= (wxDC
*) 0 ;
11494 wxPoint
*arg2
= 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 PyObject
* obj2
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "pt",(char *) "sz", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11514 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxDC
*arg1
= (wxDC
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "rect", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11546 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11562 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxDC
*arg1
= (wxDC
*) 0 ;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 PyObject
* obj2
= 0 ;
11571 PyObject
* obj3
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11582 if (arg2
== NULL
) {
11583 PyErr_SetString(PyExc_TypeError
,"null reference");
11586 arg3
= (int) SWIG_AsInt(obj2
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11588 arg4
= (int) SWIG_AsInt(obj3
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 Py_INCREF(Py_None
); resultobj
= Py_None
;
11604 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
*resultobj
;
11606 wxDC
*arg1
= (wxDC
*) 0 ;
11608 wxPoint
*arg3
= 0 ;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 PyObject
* obj2
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self",(char *) "icon",(char *) "pt", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11623 if (arg2
== NULL
) {
11624 PyErr_SetString(PyExc_TypeError
,"null reference");
11629 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11638 Py_INCREF(Py_None
); resultobj
= Py_None
;
11645 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxDC
*arg1
= (wxDC
*) 0 ;
11648 wxBitmap
*arg2
= 0 ;
11651 bool arg5
= (bool) False
;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11654 PyObject
* obj2
= 0 ;
11655 PyObject
* obj3
= 0 ;
11656 PyObject
* obj4
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11667 if (arg2
== NULL
) {
11668 PyErr_SetString(PyExc_TypeError
,"null reference");
11671 arg3
= (int) SWIG_AsInt(obj2
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11673 arg4
= (int) SWIG_AsInt(obj3
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 arg5
= (bool) SWIG_AsBool(obj4
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 Py_INCREF(Py_None
); resultobj
= Py_None
;
11693 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxDC
*arg1
= (wxDC
*) 0 ;
11696 wxBitmap
*arg2
= 0 ;
11697 wxPoint
*arg3
= 0 ;
11698 bool arg4
= (bool) False
;
11700 PyObject
* obj0
= 0 ;
11701 PyObject
* obj1
= 0 ;
11702 PyObject
* obj2
= 0 ;
11703 PyObject
* obj3
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11714 if (arg2
== NULL
) {
11715 PyErr_SetString(PyExc_TypeError
,"null reference");
11720 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11723 arg4
= (bool) SWIG_AsBool(obj3
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11733 Py_INCREF(Py_None
); resultobj
= Py_None
;
11740 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxDC
*arg1
= (wxDC
*) 0 ;
11743 wxString
*arg2
= 0 ;
11746 bool temp2
= False
;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 PyObject
* obj2
= 0 ;
11750 PyObject
* obj3
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11759 arg2
= wxString_in_helper(obj1
);
11760 if (arg2
== NULL
) SWIG_fail
;
11763 arg3
= (int) SWIG_AsInt(obj2
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11765 arg4
= (int) SWIG_AsInt(obj3
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 Py_INCREF(Py_None
); resultobj
= Py_None
;
11789 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxDC
*arg1
= (wxDC
*) 0 ;
11792 wxString
*arg2
= 0 ;
11793 wxPoint
*arg3
= 0 ;
11794 bool temp2
= False
;
11796 PyObject
* obj0
= 0 ;
11797 PyObject
* obj1
= 0 ;
11798 PyObject
* obj2
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "text",(char *) "pt", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11807 arg2
= wxString_in_helper(obj1
);
11808 if (arg2
== NULL
) SWIG_fail
;
11813 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 Py_INCREF(Py_None
); resultobj
= Py_None
;
11837 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11839 wxDC
*arg1
= (wxDC
*) 0 ;
11840 wxString
*arg2
= 0 ;
11844 bool temp2
= False
;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 PyObject
* obj2
= 0 ;
11848 PyObject
* obj3
= 0 ;
11849 PyObject
* obj4
= 0 ;
11850 char *kwnames
[] = {
11851 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11858 arg2
= wxString_in_helper(obj1
);
11859 if (arg2
== NULL
) SWIG_fail
;
11862 arg3
= (int) SWIG_AsInt(obj2
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11864 arg4
= (int) SWIG_AsInt(obj3
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11866 arg5
= (double) SWIG_AsDouble(obj4
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 Py_INCREF(Py_None
); resultobj
= Py_None
;
11890 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
;
11892 wxDC
*arg1
= (wxDC
*) 0 ;
11893 wxString
*arg2
= 0 ;
11894 wxPoint
*arg3
= 0 ;
11896 bool temp2
= False
;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 PyObject
* obj2
= 0 ;
11901 PyObject
* obj3
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11910 arg2
= wxString_in_helper(obj1
);
11911 if (arg2
== NULL
) SWIG_fail
;
11916 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11918 arg4
= (double) SWIG_AsDouble(obj3
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 Py_INCREF(Py_None
); resultobj
= Py_None
;
11942 static PyObject
*_wrap_DC_BlitXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxDC
*arg1
= (wxDC
*) 0 ;
11949 wxDC
*arg6
= (wxDC
*) 0 ;
11952 int arg9
= (int) wxCOPY
;
11953 bool arg10
= (bool) False
;
11954 int arg11
= (int) -1 ;
11955 int arg12
= (int) -1 ;
11957 PyObject
* obj0
= 0 ;
11958 PyObject
* obj1
= 0 ;
11959 PyObject
* obj2
= 0 ;
11960 PyObject
* obj3
= 0 ;
11961 PyObject
* obj4
= 0 ;
11962 PyObject
* obj5
= 0 ;
11963 PyObject
* obj6
= 0 ;
11964 PyObject
* obj7
= 0 ;
11965 PyObject
* obj8
= 0 ;
11966 PyObject
* obj9
= 0 ;
11967 PyObject
* obj10
= 0 ;
11968 PyObject
* obj11
= 0 ;
11969 char *kwnames
[] = {
11970 (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
11973 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
;
11974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 arg2
= (int) SWIG_AsInt(obj1
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11978 arg3
= (int) SWIG_AsInt(obj2
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11980 arg4
= (int) SWIG_AsInt(obj3
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11982 arg5
= (int) SWIG_AsInt(obj4
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11984 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
11985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11986 arg7
= (int) SWIG_AsInt(obj6
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11988 arg8
= (int) SWIG_AsInt(obj7
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 arg9
= (int) SWIG_AsInt(obj8
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11995 arg10
= (bool) SWIG_AsBool(obj9
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 arg11
= (int) SWIG_AsInt(obj10
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 arg12
= (int) SWIG_AsInt(obj11
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12022 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxDC
*arg1
= (wxDC
*) 0 ;
12025 wxPoint
*arg2
= 0 ;
12027 wxDC
*arg4
= (wxDC
*) 0 ;
12028 wxPoint
*arg5
= 0 ;
12029 int arg6
= (int) wxCOPY
;
12030 bool arg7
= (bool) False
;
12031 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12032 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 PyObject
* obj2
= 0 ;
12041 PyObject
* obj3
= 0 ;
12042 PyObject
* obj4
= 0 ;
12043 PyObject
* obj5
= 0 ;
12044 PyObject
* obj6
= 0 ;
12045 PyObject
* obj7
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12059 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12061 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12065 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12068 arg6
= (int) SWIG_AsInt(obj5
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12072 arg7
= (bool) SWIG_AsBool(obj6
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12078 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12097 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxDC
*arg1
= (wxDC
*) 0 ;
12101 wxPoint
*arg3
= (wxPoint
*) 0 ;
12102 int arg4
= (int) 0 ;
12103 int arg5
= (int) 0 ;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 PyObject
* obj2
= 0 ;
12107 PyObject
* obj3
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12116 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12117 if (arg3
== NULL
) SWIG_fail
;
12120 arg4
= (int) SWIG_AsInt(obj2
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 arg5
= (int) SWIG_AsInt(obj3
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 Py_INCREF(Py_None
); resultobj
= Py_None
;
12136 if (arg3
) delete [] arg3
;
12141 if (arg3
) delete [] arg3
;
12147 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxDC
*arg1
= (wxDC
*) 0 ;
12151 wxPoint
*arg3
= (wxPoint
*) 0 ;
12152 int arg4
= (int) 0 ;
12153 int arg5
= (int) 0 ;
12154 int arg6
= (int) wxODDEVEN_RULE
;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 PyObject
* obj2
= 0 ;
12158 PyObject
* obj3
= 0 ;
12159 PyObject
* obj4
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12169 if (arg3
== NULL
) SWIG_fail
;
12172 arg4
= (int) SWIG_AsInt(obj2
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12176 arg5
= (int) SWIG_AsInt(obj3
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12180 arg6
= (int) SWIG_AsInt(obj4
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12192 if (arg3
) delete [] arg3
;
12197 if (arg3
) delete [] arg3
;
12203 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxDC
*arg1
= (wxDC
*) 0 ;
12206 wxString
*arg2
= 0 ;
12208 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12209 int arg5
= (int) -1 ;
12210 bool temp2
= False
;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 PyObject
* obj2
= 0 ;
12215 PyObject
* obj3
= 0 ;
12216 PyObject
* obj4
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12225 arg2
= wxString_in_helper(obj1
);
12226 if (arg2
== NULL
) SWIG_fail
;
12231 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12234 arg4
= (int) SWIG_AsInt(obj3
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 arg5
= (int) SWIG_AsInt(obj4
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12263 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxDC
*arg1
= (wxDC
*) 0 ;
12266 wxString
*arg2
= 0 ;
12267 wxBitmap
*arg3
= 0 ;
12269 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12270 int arg6
= (int) -1 ;
12272 bool temp2
= False
;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 PyObject
* obj2
= 0 ;
12277 PyObject
* obj3
= 0 ;
12278 PyObject
* obj4
= 0 ;
12279 PyObject
* obj5
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12288 arg2
= wxString_in_helper(obj1
);
12289 if (arg2
== NULL
) SWIG_fail
;
12292 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12295 if (arg3
== NULL
) {
12296 PyErr_SetString(PyExc_TypeError
,"null reference");
12301 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12304 arg5
= (int) SWIG_AsInt(obj4
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 arg6
= (int) SWIG_AsInt(obj5
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12319 wxRect
* resultptr
;
12320 resultptr
= new wxRect((wxRect
&) result
);
12321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12337 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxDC
*arg1
= (wxDC
*) 0 ;
12341 wxPoint
*arg3
= (wxPoint
*) 0 ;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self",(char *) "points", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12352 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12353 if (arg3
== NULL
) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->DrawSpline(arg2
,arg3
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 Py_INCREF(Py_None
); resultobj
= Py_None
;
12364 if (arg3
) delete [] arg3
;
12369 if (arg3
) delete [] arg3
;
12375 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxDC
*arg1
= (wxDC
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 Py_INCREF(Py_None
); resultobj
= Py_None
;
12400 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxDC
*arg1
= (wxDC
*) 0 ;
12403 wxString
*arg2
= 0 ;
12405 bool temp2
= False
;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "message", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12416 arg2
= wxString_in_helper(obj1
);
12417 if (arg2
== NULL
) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12444 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxDC
*arg1
= (wxDC
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 Py_INCREF(Py_None
); resultobj
= Py_None
;
12469 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxDC
*arg1
= (wxDC
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 (arg1
)->StartPage();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 Py_INCREF(Py_None
); resultobj
= Py_None
;
12494 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxDC
*arg1
= (wxDC
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 Py_INCREF(Py_None
); resultobj
= Py_None
;
12519 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxDC
*arg1
= (wxDC
*) 0 ;
12523 PyObject
* obj0
= 0 ;
12524 PyObject
* obj1
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self",(char *) "font", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12535 if (arg2
== NULL
) {
12536 PyErr_SetString(PyExc_TypeError
,"null reference");
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->SetFont((wxFont
const &)*arg2
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 Py_INCREF(Py_None
); resultobj
= Py_None
;
12553 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxDC
*arg1
= (wxDC
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self",(char *) "pen", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12569 if (arg2
== NULL
) {
12570 PyErr_SetString(PyExc_TypeError
,"null reference");
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 (arg1
)->SetPen((wxPen
const &)*arg2
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 Py_INCREF(Py_None
); resultobj
= Py_None
;
12587 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxDC
*arg1
= (wxDC
*) 0 ;
12590 wxBrush
*arg2
= 0 ;
12591 PyObject
* obj0
= 0 ;
12592 PyObject
* obj1
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self",(char *) "brush", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12603 if (arg2
== NULL
) {
12604 PyErr_SetString(PyExc_TypeError
,"null reference");
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 Py_INCREF(Py_None
); resultobj
= Py_None
;
12621 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxDC
*arg1
= (wxDC
*) 0 ;
12624 wxBrush
*arg2
= 0 ;
12625 PyObject
* obj0
= 0 ;
12626 PyObject
* obj1
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self",(char *) "brush", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12637 if (arg2
== NULL
) {
12638 PyErr_SetString(PyExc_TypeError
,"null reference");
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxDC
*arg1
= (wxDC
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 PyObject
* obj1
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self",(char *) "mode", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 arg2
= (int) SWIG_AsInt(obj1
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetBackgroundMode(arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 Py_INCREF(Py_None
); resultobj
= Py_None
;
12684 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxDC
*arg1
= (wxDC
*) 0 ;
12687 wxPalette
*arg2
= 0 ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "palette", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12700 if (arg2
== NULL
) {
12701 PyErr_SetString(PyExc_TypeError
,"null reference");
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxDC
*arg1
= (wxDC
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 PyObject
* obj1
= 0 ;
12727 PyObject
* obj2
= 0 ;
12728 PyObject
* obj3
= 0 ;
12729 PyObject
* obj4
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 arg2
= (int) SWIG_AsInt(obj1
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12739 arg3
= (int) SWIG_AsInt(obj2
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12741 arg4
= (int) SWIG_AsInt(obj3
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12743 arg5
= (int) SWIG_AsInt(obj4
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 Py_INCREF(Py_None
); resultobj
= Py_None
;
12759 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxDC
*arg1
= (wxDC
*) 0 ;
12762 wxPoint
*arg2
= 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 PyObject
* obj2
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self",(char *) "pt",(char *) "sz", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12782 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxDC
*arg1
= (wxDC
*) 0 ;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "self",(char *) "rect", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12814 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 Py_INCREF(Py_None
); resultobj
= Py_None
;
12830 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxDC
*arg1
= (wxDC
*) 0 ;
12833 wxRegion
*arg2
= 0 ;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self",(char *) "region", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12846 if (arg2
== NULL
) {
12847 PyErr_SetString(PyExc_TypeError
,"null reference");
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 Py_INCREF(Py_None
); resultobj
= Py_None
;
12864 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxDC
*arg1
= (wxDC
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->DestroyClippingRegion();
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxDC
*arg1
= (wxDC
*) 0 ;
12892 int *arg2
= (int *) 0 ;
12893 int *arg3
= (int *) 0 ;
12894 int *arg4
= (int *) 0 ;
12895 int *arg5
= (int *) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 Py_INCREF(Py_None
); resultobj
= Py_None
;
12921 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12922 resultobj
= t_output_helper(resultobj
,o
);
12925 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12926 resultobj
= t_output_helper(resultobj
,o
);
12929 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12930 resultobj
= t_output_helper(resultobj
,o
);
12933 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12934 resultobj
= t_output_helper(resultobj
,o
);
12942 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxDC
*arg1
= (wxDC
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= wxDC_GetClippingRect(arg1
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 wxRect
* resultptr
;
12963 resultptr
= new wxRect((wxRect
&) result
);
12964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12972 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
;
12974 wxDC
*arg1
= (wxDC
*) 0 ;
12976 PyObject
* obj0
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_FromInt((int)result
);
12998 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxDC
*arg1
= (wxDC
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_FromInt((int)result
);
13024 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxDC
*arg1
= (wxDC
*) 0 ;
13027 wxString
*arg2
= 0 ;
13028 int *arg3
= (int *) 0 ;
13029 int *arg4
= (int *) 0 ;
13030 bool temp2
= False
;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self",(char *) "string", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13045 arg2
= wxString_in_helper(obj1
);
13046 if (arg2
== NULL
) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 Py_INCREF(Py_None
); resultobj
= Py_None
;
13058 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13059 resultobj
= t_output_helper(resultobj
,o
);
13062 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13063 resultobj
= t_output_helper(resultobj
,o
);
13079 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxDC
*arg1
= (wxDC
*) 0 ;
13082 wxString
*arg2
= 0 ;
13083 int *arg3
= (int *) 0 ;
13084 int *arg4
= (int *) 0 ;
13085 int *arg5
= (int *) 0 ;
13086 int *arg6
= (int *) 0 ;
13087 wxFont
*arg7
= (wxFont
*) NULL
;
13088 bool temp2
= False
;
13093 PyObject
* obj0
= 0 ;
13094 PyObject
* obj1
= 0 ;
13095 PyObject
* obj2
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self",(char *) "string",(char *) "font", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg2
= wxString_in_helper(obj1
);
13109 if (arg2
== NULL
) SWIG_fail
;
13113 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 Py_INCREF(Py_None
); resultobj
= Py_None
;
13125 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13126 resultobj
= t_output_helper(resultobj
,o
);
13129 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13130 resultobj
= t_output_helper(resultobj
,o
);
13133 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13134 resultobj
= t_output_helper(resultobj
,o
);
13137 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13138 resultobj
= t_output_helper(resultobj
,o
);
13154 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxDC
*arg1
= (wxDC
*) 0 ;
13157 wxString
*arg2
= 0 ;
13158 int *arg3
= (int *) 0 ;
13159 int *arg4
= (int *) 0 ;
13160 int *arg5
= (int *) 0 ;
13161 wxFont
*arg6
= (wxFont
*) NULL
;
13162 bool temp2
= False
;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 PyObject
* obj2
= 0 ;
13169 char *kwnames
[] = {
13170 (char *) "self",(char *) "text",(char *) "font", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 arg2
= wxString_in_helper(obj1
);
13181 if (arg2
== NULL
) SWIG_fail
;
13185 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 Py_INCREF(Py_None
); resultobj
= Py_None
;
13197 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13198 resultobj
= t_output_helper(resultobj
,o
);
13201 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13202 resultobj
= t_output_helper(resultobj
,o
);
13205 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13206 resultobj
= t_output_helper(resultobj
,o
);
13222 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxDC
*arg1
= (wxDC
*) 0 ;
13225 wxString
*arg2
= 0 ;
13227 bool temp2
= False
;
13228 PyObject
* obj0
= 0 ;
13229 PyObject
* obj1
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self",(char *) "text", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13238 arg2
= wxString_in_helper(obj1
);
13239 if (arg2
== NULL
) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= PyList_New(0);
13252 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13253 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13254 PyList_Append(resultobj
, val
);
13272 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxDC
*arg1
= (wxDC
*) 0 ;
13276 PyObject
* obj0
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (arg1
)->GetSize();
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 wxSize
* resultptr
;
13293 resultptr
= new wxSize((wxSize
&) result
);
13294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13302 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxDC
*arg1
= (wxDC
*) 0 ;
13305 int *arg2
= (int *) 0 ;
13306 int *arg3
= (int *) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 (arg1
)->GetSize(arg2
,arg3
);
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 Py_INCREF(Py_None
); resultobj
= Py_None
;
13328 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13329 resultobj
= t_output_helper(resultobj
,o
);
13332 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13333 resultobj
= t_output_helper(resultobj
,o
);
13341 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxDC
*arg1
= (wxDC
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13361 wxSize
* resultptr
;
13362 resultptr
= new wxSize((wxSize
&) result
);
13363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13371 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxDC
*arg1
= (wxDC
*) 0 ;
13374 int *arg2
= (int *) 0 ;
13375 int *arg3
= (int *) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 Py_INCREF(Py_None
); resultobj
= Py_None
;
13397 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13398 resultobj
= t_output_helper(resultobj
,o
);
13401 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13402 resultobj
= t_output_helper(resultobj
,o
);
13410 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxDC
*arg1
= (wxDC
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self",(char *) "x", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 arg2
= (int) SWIG_AsInt(obj1
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_FromInt((int)result
);
13440 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxDC
*arg1
= (wxDC
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self",(char *) "y", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 arg2
= (int) SWIG_AsInt(obj1
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_FromInt((int)result
);
13470 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxDC
*arg1
= (wxDC
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self",(char *) "x", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13484 arg2
= (int) SWIG_AsInt(obj1
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_FromInt((int)result
);
13500 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxDC
*arg1
= (wxDC
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 PyObject
* obj1
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self",(char *) "y", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 arg2
= (int) SWIG_AsInt(obj1
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_FromInt((int)result
);
13530 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxDC
*arg1
= (wxDC
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self",(char *) "x", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13544 arg2
= (int) SWIG_AsInt(obj1
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_FromInt((int)result
);
13560 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxDC
*arg1
= (wxDC
*) 0 ;
13565 PyObject
* obj0
= 0 ;
13566 PyObject
* obj1
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self",(char *) "y", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13574 arg2
= (int) SWIG_AsInt(obj1
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_FromInt((int)result
);
13590 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxDC
*arg1
= (wxDC
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "x", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 arg2
= (int) SWIG_AsInt(obj1
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_FromInt((int)result
);
13620 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxDC
*arg1
= (wxDC
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "y", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 arg2
= (int) SWIG_AsInt(obj1
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_FromInt((int)result
);
13650 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxDC
*arg1
= (wxDC
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13678 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxDC
*arg1
= (wxDC
*) 0 ;
13682 PyObject
* obj0
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13706 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxDC
*arg1
= (wxDC
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 char *kwnames
[] = {
13712 (char *) "self", NULL
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_FromInt((int)result
);
13732 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxDC
*arg1
= (wxDC
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= ((wxDC
const *)arg1
)->GetPPI();
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 wxSize
* resultptr
;
13753 resultptr
= new wxSize((wxSize
&) result
);
13754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13762 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxDC
*arg1
= (wxDC
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (bool)((wxDC
const *)arg1
)->Ok();
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13790 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxDC
*arg1
= (wxDC
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= SWIG_FromInt((int)result
);
13816 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
;
13818 wxDC
*arg1
= (wxDC
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13832 result
= (wxBrush
*) &_result_ref
;
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 wxBrush
* resultptr
= new wxBrush(*result
);
13840 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13848 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxDC
*arg1
= (wxDC
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13864 result
= (wxBrush
*) &_result_ref
;
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13871 wxBrush
* resultptr
= new wxBrush(*result
);
13872 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13880 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxDC
*arg1
= (wxDC
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13896 result
= (wxFont
*) &_result_ref
;
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 wxFont
* resultptr
= new wxFont(*result
);
13904 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13912 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxDC
*arg1
= (wxDC
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13928 result
= (wxPen
*) &_result_ref
;
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13935 wxPen
* resultptr
= new wxPen(*result
);
13936 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13944 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxDC
*arg1
= (wxDC
*) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13960 result
= (wxColour
*) &_result_ref
;
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13973 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxDC
*arg1
= (wxDC
*) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13989 result
= (wxColour
*) &_result_ref
;
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14002 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxDC
*arg1
= (wxDC
*) 0 ;
14005 wxColour
*arg2
= 0 ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self",(char *) "colour", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14018 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 Py_INCREF(Py_None
); resultobj
= Py_None
;
14034 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxDC
*arg1
= (wxDC
*) 0 ;
14037 wxColour
*arg2
= 0 ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "colour", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14050 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 Py_INCREF(Py_None
); resultobj
= Py_None
;
14066 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxDC
*arg1
= (wxDC
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_FromInt((int)result
);
14092 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxDC
*arg1
= (wxDC
*) 0 ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self",(char *) "mode", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14105 arg2
= (int) SWIG_AsInt(obj1
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 (arg1
)->SetMapMode(arg2
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 Py_INCREF(Py_None
); resultobj
= Py_None
;
14121 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxDC
*arg1
= (wxDC
*) 0 ;
14124 double *arg2
= (double *) 0 ;
14125 double *arg3
= (double *) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14145 Py_INCREF(Py_None
); resultobj
= Py_None
;
14147 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14148 resultobj
= t_output_helper(resultobj
,o
);
14151 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14152 resultobj
= t_output_helper(resultobj
,o
);
14160 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxDC
*arg1
= (wxDC
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 PyObject
* obj2
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self",(char *) "x",(char *) "y", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 arg2
= (double) SWIG_AsDouble(obj1
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14177 arg3
= (double) SWIG_AsDouble(obj2
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 (arg1
)->SetUserScale(arg2
,arg3
);
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 Py_INCREF(Py_None
); resultobj
= Py_None
;
14193 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxDC
*arg1
= (wxDC
*) 0 ;
14196 double *arg2
= (double *) 0 ;
14197 double *arg3
= (double *) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 (arg1
)->GetLogicalScale(arg2
,arg3
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 Py_INCREF(Py_None
); resultobj
= Py_None
;
14219 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14220 resultobj
= t_output_helper(resultobj
,o
);
14223 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14224 resultobj
= t_output_helper(resultobj
,o
);
14232 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxDC
*arg1
= (wxDC
*) 0 ;
14237 PyObject
* obj0
= 0 ;
14238 PyObject
* obj1
= 0 ;
14239 PyObject
* obj2
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "x",(char *) "y", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14247 arg2
= (double) SWIG_AsDouble(obj1
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14249 arg3
= (double) SWIG_AsDouble(obj2
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 (arg1
)->SetLogicalScale(arg2
,arg3
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 Py_INCREF(Py_None
); resultobj
= Py_None
;
14265 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxDC
*arg1
= (wxDC
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 wxPoint
* resultptr
;
14286 resultptr
= new wxPoint((wxPoint
&) result
);
14287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14295 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxDC
*arg1
= (wxDC
*) 0 ;
14298 int *arg2
= (int *) 0 ;
14299 int *arg3
= (int *) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14322 resultobj
= t_output_helper(resultobj
,o
);
14325 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14326 resultobj
= t_output_helper(resultobj
,o
);
14334 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxDC
*arg1
= (wxDC
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 PyObject
* obj1
= 0 ;
14341 PyObject
* obj2
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self",(char *) "x",(char *) "y", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 arg2
= (int) SWIG_AsInt(obj1
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14351 arg3
= (int) SWIG_AsInt(obj2
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 Py_INCREF(Py_None
); resultobj
= Py_None
;
14367 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxDC
*arg1
= (wxDC
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14387 wxPoint
* resultptr
;
14388 resultptr
= new wxPoint((wxPoint
&) result
);
14389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14397 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxDC
*arg1
= (wxDC
*) 0 ;
14400 int *arg2
= (int *) 0 ;
14401 int *arg3
= (int *) 0 ;
14404 PyObject
* obj0
= 0 ;
14405 char *kwnames
[] = {
14406 (char *) "self", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 Py_INCREF(Py_None
); resultobj
= Py_None
;
14423 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14424 resultobj
= t_output_helper(resultobj
,o
);
14427 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14428 resultobj
= t_output_helper(resultobj
,o
);
14436 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxDC
*arg1
= (wxDC
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 PyObject
* obj2
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "self",(char *) "x",(char *) "y", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14451 arg2
= (int) SWIG_AsInt(obj1
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14453 arg3
= (int) SWIG_AsInt(obj2
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 Py_INCREF(Py_None
); resultobj
= Py_None
;
14469 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxDC
*arg1
= (wxDC
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 PyObject
* obj2
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14484 arg2
= (bool) SWIG_AsBool(obj1
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14486 arg3
= (bool) SWIG_AsBool(obj2
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 Py_INCREF(Py_None
); resultobj
= Py_None
;
14502 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxDC
*arg1
= (wxDC
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= SWIG_FromInt((int)result
);
14528 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxDC
*arg1
= (wxDC
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 PyObject
* obj1
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self",(char *) "function", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14541 arg2
= (int) SWIG_AsInt(obj1
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 (arg1
)->SetLogicalFunction(arg2
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 Py_INCREF(Py_None
); resultobj
= Py_None
;
14557 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxDC
*arg1
= (wxDC
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "self",(char *) "opt", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14570 arg2
= (bool) SWIG_AsBool(obj1
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->SetOptimization(arg2
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxDC
*arg1
= (wxDC
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (bool)(arg1
)->GetOptimization();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14614 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxDC
*arg1
= (wxDC
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 PyObject
* obj1
= 0 ;
14621 PyObject
* obj2
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "x",(char *) "y", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14629 arg2
= (int) SWIG_AsInt(obj1
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14631 arg3
= (int) SWIG_AsInt(obj2
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 Py_INCREF(Py_None
); resultobj
= Py_None
;
14647 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxDC
*arg1
= (wxDC
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 (arg1
)->ResetBoundingBox();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 Py_INCREF(Py_None
); resultobj
= Py_None
;
14672 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxDC
*arg1
= (wxDC
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (int)((wxDC
const *)arg1
)->MinX();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_FromInt((int)result
);
14698 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxDC
*arg1
= (wxDC
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (int)((wxDC
const *)arg1
)->MaxX();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_FromInt((int)result
);
14724 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxDC
*arg1
= (wxDC
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= (int)((wxDC
const *)arg1
)->MinY();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= SWIG_FromInt((int)result
);
14750 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxDC
*arg1
= (wxDC
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (int)((wxDC
const *)arg1
)->MaxY();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_FromInt((int)result
);
14776 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxDC
*arg1
= (wxDC
*) 0 ;
14779 int *arg2
= (int *) 0 ;
14780 int *arg3
= (int *) 0 ;
14781 int *arg4
= (int *) 0 ;
14782 int *arg5
= (int *) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 Py_INCREF(Py_None
); resultobj
= Py_None
;
14808 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14809 resultobj
= t_output_helper(resultobj
,o
);
14812 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14813 resultobj
= t_output_helper(resultobj
,o
);
14816 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14817 resultobj
= t_output_helper(resultobj
,o
);
14820 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14821 resultobj
= t_output_helper(resultobj
,o
);
14829 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 wxDC
*arg1
= (wxDC
*) 0 ;
14832 PyObject
*arg2
= (PyObject
*) 0 ;
14833 PyObject
*arg3
= (PyObject
*) 0 ;
14834 PyObject
*arg4
= (PyObject
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 PyObject
* obj2
= 0 ;
14839 PyObject
* obj3
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= result
;
14864 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxDC
*arg1
= (wxDC
*) 0 ;
14867 PyObject
*arg2
= (PyObject
*) 0 ;
14868 PyObject
*arg3
= (PyObject
*) 0 ;
14869 PyObject
*arg4
= (PyObject
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 PyObject
* obj2
= 0 ;
14874 PyObject
* obj3
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= result
;
14899 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxDC
*arg1
= (wxDC
*) 0 ;
14902 PyObject
*arg2
= (PyObject
*) 0 ;
14903 PyObject
*arg3
= (PyObject
*) 0 ;
14904 PyObject
*arg4
= (PyObject
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 PyObject
* obj1
= 0 ;
14908 PyObject
* obj2
= 0 ;
14909 PyObject
* obj3
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= result
;
14934 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxDC
*arg1
= (wxDC
*) 0 ;
14937 PyObject
*arg2
= (PyObject
*) 0 ;
14938 PyObject
*arg3
= (PyObject
*) 0 ;
14939 PyObject
*arg4
= (PyObject
*) 0 ;
14941 PyObject
* obj0
= 0 ;
14942 PyObject
* obj1
= 0 ;
14943 PyObject
* obj2
= 0 ;
14944 PyObject
* obj3
= 0 ;
14945 char *kwnames
[] = {
14946 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= result
;
14969 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxDC
*arg1
= (wxDC
*) 0 ;
14972 PyObject
*arg2
= (PyObject
*) 0 ;
14973 PyObject
*arg3
= (PyObject
*) 0 ;
14974 PyObject
*arg4
= (PyObject
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 PyObject
* obj2
= 0 ;
14979 PyObject
* obj3
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
;
15004 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxDC
*arg1
= (wxDC
*) 0 ;
15007 PyObject
*arg2
= (PyObject
*) 0 ;
15008 PyObject
*arg3
= (PyObject
*) 0 ;
15009 PyObject
*arg4
= (PyObject
*) 0 ;
15010 PyObject
*arg5
= (PyObject
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 PyObject
* obj2
= 0 ;
15015 PyObject
* obj3
= 0 ;
15016 PyObject
* obj4
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= result
;
15042 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15045 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15047 return Py_BuildValue((char *)"");
15049 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxMemoryDC
*result
;
15052 char *kwnames
[] = {
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (wxMemoryDC
*)new wxMemoryDC();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15071 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxDC
*arg1
= (wxDC
*) 0 ;
15074 wxMemoryDC
*result
;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "oldDC", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15097 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15100 wxBitmap
*arg2
= 0 ;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self",(char *) "bitmap", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15113 if (arg2
== NULL
) {
15114 PyErr_SetString(PyExc_TypeError
,"null reference");
15118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15119 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15124 Py_INCREF(Py_None
); resultobj
= Py_None
;
15131 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15134 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15136 return Py_BuildValue((char *)"");
15138 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15139 PyObject
*resultobj
;
15140 wxDC
*arg1
= (wxDC
*) 0 ;
15141 wxBitmap
*arg2
= 0 ;
15142 wxBufferedDC
*result
;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15146 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15152 if (arg2
== NULL
) {
15153 PyErr_SetString(PyExc_TypeError
,"null reference");
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15170 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15171 PyObject
*resultobj
;
15172 wxDC
*arg1
= (wxDC
*) 0 ;
15174 wxBufferedDC
*result
;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15179 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15200 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15205 argc
= PyObject_Length(args
);
15206 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15207 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15213 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15223 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15231 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15239 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15248 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15251 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15256 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15261 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*, PyObject
*args
) {
15262 PyObject
*resultobj
;
15263 wxDC
*arg1
= (wxDC
*) 0 ;
15265 wxBufferedDC
*result
;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15270 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15291 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 Py_INCREF(Py_None
); resultobj
= Py_None
;
15316 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 Py_INCREF(Py_None
); resultobj
= Py_None
;
15341 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15344 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15346 return Py_BuildValue((char *)"");
15348 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxWindow
*arg1
= (wxWindow
*) 0 ;
15351 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15352 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15353 wxBufferedPaintDC
*result
;
15354 PyObject
* obj0
= 0 ;
15355 PyObject
* obj1
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "window",(char *) "buffer", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15367 if (arg2
== NULL
) {
15368 PyErr_SetString(PyExc_TypeError
,"null reference");
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15386 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15389 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15391 return Py_BuildValue((char *)"");
15393 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxScreenDC
*result
;
15396 char *kwnames
[] = {
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (wxScreenDC
*)new wxScreenDC();
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15415 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15418 wxWindow
*arg2
= (wxWindow
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self",(char *) "window", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15447 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15450 wxRect
*arg2
= (wxRect
*) NULL
;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self",(char *) "rect", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15481 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (bool)(arg1
)->EndDrawingOnTop();
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15509 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15512 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15514 return Py_BuildValue((char *)"");
15516 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxWindow
*arg1
= (wxWindow
*) 0 ;
15519 wxClientDC
*result
;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "win", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (wxClientDC
*)new wxClientDC(arg1
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15542 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15545 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15547 return Py_BuildValue((char *)"");
15549 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxWindow
*arg1
= (wxWindow
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "win", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15575 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15578 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15580 return Py_BuildValue((char *)"");
15582 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxWindow
*arg1
= (wxWindow
*) 0 ;
15585 wxWindowDC
*result
;
15586 PyObject
* obj0
= 0 ;
15587 char *kwnames
[] = {
15588 (char *) "win", NULL
15591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15608 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15611 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15613 return Py_BuildValue((char *)"");
15615 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15619 wxMirrorDC
*result
;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "dc",(char *) "mirror", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15630 if (arg1
== NULL
) {
15631 PyErr_SetString(PyExc_TypeError
,"null reference");
15634 arg2
= (bool) SWIG_AsBool(obj1
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15650 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15653 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15655 return Py_BuildValue((char *)"");
15657 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxPrintData
*arg1
= 0 ;
15660 wxPostScriptDC
*result
;
15661 PyObject
* obj0
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "printData", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15670 if (arg1
== NULL
) {
15671 PyErr_SetString(PyExc_TypeError
,"null reference");
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15688 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15691 wxPrintData
*result
;
15692 PyObject
* obj0
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15704 result
= (wxPrintData
*) &_result_ref
;
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15717 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15720 wxPrintData
*arg2
= 0 ;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "data", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15733 if (arg2
== NULL
) {
15734 PyErr_SetString(PyExc_TypeError
,"null reference");
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 Py_INCREF(Py_None
); resultobj
= Py_None
;
15751 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15754 PyObject
* obj0
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "ppi", NULL
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15760 arg1
= (int) SWIG_AsInt(obj0
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 wxPostScriptDC::SetResolution(arg1
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 Py_INCREF(Py_None
); resultobj
= Py_None
;
15776 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15779 char *kwnames
[] = {
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (int)wxPostScriptDC::GetResolution();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= SWIG_FromInt((int)result
);
15798 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
15800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15801 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15803 return Py_BuildValue((char *)"");
15805 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15808 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15809 wxMetaFile
*result
;
15810 bool temp1
= False
;
15811 PyObject
* obj0
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "filename", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15819 arg1
= wxString_in_helper(obj0
);
15820 if (arg1
== NULL
) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15846 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 Py_INCREF(Py_None
); resultobj
= Py_None
;
15871 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (bool)(arg1
)->Ok();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15899 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15902 int arg2
= (int) 0 ;
15903 int arg3
= (int) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 PyObject
* obj2
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self",(char *) "width",(char *) "height", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 arg2
= (int) SWIG_AsInt(obj1
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15920 arg3
= (int) SWIG_AsInt(obj2
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15939 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (arg1
)->GetSize();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 wxSize
* resultptr
;
15960 resultptr
= new wxSize((wxSize
&) result
);
15961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15969 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15973 PyObject
* obj0
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
15979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (int)(arg1
)->GetWidth();
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= SWIG_FromInt((int)result
);
15995 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (int)(arg1
)->GetHeight();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= SWIG_FromInt((int)result
);
16021 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16024 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16026 return Py_BuildValue((char *)"");
16028 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16031 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16032 int arg2
= (int) 0 ;
16033 int arg3
= (int) 0 ;
16034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16036 wxMetaFileDC
*result
;
16037 bool temp1
= False
;
16038 bool temp4
= False
;
16039 PyObject
* obj0
= 0 ;
16040 PyObject
* obj1
= 0 ;
16041 PyObject
* obj2
= 0 ;
16042 PyObject
* obj3
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16050 arg1
= wxString_in_helper(obj0
);
16051 if (arg1
== NULL
) SWIG_fail
;
16056 arg2
= (int) SWIG_AsInt(obj1
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 arg3
= (int) SWIG_AsInt(obj2
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16065 arg4
= wxString_in_helper(obj3
);
16066 if (arg4
== NULL
) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16100 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16103 wxMetaFile
*result
;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (wxMetaFile
*)(arg1
)->Close();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16126 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16129 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16131 return Py_BuildValue((char *)"");
16133 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxPrintData
*arg1
= 0 ;
16136 wxPrinterDC
*result
;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "printData", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16146 if (arg1
== NULL
) {
16147 PyErr_SetString(PyExc_TypeError
,"null reference");
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16164 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16167 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16169 return Py_BuildValue((char *)"");
16171 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16175 int arg3
= (int) True
;
16176 int arg4
= (int) 1 ;
16177 wxImageList
*result
;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 PyObject
* obj2
= 0 ;
16181 PyObject
* obj3
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16187 arg1
= (int) SWIG_AsInt(obj0
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16189 arg2
= (int) SWIG_AsInt(obj1
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 arg3
= (int) SWIG_AsInt(obj2
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16196 arg4
= (int) SWIG_AsInt(obj3
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= wxPyMake_wxObject(result
);
16215 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxImageList
*arg1
= (wxImageList
*) 0 ;
16218 PyObject
* obj0
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 Py_INCREF(Py_None
); resultobj
= Py_None
;
16240 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxImageList
*arg1
= (wxImageList
*) 0 ;
16243 wxBitmap
*arg2
= 0 ;
16244 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16245 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 PyObject
* obj2
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16260 if (arg2
== NULL
) {
16261 PyErr_SetString(PyExc_TypeError
,"null reference");
16265 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16268 if (arg3
== NULL
) {
16269 PyErr_SetString(PyExc_TypeError
,"null reference");
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= SWIG_FromInt((int)result
);
16287 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxImageList
*arg1
= (wxImageList
*) 0 ;
16290 wxBitmap
*arg2
= 0 ;
16291 wxColour
*arg3
= 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 char *kwnames
[] = {
16298 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16307 if (arg2
== NULL
) {
16308 PyErr_SetString(PyExc_TypeError
,"null reference");
16313 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_FromInt((int)result
);
16329 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxImageList
*arg1
= (wxImageList
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "icon", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16346 if (arg2
== NULL
) {
16347 PyErr_SetString(PyExc_TypeError
,"null reference");
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= SWIG_FromInt((int)result
);
16364 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxImageList
*arg1
= (wxImageList
*) 0 ;
16368 wxBitmap
*arg3
= 0 ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 PyObject
* obj2
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 arg2
= (int) SWIG_AsInt(obj1
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16382 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16385 if (arg3
== NULL
) {
16386 PyErr_SetString(PyExc_TypeError
,"null reference");
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16405 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxImageList
*arg1
= (wxImageList
*) 0 ;
16412 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16413 bool arg7
= (bool) (bool)False
;
16415 PyObject
* obj0
= 0 ;
16416 PyObject
* obj1
= 0 ;
16417 PyObject
* obj2
= 0 ;
16418 PyObject
* obj3
= 0 ;
16419 PyObject
* obj4
= 0 ;
16420 PyObject
* obj5
= 0 ;
16421 PyObject
* obj6
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16429 arg2
= (int) SWIG_AsInt(obj1
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16431 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16434 if (arg3
== NULL
) {
16435 PyErr_SetString(PyExc_TypeError
,"null reference");
16438 arg4
= (int) SWIG_AsInt(obj3
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16440 arg5
= (int) SWIG_AsInt(obj4
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 arg6
= (int) SWIG_AsInt(obj5
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16447 arg7
= (bool const) SWIG_AsBool(obj6
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16466 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxImageList
*arg1
= (wxImageList
*) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (int)(arg1
)->GetImageCount();
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_FromInt((int)result
);
16492 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxImageList
*arg1
= (wxImageList
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "index", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16506 arg2
= (int) SWIG_AsInt(obj1
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (bool)(arg1
)->Remove(arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16524 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxImageList
*arg1
= (wxImageList
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (bool)(arg1
)->RemoveAll();
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16552 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxImageList
*arg1
= (wxImageList
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self",(char *) "index", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 arg2
= (int) SWIG_AsInt(obj1
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 Py_INCREF(Py_None
); resultobj
= Py_None
;
16582 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16583 resultobj
= t_output_helper(resultobj
,o
);
16586 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16587 resultobj
= t_output_helper(resultobj
,o
);
16595 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16598 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16600 return Py_BuildValue((char *)"");
16602 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16603 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16608 static PyObject
*_wrap_NORMAL_FONT_get() {
16611 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16616 static int _wrap_SMALL_FONT_set(PyObject
*) {
16617 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16622 static PyObject
*_wrap_SMALL_FONT_get() {
16625 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16630 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16631 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16636 static PyObject
*_wrap_ITALIC_FONT_get() {
16639 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16644 static int _wrap_SWISS_FONT_set(PyObject
*) {
16645 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16650 static PyObject
*_wrap_SWISS_FONT_get() {
16653 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16658 static int _wrap_RED_PEN_set(PyObject
*) {
16659 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16664 static PyObject
*_wrap_RED_PEN_get() {
16667 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16672 static int _wrap_CYAN_PEN_set(PyObject
*) {
16673 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16678 static PyObject
*_wrap_CYAN_PEN_get() {
16681 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16686 static int _wrap_GREEN_PEN_set(PyObject
*) {
16687 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16692 static PyObject
*_wrap_GREEN_PEN_get() {
16695 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16700 static int _wrap_BLACK_PEN_set(PyObject
*) {
16701 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16706 static PyObject
*_wrap_BLACK_PEN_get() {
16709 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16714 static int _wrap_WHITE_PEN_set(PyObject
*) {
16715 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16720 static PyObject
*_wrap_WHITE_PEN_get() {
16723 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16728 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16729 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16734 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16737 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16742 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16743 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16748 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16751 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16756 static int _wrap_GREY_PEN_set(PyObject
*) {
16757 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16762 static PyObject
*_wrap_GREY_PEN_get() {
16765 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16770 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16771 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16776 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16779 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16784 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16785 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16790 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16793 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16798 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16799 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16804 static PyObject
*_wrap_BLUE_BRUSH_get() {
16807 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16812 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16813 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16818 static PyObject
*_wrap_GREEN_BRUSH_get() {
16821 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16826 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16827 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16832 static PyObject
*_wrap_WHITE_BRUSH_get() {
16835 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16840 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16841 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16846 static PyObject
*_wrap_BLACK_BRUSH_get() {
16849 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16854 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16855 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16860 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16863 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16868 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16869 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16874 static PyObject
*_wrap_CYAN_BRUSH_get() {
16877 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16882 static int _wrap_RED_BRUSH_set(PyObject
*) {
16883 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16888 static PyObject
*_wrap_RED_BRUSH_get() {
16891 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16896 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16897 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16902 static PyObject
*_wrap_GREY_BRUSH_get() {
16905 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16910 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16911 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16916 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16919 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16924 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16925 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16930 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16933 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16938 static int _wrap_BLACK_set(PyObject
*) {
16939 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16944 static PyObject
*_wrap_BLACK_get() {
16947 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
16952 static int _wrap_WHITE_set(PyObject
*) {
16953 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16958 static PyObject
*_wrap_WHITE_get() {
16961 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
16966 static int _wrap_RED_set(PyObject
*) {
16967 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16972 static PyObject
*_wrap_RED_get() {
16975 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
16980 static int _wrap_BLUE_set(PyObject
*) {
16981 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16986 static PyObject
*_wrap_BLUE_get() {
16989 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
16994 static int _wrap_GREEN_set(PyObject
*) {
16995 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17000 static PyObject
*_wrap_GREEN_get() {
17003 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17008 static int _wrap_CYAN_set(PyObject
*) {
17009 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17014 static PyObject
*_wrap_CYAN_get() {
17017 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17022 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17023 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17028 static PyObject
*_wrap_LIGHT_GREY_get() {
17031 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17036 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17037 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17042 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17045 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17050 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17051 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17056 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17059 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17064 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17065 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17070 static PyObject
*_wrap_CROSS_CURSOR_get() {
17073 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17078 static int _wrap_NullBitmap_set(PyObject
*) {
17079 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17084 static PyObject
*_wrap_NullBitmap_get() {
17087 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17092 static int _wrap_NullIcon_set(PyObject
*) {
17093 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17098 static PyObject
*_wrap_NullIcon_get() {
17101 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17106 static int _wrap_NullCursor_set(PyObject
*) {
17107 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17112 static PyObject
*_wrap_NullCursor_get() {
17115 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17120 static int _wrap_NullPen_set(PyObject
*) {
17121 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17126 static PyObject
*_wrap_NullPen_get() {
17129 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17134 static int _wrap_NullBrush_set(PyObject
*) {
17135 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17140 static PyObject
*_wrap_NullBrush_get() {
17143 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17148 static int _wrap_NullPalette_set(PyObject
*) {
17149 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17154 static PyObject
*_wrap_NullPalette_get() {
17157 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17162 static int _wrap_NullFont_set(PyObject
*) {
17163 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17168 static PyObject
*_wrap_NullFont_get() {
17171 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17176 static int _wrap_NullColour_set(PyObject
*) {
17177 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17182 static PyObject
*_wrap_NullColour_get() {
17185 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17190 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxPenList
*arg1
= (wxPenList
*) 0 ;
17193 wxPen
*arg2
= (wxPen
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self",(char *) "pen", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 (arg1
)->AddPen(arg2
);
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 Py_INCREF(Py_None
); resultobj
= Py_None
;
17219 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxPenList
*arg1
= (wxPenList
*) 0 ;
17222 wxColour
*arg2
= 0 ;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 PyObject
* obj2
= 0 ;
17230 PyObject
* obj3
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17240 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17242 arg3
= (int) SWIG_AsInt(obj2
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17244 arg4
= (int) SWIG_AsInt(obj3
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17260 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxPenList
*arg1
= (wxPenList
*) 0 ;
17263 wxPen
*arg2
= (wxPen
*) 0 ;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self",(char *) "pen", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->RemovePen(arg2
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 Py_INCREF(Py_None
); resultobj
= Py_None
;
17289 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxPenList
*arg1
= (wxPenList
*) 0 ;
17293 PyObject
* obj0
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= (int)(arg1
)->GetCount();
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_FromInt((int)result
);
17315 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17318 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17320 return Py_BuildValue((char *)"");
17322 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17325 wxBrush
*arg2
= (wxBrush
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "brush", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 (arg1
)->AddBrush(arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 Py_INCREF(Py_None
); resultobj
= Py_None
;
17351 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17354 wxColour
*arg2
= 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 PyObject
* obj2
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "colour",(char *) "style", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17372 arg3
= (int) SWIG_AsInt(obj2
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17388 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17391 wxBrush
*arg2
= (wxBrush
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "brush", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 (arg1
)->RemoveBrush(arg2
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 Py_INCREF(Py_None
); resultobj
= Py_None
;
17417 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (int)(arg1
)->GetCount();
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= SWIG_FromInt((int)result
);
17443 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17446 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17448 return Py_BuildValue((char *)"");
17450 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxColourDatabase
*result
;
17453 char *kwnames
[] = {
17457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (wxColourDatabase
*)new wxColourDatabase();
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17472 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 Py_INCREF(Py_None
); resultobj
= Py_None
;
17497 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17500 wxString
*arg2
= 0 ;
17502 bool temp2
= False
;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self",(char *) "name", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17513 arg2
= wxString_in_helper(obj1
);
17514 if (arg2
== NULL
) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 wxColour
* resultptr
;
17526 resultptr
= new wxColour((wxColour
&) result
);
17527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17543 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17546 wxColour
*arg2
= 0 ;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "colour", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17560 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17582 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17585 wxString
*arg2
= 0 ;
17586 wxColour
*arg3
= 0 ;
17587 bool temp2
= False
;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 PyObject
* obj2
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self",(char *) "name",(char *) "colour", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17600 arg2
= wxString_in_helper(obj1
);
17601 if (arg2
== NULL
) SWIG_fail
;
17606 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 Py_INCREF(Py_None
); resultobj
= Py_None
;
17630 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17633 wxString
*arg2
= 0 ;
17637 bool temp2
= False
;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 PyObject
* obj2
= 0 ;
17641 PyObject
* obj3
= 0 ;
17642 PyObject
* obj4
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 arg2
= wxString_in_helper(obj1
);
17652 if (arg2
== NULL
) SWIG_fail
;
17655 arg3
= (int) SWIG_AsInt(obj2
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17657 arg4
= (int) SWIG_AsInt(obj3
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17659 arg5
= (int) SWIG_AsInt(obj4
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 Py_INCREF(Py_None
); resultobj
= Py_None
;
17683 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17686 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17688 return Py_BuildValue((char *)"");
17690 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
;
17692 wxFontList
*arg1
= (wxFontList
*) 0 ;
17693 wxFont
*arg2
= (wxFont
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self",(char *) "font", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 (arg1
)->AddFont(arg2
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 Py_INCREF(Py_None
); resultobj
= Py_None
;
17719 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17721 wxFontList
*arg1
= (wxFontList
*) 0 ;
17726 bool arg6
= (bool) False
;
17727 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17728 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17729 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17731 bool temp7
= False
;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 PyObject
* obj2
= 0 ;
17735 PyObject
* obj3
= 0 ;
17736 PyObject
* obj4
= 0 ;
17737 PyObject
* obj5
= 0 ;
17738 PyObject
* obj6
= 0 ;
17739 PyObject
* obj7
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 arg2
= (int) SWIG_AsInt(obj1
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17749 arg3
= (int) SWIG_AsInt(obj2
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17751 arg4
= (int) SWIG_AsInt(obj3
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17753 arg5
= (int) SWIG_AsInt(obj4
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 arg6
= (bool) SWIG_AsBool(obj5
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17761 arg7
= wxString_in_helper(obj6
);
17762 if (arg7
== NULL
) SWIG_fail
;
17767 arg8
= (wxFontEncoding
) SWIG_AsInt(obj7
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17792 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxFontList
*arg1
= (wxFontList
*) 0 ;
17795 wxFont
*arg2
= (wxFont
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self",(char *) "font", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 (arg1
)->RemoveFont(arg2
);
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 Py_INCREF(Py_None
); resultobj
= Py_None
;
17821 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxFontList
*arg1
= (wxFontList
*) 0 ;
17825 PyObject
* obj0
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (int)(arg1
)->GetCount();
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_FromInt((int)result
);
17847 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17850 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17852 return Py_BuildValue((char *)"");
17854 static int _wrap_TheFontList_set(PyObject
*) {
17855 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17860 static PyObject
*_wrap_TheFontList_get() {
17863 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17868 static int _wrap_ThePenList_set(PyObject
*) {
17869 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17874 static PyObject
*_wrap_ThePenList_get() {
17877 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17882 static int _wrap_TheBrushList_set(PyObject
*) {
17883 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17888 static PyObject
*_wrap_TheBrushList_get() {
17891 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17896 static int _wrap_TheColourDatabase_set(PyObject
*) {
17897 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17902 static PyObject
*_wrap_TheColourDatabase_get() {
17905 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17910 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17913 char *kwnames
[] = {
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (wxEffects
*)new wxEffects();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
17932 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxEffects
*arg1
= (wxEffects
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 wxColour
* resultptr
;
17953 resultptr
= new wxColour((wxColour
&) result
);
17954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17962 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
;
17964 wxEffects
*arg1
= (wxEffects
*) 0 ;
17966 PyObject
* obj0
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17982 wxColour
* resultptr
;
17983 resultptr
= new wxColour((wxColour
&) result
);
17984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17992 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxEffects
*arg1
= (wxEffects
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 char *kwnames
[] = {
17998 (char *) "self", NULL
18001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18012 wxColour
* resultptr
;
18013 resultptr
= new wxColour((wxColour
&) result
);
18014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18022 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxEffects
*arg1
= (wxEffects
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 wxColour
* resultptr
;
18043 resultptr
= new wxColour((wxColour
&) result
);
18044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18052 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxEffects
*arg1
= (wxEffects
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 wxColour
* resultptr
;
18073 resultptr
= new wxColour((wxColour
&) result
);
18074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18082 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxEffects
*arg1
= (wxEffects
*) 0 ;
18085 wxColour
*arg2
= 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "c", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 Py_INCREF(Py_None
); resultobj
= Py_None
;
18114 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxEffects
*arg1
= (wxEffects
*) 0 ;
18117 wxColour
*arg2
= 0 ;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self",(char *) "c", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 Py_INCREF(Py_None
); resultobj
= Py_None
;
18146 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxEffects
*arg1
= (wxEffects
*) 0 ;
18149 wxColour
*arg2
= 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self",(char *) "c", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxEffects
*arg1
= (wxEffects
*) 0 ;
18181 wxColour
*arg2
= 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self",(char *) "c", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18194 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 Py_INCREF(Py_None
); resultobj
= Py_None
;
18210 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 wxEffects
*arg1
= (wxEffects
*) 0 ;
18213 wxColour
*arg2
= 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self",(char *) "c", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 Py_INCREF(Py_None
); resultobj
= Py_None
;
18242 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxEffects
*arg1
= (wxEffects
*) 0 ;
18245 wxColour
*arg2
= 0 ;
18246 wxColour
*arg3
= 0 ;
18247 wxColour
*arg4
= 0 ;
18248 wxColour
*arg5
= 0 ;
18249 wxColour
*arg6
= 0 ;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 PyObject
* obj2
= 0 ;
18258 PyObject
* obj3
= 0 ;
18259 PyObject
* obj4
= 0 ;
18260 PyObject
* obj5
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18274 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18278 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18282 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18286 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18290 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 Py_INCREF(Py_None
); resultobj
= Py_None
;
18302 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 wxEffects
*arg1
= (wxEffects
*) 0 ;
18307 int arg4
= (int) 1 ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 PyObject
* obj2
= 0 ;
18312 PyObject
* obj3
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18323 if (arg2
== NULL
) {
18324 PyErr_SetString(PyExc_TypeError
,"null reference");
18329 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18332 arg4
= (int) SWIG_AsInt(obj3
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 Py_INCREF(Py_None
); resultobj
= Py_None
;
18349 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxEffects
*arg1
= (wxEffects
*) 0 ;
18354 wxBitmap
*arg4
= 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 PyObject
* obj3
= 0 ;
18361 char *kwnames
[] = {
18362 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18370 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18372 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18375 if (arg3
== NULL
) {
18376 PyErr_SetString(PyExc_TypeError
,"null reference");
18379 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18382 if (arg4
== NULL
) {
18383 PyErr_SetString(PyExc_TypeError
,"null reference");
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18402 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18405 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18407 return Py_BuildValue((char *)"");
18409 static PyMethodDef SwigMethods
[] = {
18410 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18411 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18412 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18413 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18414 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18415 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18416 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18417 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18418 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18419 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18420 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18421 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18422 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18423 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18424 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18425 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18426 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18427 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18428 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18429 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18430 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18431 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18432 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18433 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18434 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18435 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18436 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18437 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18438 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18439 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18440 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18441 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18442 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18443 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18444 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18445 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18446 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18447 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18448 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18449 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18450 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18451 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18452 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18453 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18454 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18455 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18456 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18457 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18458 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18459 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18460 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
, NULL
},
18461 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18462 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18463 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18464 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18465 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18466 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18467 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18468 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18469 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18470 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18471 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18472 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18473 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18474 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18475 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18476 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18477 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18478 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18479 { (char *)"new_EmptyBitmap", _wrap_new_EmptyBitmap
, METH_VARARGS
, NULL
},
18480 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18485 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18486 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18492 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18500 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18502 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18503 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18517 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18524 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18525 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18528 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18529 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18532 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18533 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18534 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18538 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18539 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18540 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18541 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18547 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18565 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18579 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18592 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18603 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18606 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18608 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18612 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18632 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18634 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18644 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18648 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18649 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18655 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18668 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18669 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18672 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18677 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18681 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18682 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18684 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18706 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18708 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18716 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18749 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18750 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18753 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18754 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18778 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18842 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18846 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18847 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
, NULL
},
18848 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18850 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18851 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18853 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18858 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18860 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18862 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18864 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18866 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18872 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18880 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18883 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18885 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18897 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18902 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
18907 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
18914 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18918 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
18919 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18922 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18923 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18926 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18931 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18933 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
18934 { NULL
, NULL
, 0, NULL
}
18938 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18940 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18941 return (void *)((wxWindow
*) ((wxControl
*) x
));
18943 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18944 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18946 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18947 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18949 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18950 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18952 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18953 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18955 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18956 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18958 static void *_p_wxPenTo_p_wxObject(void *x
) {
18959 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18961 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18962 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18964 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18965 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18967 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18968 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18970 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18971 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18973 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18976 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18977 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18979 static void *_p_wxIconTo_p_wxObject(void *x
) {
18980 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18982 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18983 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18985 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18986 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18988 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18989 return (void *)((wxObject
*) ((wxSizer
*) x
));
18991 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18992 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18994 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18997 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18998 return (void *)((wxObject
*) ((wxPenList
*) x
));
19000 static void *_p_wxEventTo_p_wxObject(void *x
) {
19001 return (void *)((wxObject
*) ((wxEvent
*) x
));
19003 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19004 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19006 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19007 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19009 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19010 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19012 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19013 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19015 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19016 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19018 static void *_p_wxDCTo_p_wxObject(void *x
) {
19019 return (void *)((wxObject
*) ((wxDC
*) x
));
19021 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19022 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19024 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19025 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19027 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19030 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19033 static void *_p_wxControlTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19036 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19039 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19042 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19045 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19048 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19051 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19054 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19057 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19060 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) ((wxEffects
*) x
));
19063 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19066 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19069 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19072 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19075 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19078 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19081 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19084 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19087 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19090 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19093 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19096 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19099 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19102 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19105 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19108 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19111 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19114 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19117 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19120 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19123 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19126 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19129 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19132 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19135 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19138 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19141 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19144 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19147 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19150 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19153 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19156 static void *_p_wxImageTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) ((wxImage
*) x
));
19159 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19162 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19165 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19168 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) ((wxImageList
*) x
));
19171 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19174 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19177 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19180 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19183 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19184 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19186 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19187 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19189 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19190 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19192 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19193 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19195 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19198 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19199 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19201 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19202 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19204 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19205 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19207 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19208 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19210 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19211 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19213 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19214 return (void *)((wxObject
*) ((wxMask
*) x
));
19216 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19219 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19220 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19222 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19225 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19226 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19228 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19229 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19231 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19232 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19234 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19235 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19237 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19238 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19240 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19241 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19243 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19244 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19246 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19249 static void *_p_wxFontTo_p_wxObject(void *x
) {
19250 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19252 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19253 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19255 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19256 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19258 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19261 static void *_p_wxColourTo_p_wxObject(void *x
) {
19262 return (void *)((wxObject
*) ((wxColour
*) x
));
19264 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19265 return (void *)((wxObject
*) ((wxFontList
*) x
));
19267 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19270 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19271 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19273 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19274 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19276 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19277 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19279 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19280 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19282 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19283 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19285 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19286 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19288 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19289 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19291 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19292 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19294 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19295 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19297 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19298 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19300 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19301 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19303 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19304 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19306 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19307 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19309 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19310 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19312 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19313 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19315 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19316 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19318 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19319 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19321 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19322 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19324 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19325 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19327 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19328 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19330 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19331 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19333 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19334 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19336 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19337 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19339 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}};
19340 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}};
19341 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}};
19342 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}};
19343 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}};
19344 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}};
19345 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}};
19346 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}};
19347 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}};
19348 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}};
19349 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}};
19350 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}};
19351 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}};
19352 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}};
19353 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}};
19354 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}};
19355 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}};
19356 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}};
19357 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}};
19358 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}};
19359 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}};
19360 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}};
19361 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}};
19362 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}};
19363 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}};
19364 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}};
19365 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}};
19366 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}};
19367 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}};
19368 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}};
19369 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}};
19370 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}};
19371 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}};
19372 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}};
19373 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}};
19374 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}};
19375 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}};
19376 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}};
19377 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}};
19378 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}};
19379 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}};
19380 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}};
19381 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}};
19382 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}};
19383 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}};
19384 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}};
19385 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}};
19386 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}};
19387 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}};
19388 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}};
19389 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}};
19390 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}};
19391 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}};
19392 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}};
19393 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}};
19394 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}};
19396 static swig_type_info
*swig_types_initial
[] = {
19397 _swigt__p_wxPostScriptDC
,
19399 _swigt__p_wxColour
,
19401 _swigt__p_wxMirrorDC
,
19403 _swigt__p_wxPyFontEnumerator
,
19405 _swigt__p_wxIconLocation
,
19407 _swigt__p_wxMetaFileDC
,
19411 _swigt__p_wxWindow
,
19413 _swigt__p_wxMemoryDC
,
19414 _swigt__p_wxFontMapper
,
19415 _swigt__p_wxEffects
,
19416 _swigt__p_wxNativeEncodingInfo
,
19417 _swigt__p_wxPalette
,
19418 _swigt__p_wxBitmap
,
19419 _swigt__p_wxObject
,
19420 _swigt__p_wxRegionIterator
,
19422 _swigt__p_wxString
,
19423 _swigt__p_wxPrinterDC
,
19424 _swigt__p_wxIconBundle
,
19427 _swigt__p_wxScreenDC
,
19428 _swigt__p_wxCursor
,
19429 _swigt__p_wxClientDC
,
19430 _swigt__p_wxBufferedDC
,
19431 _swigt__p_wxImageList
,
19432 _swigt__p_unsigned_char
,
19433 _swigt__p_wxGDIObject
,
19435 _swigt__p_wxLocale
,
19436 _swigt__p_wxRegion
,
19437 _swigt__p_wxConfigBase
,
19438 _swigt__p_wxLanguageInfo
,
19439 _swigt__p_wxWindowDC
,
19440 _swigt__p_wxPrintData
,
19441 _swigt__p_wxBrushList
,
19442 _swigt__p_wxFontList
,
19444 _swigt__p_wxBufferedPaintDC
,
19445 _swigt__p_wxPaintDC
,
19446 _swigt__p_wxPenList
,
19449 _swigt__p_wxMetaFile
,
19450 _swigt__p_wxNativeFontInfo
,
19451 _swigt__p_wxEncodingConverter
,
19452 _swigt__p_wxColourDatabase
,
19457 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19459 static swig_const_info swig_const_table
[] = {
19460 {0, 0, 0, 0.0, 0, 0}};
19469 SWIGEXPORT(void) SWIG_init(void) {
19470 static PyObject
*SWIG_globals
= 0;
19471 static int typeinit
= 0;
19474 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19475 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19476 d
= PyModule_GetDict(m
);
19479 for (i
= 0; swig_types_initial
[i
]; i
++) {
19480 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19484 SWIG_InstallConstants(d
,swig_const_table
);
19486 PyDict_SetItemString(d
,"OutRegion", SWIG_FromInt((int)wxOutRegion
));
19487 PyDict_SetItemString(d
,"PartRegion", SWIG_FromInt((int)wxPartRegion
));
19488 PyDict_SetItemString(d
,"InRegion", SWIG_FromInt((int)wxInRegion
));
19489 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_FromInt((int)wxFONTFAMILY_DEFAULT
));
19490 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19491 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_FromInt((int)wxFONTFAMILY_ROMAN
));
19492 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_FromInt((int)wxFONTFAMILY_SCRIPT
));
19493 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_FromInt((int)wxFONTFAMILY_SWISS
));
19494 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_FromInt((int)wxFONTFAMILY_MODERN
));
19495 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_FromInt((int)wxFONTFAMILY_TELETYPE
));
19496 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_FromInt((int)wxFONTFAMILY_MAX
));
19497 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19498 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_FromInt((int)wxFONTSTYLE_NORMAL
));
19499 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_FromInt((int)wxFONTSTYLE_ITALIC
));
19500 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_FromInt((int)wxFONTSTYLE_SLANT
));
19501 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_FromInt((int)wxFONTSTYLE_MAX
));
19502 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_FromInt((int)wxFONTWEIGHT_NORMAL
));
19503 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_FromInt((int)wxFONTWEIGHT_LIGHT
));
19504 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_FromInt((int)wxFONTWEIGHT_BOLD
));
19505 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_FromInt((int)wxFONTWEIGHT_MAX
));
19506 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_FromInt((int)wxFONTFLAG_DEFAULT
));
19507 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_FromInt((int)wxFONTFLAG_ITALIC
));
19508 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_FromInt((int)wxFONTFLAG_SLANT
));
19509 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_FromInt((int)wxFONTFLAG_LIGHT
));
19510 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_FromInt((int)wxFONTFLAG_BOLD
));
19511 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19512 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19513 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_FromInt((int)wxFONTFLAG_UNDERLINED
));
19514 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19515 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_FromInt((int)wxFONTFLAG_MASK
));
19516 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_FromInt((int)wxFONTENCODING_SYSTEM
));
19517 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_FromInt((int)wxFONTENCODING_DEFAULT
));
19518 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_FromInt((int)wxFONTENCODING_ISO8859_1
));
19519 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_FromInt((int)wxFONTENCODING_ISO8859_2
));
19520 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_FromInt((int)wxFONTENCODING_ISO8859_3
));
19521 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_FromInt((int)wxFONTENCODING_ISO8859_4
));
19522 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_FromInt((int)wxFONTENCODING_ISO8859_5
));
19523 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_FromInt((int)wxFONTENCODING_ISO8859_6
));
19524 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_FromInt((int)wxFONTENCODING_ISO8859_7
));
19525 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_FromInt((int)wxFONTENCODING_ISO8859_8
));
19526 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_FromInt((int)wxFONTENCODING_ISO8859_9
));
19527 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_FromInt((int)wxFONTENCODING_ISO8859_10
));
19528 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_FromInt((int)wxFONTENCODING_ISO8859_11
));
19529 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_FromInt((int)wxFONTENCODING_ISO8859_12
));
19530 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_FromInt((int)wxFONTENCODING_ISO8859_13
));
19531 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_FromInt((int)wxFONTENCODING_ISO8859_14
));
19532 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_FromInt((int)wxFONTENCODING_ISO8859_15
));
19533 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19534 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_FromInt((int)wxFONTENCODING_KOI8
));
19535 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_FromInt((int)wxFONTENCODING_KOI8_U
));
19536 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19537 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_FromInt((int)wxFONTENCODING_BULGARIAN
));
19538 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_FromInt((int)wxFONTENCODING_CP437
));
19539 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_FromInt((int)wxFONTENCODING_CP850
));
19540 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_FromInt((int)wxFONTENCODING_CP852
));
19541 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_FromInt((int)wxFONTENCODING_CP855
));
19542 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_FromInt((int)wxFONTENCODING_CP866
));
19543 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_FromInt((int)wxFONTENCODING_CP874
));
19544 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_FromInt((int)wxFONTENCODING_CP932
));
19545 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_FromInt((int)wxFONTENCODING_CP936
));
19546 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_FromInt((int)wxFONTENCODING_CP949
));
19547 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_FromInt((int)wxFONTENCODING_CP950
));
19548 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_FromInt((int)wxFONTENCODING_CP1250
));
19549 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_FromInt((int)wxFONTENCODING_CP1251
));
19550 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_FromInt((int)wxFONTENCODING_CP1252
));
19551 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_FromInt((int)wxFONTENCODING_CP1253
));
19552 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_FromInt((int)wxFONTENCODING_CP1254
));
19553 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_FromInt((int)wxFONTENCODING_CP1255
));
19554 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_FromInt((int)wxFONTENCODING_CP1256
));
19555 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_FromInt((int)wxFONTENCODING_CP1257
));
19556 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_FromInt((int)wxFONTENCODING_CP12_MAX
));
19557 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_FromInt((int)wxFONTENCODING_UTF7
));
19558 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_FromInt((int)wxFONTENCODING_UTF8
));
19559 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_FromInt((int)wxFONTENCODING_EUC_JP
));
19560 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_FromInt((int)wxFONTENCODING_UTF16BE
));
19561 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_FromInt((int)wxFONTENCODING_UTF16LE
));
19562 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_FromInt((int)wxFONTENCODING_UTF32BE
));
19563 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_FromInt((int)wxFONTENCODING_UTF32LE
));
19564 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_FromInt((int)wxFONTENCODING_MACROMAN
));
19565 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19566 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19567 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_FromInt((int)wxFONTENCODING_MACKOREAN
));
19568 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_FromInt((int)wxFONTENCODING_MACARABIC
));
19569 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_FromInt((int)wxFONTENCODING_MACHEBREW
));
19570 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_FromInt((int)wxFONTENCODING_MACGREEK
));
19571 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19572 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19573 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19574 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19575 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_FromInt((int)wxFONTENCODING_MACORIYA
));
19576 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_FromInt((int)wxFONTENCODING_MACBENGALI
));
19577 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_FromInt((int)wxFONTENCODING_MACTAMIL
));
19578 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_FromInt((int)wxFONTENCODING_MACTELUGU
));
19579 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_FromInt((int)wxFONTENCODING_MACKANNADA
));
19580 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19581 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19582 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_FromInt((int)wxFONTENCODING_MACBURMESE
));
19583 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_FromInt((int)wxFONTENCODING_MACKHMER
));
19584 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_FromInt((int)wxFONTENCODING_MACTHAI
));
19585 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19586 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19587 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19588 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19589 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19590 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19591 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19592 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19593 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19594 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19595 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19596 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19597 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_FromInt((int)wxFONTENCODING_MACTURKISH
));
19598 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19599 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19600 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19601 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_FromInt((int)wxFONTENCODING_MACCELTIC
));
19602 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_FromInt((int)wxFONTENCODING_MACGAELIC
));
19603 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19604 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_FromInt((int)wxFONTENCODING_MACMIN
));
19605 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_FromInt((int)wxFONTENCODING_MACMAX
));
19606 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_FromInt((int)wxFONTENCODING_MAX
));
19607 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_FromInt((int)wxFONTENCODING_UTF16
));
19608 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_FromInt((int)wxFONTENCODING_UTF32
));
19609 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_FromInt((int)wxFONTENCODING_UNICODE
));
19610 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_FromInt((int)wxFONTENCODING_GB2312
));
19611 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_FromInt((int)wxFONTENCODING_BIG5
));
19612 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19614 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19616 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_FromInt((int)wxLANGUAGE_DEFAULT
));
19617 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_FromInt((int)wxLANGUAGE_UNKNOWN
));
19618 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19619 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_FromInt((int)wxLANGUAGE_AFAR
));
19620 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19621 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_FromInt((int)wxLANGUAGE_ALBANIAN
));
19622 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_FromInt((int)wxLANGUAGE_AMHARIC
));
19623 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_FromInt((int)wxLANGUAGE_ARABIC
));
19624 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19625 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19626 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19627 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19628 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19629 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19630 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19631 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19632 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19633 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19634 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19635 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19636 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19637 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19638 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19639 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19640 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19641 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_FromInt((int)wxLANGUAGE_ARMENIAN
));
19642 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_FromInt((int)wxLANGUAGE_ASSAMESE
));
19643 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_FromInt((int)wxLANGUAGE_AYMARA
));
19644 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_FromInt((int)wxLANGUAGE_AZERI
));
19645 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19646 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19647 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_FromInt((int)wxLANGUAGE_BASHKIR
));
19648 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_FromInt((int)wxLANGUAGE_BASQUE
));
19649 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19650 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_FromInt((int)wxLANGUAGE_BENGALI
));
19651 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_FromInt((int)wxLANGUAGE_BHUTANI
));
19652 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_FromInt((int)wxLANGUAGE_BIHARI
));
19653 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_FromInt((int)wxLANGUAGE_BISLAMA
));
19654 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_FromInt((int)wxLANGUAGE_BRETON
));
19655 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_FromInt((int)wxLANGUAGE_BULGARIAN
));
19656 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_FromInt((int)wxLANGUAGE_BURMESE
));
19657 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19658 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_FromInt((int)wxLANGUAGE_CATALAN
));
19659 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_FromInt((int)wxLANGUAGE_CHINESE
));
19660 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19661 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19662 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19663 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19664 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19665 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19666 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_FromInt((int)wxLANGUAGE_CORSICAN
));
19667 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_CROATIAN
));
19668 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_FromInt((int)wxLANGUAGE_CZECH
));
19669 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_FromInt((int)wxLANGUAGE_DANISH
));
19670 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_FromInt((int)wxLANGUAGE_DUTCH
));
19671 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19672 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_FromInt((int)wxLANGUAGE_ENGLISH
));
19673 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19674 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19675 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19676 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19677 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19678 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19679 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19680 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19681 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19682 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19683 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19684 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19685 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19686 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19687 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19688 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_FromInt((int)wxLANGUAGE_ESPERANTO
));
19689 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_FromInt((int)wxLANGUAGE_ESTONIAN
));
19690 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_FromInt((int)wxLANGUAGE_FAEROESE
));
19691 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_FromInt((int)wxLANGUAGE_FARSI
));
19692 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_FromInt((int)wxLANGUAGE_FIJI
));
19693 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_FromInt((int)wxLANGUAGE_FINNISH
));
19694 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_FromInt((int)wxLANGUAGE_FRENCH
));
19695 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19696 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19697 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19698 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19699 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19700 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_FromInt((int)wxLANGUAGE_FRISIAN
));
19701 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_FromInt((int)wxLANGUAGE_GALICIAN
));
19702 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_FromInt((int)wxLANGUAGE_GEORGIAN
));
19703 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN
));
19704 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19705 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19706 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19707 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19708 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19709 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_FromInt((int)wxLANGUAGE_GREEK
));
19710 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19711 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_FromInt((int)wxLANGUAGE_GUARANI
));
19712 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_FromInt((int)wxLANGUAGE_GUJARATI
));
19713 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_FromInt((int)wxLANGUAGE_HAUSA
));
19714 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_FromInt((int)wxLANGUAGE_HEBREW
));
19715 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_FromInt((int)wxLANGUAGE_HINDI
));
19716 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19717 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_FromInt((int)wxLANGUAGE_ICELANDIC
));
19718 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_FromInt((int)wxLANGUAGE_INDONESIAN
));
19719 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19720 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19721 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_FromInt((int)wxLANGUAGE_INUKTITUT
));
19722 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_FromInt((int)wxLANGUAGE_INUPIAK
));
19723 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_FromInt((int)wxLANGUAGE_IRISH
));
19724 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_FromInt((int)wxLANGUAGE_ITALIAN
));
19725 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19726 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_FromInt((int)wxLANGUAGE_JAPANESE
));
19727 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_FromInt((int)wxLANGUAGE_JAVANESE
));
19728 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_FromInt((int)wxLANGUAGE_KANNADA
));
19729 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI
));
19730 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19731 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_FromInt((int)wxLANGUAGE_KAZAKH
));
19732 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_FromInt((int)wxLANGUAGE_KERNEWEK
));
19733 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19734 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19735 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_FromInt((int)wxLANGUAGE_KIRUNDI
));
19736 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_FromInt((int)wxLANGUAGE_KONKANI
));
19737 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_FromInt((int)wxLANGUAGE_KOREAN
));
19738 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_FromInt((int)wxLANGUAGE_KURDISH
));
19739 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19740 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_FromInt((int)wxLANGUAGE_LATIN
));
19741 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_FromInt((int)wxLANGUAGE_LATVIAN
));
19742 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_FromInt((int)wxLANGUAGE_LINGALA
));
19743 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19744 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19745 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_FromInt((int)wxLANGUAGE_MALAGASY
));
19746 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_FromInt((int)wxLANGUAGE_MALAY
));
19747 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_FromInt((int)wxLANGUAGE_MALAYALAM
));
19748 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19749 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19750 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_FromInt((int)wxLANGUAGE_MALTESE
));
19751 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_FromInt((int)wxLANGUAGE_MANIPURI
));
19752 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_FromInt((int)wxLANGUAGE_MAORI
));
19753 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_FromInt((int)wxLANGUAGE_MARATHI
));
19754 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19755 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19756 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_FromInt((int)wxLANGUAGE_NAURU
));
19757 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_FromInt((int)wxLANGUAGE_NEPALI
));
19758 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19759 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19760 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19761 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_FromInt((int)wxLANGUAGE_OCCITAN
));
19762 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_FromInt((int)wxLANGUAGE_ORIYA
));
19763 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_FromInt((int)wxLANGUAGE_OROMO
));
19764 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_FromInt((int)wxLANGUAGE_PASHTO
));
19765 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_FromInt((int)wxLANGUAGE_POLISH
));
19766 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19767 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19768 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_FromInt((int)wxLANGUAGE_PUNJABI
));
19769 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_FromInt((int)wxLANGUAGE_QUECHUA
));
19770 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19771 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_FromInt((int)wxLANGUAGE_ROMANIAN
));
19772 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN
));
19773 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19774 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_FromInt((int)wxLANGUAGE_SAMOAN
));
19775 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_FromInt((int)wxLANGUAGE_SANGHO
));
19776 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_FromInt((int)wxLANGUAGE_SANSKRIT
));
19777 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19778 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN
));
19779 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19780 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19781 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19782 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_FromInt((int)wxLANGUAGE_SESOTHO
));
19783 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_FromInt((int)wxLANGUAGE_SETSWANA
));
19784 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_FromInt((int)wxLANGUAGE_SHONA
));
19785 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_FromInt((int)wxLANGUAGE_SINDHI
));
19786 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_FromInt((int)wxLANGUAGE_SINHALESE
));
19787 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_FromInt((int)wxLANGUAGE_SISWATI
));
19788 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_FromInt((int)wxLANGUAGE_SLOVAK
));
19789 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19790 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_FromInt((int)wxLANGUAGE_SOMALI
));
19791 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_FromInt((int)wxLANGUAGE_SPANISH
));
19792 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19793 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19794 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19795 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19796 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19797 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19798 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19799 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19800 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19801 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19802 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19803 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19804 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19805 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19806 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19807 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19808 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19809 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19810 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_FromInt((int)wxLANGUAGE_SPANISH_US
));
19811 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19812 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_FromInt((int)wxLANGUAGE_SUNDANESE
));
19813 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_FromInt((int)wxLANGUAGE_SWAHILI
));
19814 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_FromInt((int)wxLANGUAGE_SWEDISH
));
19815 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19816 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_FromInt((int)wxLANGUAGE_TAGALOG
));
19817 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_FromInt((int)wxLANGUAGE_TAJIK
));
19818 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_FromInt((int)wxLANGUAGE_TAMIL
));
19819 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_FromInt((int)wxLANGUAGE_TATAR
));
19820 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_FromInt((int)wxLANGUAGE_TELUGU
));
19821 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_FromInt((int)wxLANGUAGE_THAI
));
19822 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_FromInt((int)wxLANGUAGE_TIBETAN
));
19823 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_FromInt((int)wxLANGUAGE_TIGRINYA
));
19824 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_FromInt((int)wxLANGUAGE_TONGA
));
19825 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_FromInt((int)wxLANGUAGE_TSONGA
));
19826 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_FromInt((int)wxLANGUAGE_TURKISH
));
19827 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_FromInt((int)wxLANGUAGE_TURKMEN
));
19828 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_FromInt((int)wxLANGUAGE_TWI
));
19829 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_FromInt((int)wxLANGUAGE_UIGHUR
));
19830 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19831 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_FromInt((int)wxLANGUAGE_URDU
));
19832 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19833 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19834 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_FromInt((int)wxLANGUAGE_UZBEK
));
19835 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19836 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19837 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19838 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_FromInt((int)wxLANGUAGE_VOLAPUK
));
19839 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_FromInt((int)wxLANGUAGE_WELSH
));
19840 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_FromInt((int)wxLANGUAGE_WOLOF
));
19841 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_FromInt((int)wxLANGUAGE_XHOSA
));
19842 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_FromInt((int)wxLANGUAGE_YIDDISH
));
19843 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_FromInt((int)wxLANGUAGE_YORUBA
));
19844 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_FromInt((int)wxLANGUAGE_ZHUANG
));
19845 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_FromInt((int)wxLANGUAGE_ZULU
));
19846 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19847 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_FromInt((int)wxLOCALE_CAT_NUMBER
));
19848 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_FromInt((int)wxLOCALE_CAT_DATE
));
19849 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_FromInt((int)wxLOCALE_CAT_MONEY
));
19850 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_FromInt((int)wxLOCALE_CAT_MAX
));
19851 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19852 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19853 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19854 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_FromInt((int)wxLOCALE_CONV_ENCODING
));
19855 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_FromInt((int)wxCONVERT_STRICT
));
19856 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_FromInt((int)wxCONVERT_SUBSTITUTE
));
19857 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_FromInt((int)wxPLATFORM_CURRENT
));
19858 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_FromInt((int)wxPLATFORM_UNIX
));
19859 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_FromInt((int)wxPLATFORM_WINDOWS
));
19860 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_FromInt((int)wxPLATFORM_OS2
));
19861 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_FromInt((int)wxPLATFORM_MAC
));
19862 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19863 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19864 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19865 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19866 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_FromInt((int)wxIMAGE_LIST_NORMAL
));
19867 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_FromInt((int)wxIMAGE_LIST_SMALL
));
19868 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_FromInt((int)wxIMAGE_LIST_STATE
));
19869 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19870 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19871 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19872 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19873 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19874 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19875 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19876 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19877 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19878 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19879 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19880 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19881 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19882 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19883 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19884 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19885 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19886 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19887 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19888 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19889 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19890 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19891 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19892 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19893 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19894 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19895 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19896 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19897 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19898 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19899 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19900 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19901 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19902 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19903 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19904 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19905 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19906 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19907 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19908 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19909 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19910 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19911 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19912 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19913 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19914 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19915 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19917 // Work around a chicken/egg problem in drawlist.cpp
19918 wxPyDrawList_SetAPIPtr();